Problem set has covered all the important approaches for cracking any coding interview . You could easily apply these ideas to solve other similar problems.

Several problems in the set can be solved using more than one approaches . This will help you to understand ideas to improve the time and space complexity.

We recommend to follow these five steps of problem solving :

  1. Understanding the problem
  2. Designing the brute force or basic solution
  3. Improving the time and space complexity
  4. Writing pseudo code on paper and checking boundary conditions
  5. Programming language implementation and running the test cases
If you have any difficulty in solving problems in a topic then we encourage to learn or revise key concepts related to the topic. Key idea of learning algorithm is - Doing practice and never give up!