Skip to main content

Posts

Showing posts with the label python programming

Climbing the leaderboard: a simple yet elegant problem

                                           Introduction:                                       Photo by Ethan Johnson on Unsplash I have recently embarked upon the journey of getting a few stars in my cap by starting small-time coding in hackerrank. While I am only a 3-star noob there yet, I really liked one problem which I solved today. So in this post, we will discuss the solution and speed optimizations I had to implement to solve the problem. The problem description: The problem is climbing the leaderboard . The problem statement is simple. There is a leaderboard, where dense ranking metho...