r/webdev • u/jacobedawson • Mar 01 '17
Programmers are confessing their coding sins to protest a broken job interview process
https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process
1.4k
Upvotes
2
u/Axumata Mar 02 '17
Yep, but if we replace outer loop with recursively calling the inner loop, it won't change much, except when handling really big arrays:
https://jsperf.com/bubble-sort-recursive-and-iterative-vs-native-sort-1/1