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 :
- Understanding the problem
- Designing the brute force or basic solution
- Improving the time and space complexity
- Writing pseudo code on paper and checking boundary conditions
- 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!