Idea Generation
Idea generation helps us to solve several problems quickly. For that purpose, we have to go through several examples, build an appropriate data structure and think about similar issues that we have solved.
Problem
New problems arise every day, and it is nearly impossible to remember the solution for all of them. Even if we know the solution, we should opt for the optimal solution. The important question is: how do we solve an unseen problem?
Solution
The solution to this dilemma is to learn a lot. The more we practice, the more weāll be able to answer any unknown issue that pops up in front of us. When weāve solved enough problems, weāll see a trend in the questions and be able to answer previously unknown problems with ease.
Strategy
Weāll follow the strategy outlined below to solve unknown problems:
- Make the job at hand as simple as possible.
- Experiment with a few examples.
- Choose an appropriate data structure.
- Think about similar problems that you have already solved.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.