There is a time when you are learning a programming language and you feel like it sets you back. The learning curve to a new language is high and one can reach a point of despair. This was during this period that I had been trying to solve the same problems over and over and… Continue reading Jumping on the Clouds
Category: Hackerrank Solutions
Counting Valleys
Absolutely one of my favorite problems. The counting valleys problem is about a hiker who records his steps. The output must be to count the number of valleys the hiker walked through. Two things we had to keep in mind were: A mountain is a sequence of consecutive steps above sea level, starting with a step up from sea level and… Continue reading Counting Valleys
Sales by Match
This was the very first problem I solved in Hackerrank. I did not have any idea about algorithms. I didn’t learn algorithms in school either. What I learned was how to create a class, a function, edit an HTML, all the basics. I was amazed at the first time I encountered a runtime error because… Continue reading Sales by Match