256

Hitler sort: Delete every odd element.

Comments
  • 14
    Keep every element with blonde hair and blue eyes.
  • 9
    Wouldn't that be the ThanoSort?
  • 0
    Roman sort: delete every tenth element, then tell the rest of them to get their act together or suffer the consequences.
  • 21
    See also: miracle sort
  • 1
    This is genius!! 🤣
  • 1
    You're not supposed to change a list's content while iterating over it. 🤔
  • 1
    @kwilliams Thanos sort is when you delete half the array at random, and check if it is sorted. If it’s not, repeat the process.
  • 1
    @csatacsirke not very reliable, the "sorted" flag could change and that would produce a false positive
  • 0
    Kinda sounds your saying the Hitler’s ideal Arian ethnicity is ‘normal’ and that everyone else is ‘odd.’ So, careful how that comes off. 😬
Add Comment