Job Preparation
The repository contains solutions to various coding interview problems extracted from websites like Leetcode, Hackerrank, Hackearth, Pramp, AlgoExpert & EPI. I've tried to provide the detailed solution and the intution through comments.
These questions are classical problems that are most frequently asked by the tech giants in technical interviews and are not related to hard core competitive coding.
All the code provided inside the repository is purely original and completely my own.
Analysis :
If you solved only eazy and medium problems then your chance for selection is 70 % to 80 % .
Other notes :
DataStructures & Algorithm Problems
Top Questions by Problem category
- Array, Linked List, Stack, Heap, Tree, Queue
- Hash Table
- Binary Search
- Recursion
- Backtracking
- Divide and Conquer
- Greedy Algorithm
- Dynamic Programming
- Graph
Questions by Companies
Competitive Programming Contests
- Hackerrank
- Leetcode
Includes both Biweekly and Weekly contest.
- Google Kickstart
- CodeForces
System Design
General Design Questions:
OOPS Design:
- https://medium.com/@mehulchaturvedi/interview-preparation-roadmap-that-got-me-into-amazon-d357049a0a68
- https://leetcode.com/problems/product-of-array-except-self/
- https://leetcode.com/problems/leftmost-column-with-at-least-a-one/
- https://leetcode.com/problems/employee-free-time/
- https://www.*.org/lowest-common-ancestor-in-a-binary-tree-set-2-using-parent-pointer/
- https://leetcode.com/problems/subarray-sum-equals-k/
- https://leetcode.com/problems/copy-list-with-random-pointer/
- https://leetcode.com/problems/serialize-and-deserialize-binary-tree/
- https://leetcode.com/problems/word-break-ii/
- https://leetcode.com/discuss/interview-question/347374/
- https://leetcode.com/discuss/interview-question/673575/Facebook-or-Phone-or-Task-Scheduler
- https://leetcode.com/problems/task-scheduler/
- https://leetcode.com/problems/target-sum/
- https://leetcode.com/problems/generate-parentheses/
- https://leetcode.com/problems/nth-digit/
- https://leetcode.com/problems/insert-delete-getrandom-o1/
- https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed/
- https://leetcode.com/problems/accounts-merge/
- https://leetcode.com/problems/valid-word-abbreviation/
- https://leetcode.com/problems/candy-crush/
- https://leetcode.com/problems/koko-eating-bananas/
- https://leetcode.com/problems/binary-tree-right-side-view/
- https://leetcode.com/problems/restore-ip-addresses/
- https://leetcode.com/problems/powx-n/
- https://leetcode.com/problems/russian-doll-envelopes/
- https://leetcode.com/problems/walls-and-gates/
- https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
- https://leetcode.com/problems/find-largest-value-in-each-tree-row/
- https://leetcode.com/problems/add-strings/
- https://leetcode.com/problems/combination-sum/
- https://leetcode.com/problems/maximum-swap/
- https://leetcode.com/discuss/interview-question/124823/
- https://leetcode.com/problems/random-pick-with-weight/