Tip 1 : Be Consistent while preparing
Tip 2 : Read Interview experiences
Tip 3 : Practice most asked question on leetcode
Tip 1 : Add previous company experience
Tip 2 : Keep it short and simple
2 coding questions + behaviour questions

You are given, ‘str’ = ‘aabba’, and ‘K’ = 2, The longest substring with each character’s frequency at least ‘K’ is ‘aabba’, whose length is 5. Hence the answer is 5.
count all the subarrays with at most K distinct characters and then subtract all the subarrays with atmost K – 1 characters
coding questions



We have a linked list 1->2->3->4->5->6->7 and so on. You are supposed to swap pairs of a linked list like swap (1,2), (3,4), (5,6), and so on.
1. You may not modify the data in the list’s nodes; only nodes themselves may be changed. Because imagine a case where a node contains many fields, so there will be too much unnecessary swap.
2. If a pair of a node does not exist, then leave the node as it is.
standard linkedlist question



The diameter of a binary tree is the length of the longest path between any two end nodes in a tree.
The number of edges between two nodes represents the length of the path between them.
Input: Consider the given binary tree:

Output: 6
Explanation:
Nodes in the diameter are highlighted. The length of the diameter, i.e., the path length, is 6.
did by recursion
dynamic programming and hashmap question asked



initially solved with dp and then with math trick



firstly solved bruteforce and then optimised the solution with help pf hashmap
Bar raiser round
questions related to previous company experience were asked
Tip 1: Use STAR approach to explain the projects
Tip 2: Be honest
Tip 3: Read Amazon principals before the interview

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?