Stupidest ways people have solved coding interviews 😅
@trunarla105K followers
84,215 views
10 Comments
Comments from the original post on X (Twitter)

@theo
Sleep sort the underrated GOAT
126 likes

@animeshsingh38
Haha, that's sleepsort. I actually wrote a blog post on it a while back:
61 likes

@semihmasat
Nah, sleep sort guy was messing with you.
16 likes

@MohakBajaj5
That sleep sort one is just the GOAT. The O(n) for isEven is just crazy 🤣.
14 likes

@flyosity
Oh my god sleep sort is insane
14 likes

@Benathon
Sleep sort. It’s a meme
12 likes

@S0_And_S0
Tip to future applicants, check the last digit of an integer for better performance, ex; function isEven(input) { return Number.isInteger(input) ? (function(input) { const d = input.toString().at(-1); return [0, 2, 4, 6, 8].some(i => i == d); })(input) : false; }
9 likes

@the_Izuchukwu
O(n) for isEven func is crazy work
5 likes

@progenyofadam
Why did the Sleep Sort algorithm think it was the best? Because it literally did nothing & let everyone else finish first.
5 likes

@anthrax0
The second guy basically made a quantum computer in javascript.🧠
5 likes
