I have been trying to solve this problem in Hackerrank for quite a while now.The issue that i am facing is that I being a beginner on reading the question ended up using &qu