Tip 1: Religiously prepare DSA if you are targeting Product Based Companies.
Tip 2: Keep the core concepts strong.
Tip 3: Maintain a good CGPA, but don't be too dependent on your college.
Tip 1 : Mention DSA profiles on the resume
Tip 2 : Mention at least 2 projects






2 coding questions to be solved in 70 minutes along with 20 MCQs based on Amazon Leadership Principles.



A mapping from Digits to Letters (just like in Nokia 1100) is shown below. Note that 1 does not map to any letter.

Recursion, Maps



1. The value ‘0’ represents an empty house,
2. The value ‘1’ represents a non-infected person,
3. The value ‘2’ represents an infected person.
It was a face-to-face interview, entirely focused on Data Structures and Algorithms. Three questions were asked based on Dynamic Programming, Graphs, and Binary Search, within a duration of 50 minutes. All the code had to be written on paper, which the interviewer collected at the end. Finally, the interviewer asked if I had any questions.



For ‘N’ = 3, ‘WELLS[]’ = ‘[1,2,2]’, ‘PIPES[]’ = [ [1, 2, 1], [2 , 3, 1]]. The image shows the costs of connecting houses using pipes. The best strategy is to build a well in the first house with cost 1 and connect the other houses to it with cost 2 so the total cost is 3.




Can you solve this using not more than O(S) extra space, where S is the sum of all elements of the given array?
I first told the recursive approach then optimized it using memoization technique.


'nth' root of an integer 'm' is a number, which, when raised to the power 'n', gives 'm' as a result.
Input: ‘n’ = 3, ‘m’ = 27
Output: 3
Explanation:
3rd Root of 27 is 3, as (3)^3 equals 27.
I got stuck on the while condition for some time but later was able to figure it out with the help of the interviewer.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?