Print out a tree in horizontal order.
Sde Interview Questions
16,615 sde interview questions shared by candidates
He asken me some DSA questions , mainy about linked list.
Why Amazon? Which leadership principle of Amazon's do you connect with most? Do you know who the Amazon CEO is? ... Tell me about a time you faced a crisis at work. ... Describe [Amazon product or service relevant to the role] as you would to a prospective customer.
minimum substring and trap water problem
Here is something not typical. I had one regular LC question (DP coin change problem) But the second task was uncanny. - I was asked to design a function that given a directory and a type of a file will return the list of the files matching that type. Then as the interview proceeded more constraints and functionality were added. Basically it was checking my skills on writing code with "bigger picture in mind" and refactoring the solution with changes in the requirements.
Count distinct character in substring
What are your previous experiences
Five Leetcode questions: Round-1: 1. Find the depth of a binary tree. 2. Implement a stack with push, pop, top and getMin() functions in constant time. 3. Check if two strings are anagrams or not. Very optimal solutions required instead of brute-force. Round-2: 1. Partition Lables 2. Maximum value between two nodes in a binary search tree.
Will the interviewer join the next call?
Tell me about yourself . . ..
Viewing 911 - 920 interview questions