Collection of problems and solutions of leetcode, geeksforgeeks challenges I solved while preparing for my Google interview.
Very often, I get asked how I prepared for my Google interview. This collection of problems from leetcode, geeksforgeeks was an essential part of the process.
Keep in mind that this is a small part of the entire journey. It does not contain:
- Study materials. You and the interviewer should have a common language for communication. This means that you'd have to have a good understanding of the fundamental computer science terminology.
- Thought process. During the interview, you should explain your thought process and approach the problems in a certain way. To understand this part, I'd recommend you looking at "Cracking the coding interview".
- Some of the solutions in the repo might not be the most optimal ones. Feel free to open a PR with an alternative version.
These are not problems I got on my interviews. These are sample problems from leetcode, geeksforgeeks, which have similar complexity to what you'd get on your interviews.