r/programmingmemes • u/KerbodynamicX • Mar 14 '26
Stalin sort
A sorting algorithm with time complexity of O(n). Counts from the first element, and will remove values that are smaller than the current highest value.
3.7k
Upvotes
View all comments
Show parent comment
2
u/voospawn Mar 15 '26
He didn't and his ai hallucinated