Articles in this series
When to Use DP The problem can be broken down into "overlapping subproblems" - smaller versions of the original problem that are re-used multiple...
Recursion Approaches Top down approach return specific value for null node update the answer if needed // answer <-- params left_ans =...
Has SubSet with sum Given an array A of N integers and a sum S. Can elements of this array, be added in any order to get sum S? each element can be...
Heaps Overview In many computer science applications, we only need to access the largest or smallest element in the dataset. We do not care about the...
My primary language at work is javascript. But I prefer solving interview questions in java. I tend to forget the essentials of Java. So I am storing...
Creational design patterns Singleton design Pattern Use cases Keep track of same driver instance throughout execution. DBMS connectivity. Loading...