r/programming • u/svpino • May 08 '15
Five programming problems every Software Engineer should be able to solve in less than 1 hour
https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k
Upvotes
1
u/Lhopital_rules May 08 '15 edited May 08 '15
I posted this once above, but if I'm not mistaken this solves #4 quite easily in JS:
function largestNum (nums) { return nums.map(String).sort().reverse().join(""); }EDIT: nvm, it's wrong