Ok, this was smart!
Think about the order in which the replace method is being called! How can you do it without switching back the things you have just switched? This one got me for ages. Great challenge.
Love it
AHH so we did not have to convert the array of strings into an array of numbers. D'oh.
Loading collection data...
Ok, this was smart!
Think about the order in which the replace method is being called! How can you do it without switching back the things you have just switched? This one got me for ages. Great challenge.
Love it
AHH so we did not have to convert the array of strings into an array of numbers. D'oh.