76
[R] Stupidest ways people have solved coding interviews
(loops.video)
Posting interesting/cool/funny videos from Loops here
Thanks to @Bluefruit @lemmy.world for the icon and banner!
Discussion of and questions about Loops should go over in !loops@lemmy.world
If the loop you're posting isn't original content uploaded by the creator, prefix the title with [R]
for "reposted". For example, [R] Cute dog
.
Rules:
This is not the reason it isn't useful. The function could just as easily modify an array as print; you could also keep a list (or an atomic integer if that functionality is available) of which have been sorted and spin until it shows that every member has been sorted. Taking n milliseconds to sort an array whose highest element is n, with the cost of all of the thunks, plus the potential for a (very rare) race condition... not so great.
Regardless, I'd hire either of these programmers if there weren't red flags elsewhere.