Amazon SDE1 Off campus
Written Round
Discussion about my projects (nearly 20 mins)
1. Given an array of positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. (extended to negative numbers)
2.Write a function to print the level order traversal of a binary tree in spiral form.
2nd f2f
Small discussion about my projects
2.Given 2 strings str1 and str2. What is the efficient way to navigate from str1 to str2? The constraints are i) a string can be changed to another string by changing only one character. ii) all the intermediate strings must be present in dictionary. If not possible, return “not possible to navigate from str1 to str2”. (pre-processing is allowed and enough memory is available). for example: str1 = feel and str2 = pelt, then the navigation is feel -> fell -> felt -> pelt (Hint: Graph)
3rd f2f
Discussion about my projects (nearly 20 mins)
1. Given two numbers represented by two linked lists, write a function that returns sum list. The sum list is linked list representation of addition of two input numbers. It is not allowed to modify the lists. Also, not allowed to use explicit extra space.
2. Given a matrix of characters and a string, find whether the string can be obtained from the matrix. From each character in the matrix, we can move up/down/right/left. for example, if the matrix[3][4] is
o f a s l l q w z o w k
and the string is follow, then the function should return true.
4th f2f Hiring Manager
Deep discussion about my current project (nearly 45 mins)
(application architecture, challenges faced and a lot of technical discussion)
1. Write a program to check whether the given binary tree is BST.
5th f2f Bar Raiser
Deep discussion about my current project (challenges faced, etc) nearly 20 mins
Deep discussion on REST api authentications (Hash key vs Encryption & Decryption) nearly 20 mins
1. Given an input string, write a function that returns the compressed string for the input string in INPLACE. (no extra memory) (length of compressed string < = length of input string) For example, if the input string is “aaabcdeeee”, then the function should return “a3b1c1d1e4?. GeeksforGeeks helped me a lot in improving my skills in DS and Algorithms. If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Recommended Posts:
- Amazon Interview Experience | Set 150 (SDE1 for 1 Year Experienced)
- Amazon Interview Experience | Set 259 (1 Yr Experienced for SDE1)
- Amazon Interview Experience | Set 264 (Experienced for SDE1)
- Amazon Interview Experience | Set 347 (1.8 Years Experienced for SDE1)
- Amazon Interview Experience | SDE-1 offcampus
- Amazon Interview Experience Offcampus for SDE-1
- Expedia Interview Experience | Set 7 (4.5 Years Experienced for SDE1)
- OLA Interview Experience | Set 15 (1 Year Experienced for SDE1)
- Mahindra Comviva Interview Experience 2020 (Product/Software Development OffCampus)
- Goldman Sachs Interview for SDE1 position(One year experienced).
- Amazon Interview Experience | Set 185 (For SDE1)
- Amazon Interview | Set 97 (On-Campus for SDE1)
- Amazon interview Experience | Set 141 (For SDE1)
- Amazon Interview Experience | Set 153 (For SDE1)
- Amazon Interview Experience | Set 184 (Off Campus for SDE1)
- Amazon Interview Experience | Set 186 (For SDE1)
- Amazon Interview Experience | Set 187 (For SDE1)
- Amazon Interview Experience | Set 188 (For SDE1)
- Amazon Interview Experience | Set 213 (Off-Campus for SDE1)
- Amazon Interview Experience | Set 254 (Off-Campus for SDE1)


