Sort 2 Discussions, By:
Please Login in order to post a comment
I agree this is far from easy. As we progress in this series the difference in difficulty between the projecteuler.net problem and the hackerrank problem becomes vast. I can solve the first version easily using simple methods and then sweat for days or weeks to meet the performance constraints of the latter, often with a completely different solution approach. This one for example nearly made me quit.
I lost my confidence because this is marked as easy.
Hints for those who come later:
No more comments