Elektrine lite

← Feed

@bandwidthcrisis@lemmy.world

2026-09-01 16:13 UTC

It really does look more broken the more I look. I began to think that it would sort odd and even lists in opposite orders, since half the time it’s comparing pairs the opposite way around.

Replies (1)

  • @14th_cylon@lemmy.zip 2026-09-02 03:29

    it would sort odd and even lists in opposite orders it does. that is why the inequality operator in if A[i] < A[j] then swap A[i] and A[j] is reversed.

    Open ##4601243