The code in this repository exists to complement this series of posts on algorithmic problems.
-
Maximum Profit from K Transactions ( a review of DP)
-
Connecting Cities at Minimum Cost ( a review of priority queues)
-
Optimising Highway Networks ( a review of shortest paths)
Majority of the 28 questions fall within the so-called "Hard" range, but these difficulty labels are sometimes too subjective to be useful. I'd recommend just thinking of them as generic coding challenges.
If you're looking to beef up your algorithmic problem-solving skills, feel free to bookmark this page so that you can visit these challenges anytime.
Various communities (LeetCode, GeeksForGeeks) and materials (EPI, CLRS, MIT OpenCourseWare) were crucial in helping me grasp the intuition behind these problems. Most of what I've written is informed / inspired by the people behind these resources, which I highly recommend for your own learning journey.
Each article begins with an image of Singapore. These shots were taken by talented folks on Unsplash who chose to share their work freely.