can anyone explain why my code for a hacker rank example is timing out. I\'m new to whole idea of efficiency of code based on processing time. The code seems to work on small se