Tip 1 : Practice questions from leetcode, geeksforgeeks
Tip 2 : Focus on skills, internships, projects, and experiences.
Tip 3 :Practice mock interviews before the actual interview
Tip 1 : Have at least 2 good projects mentioned in your resume with a link
Tip 2 : Focus on skills, internships, projects, and experiences.
Tip 3 : Make it simple, crisp, and one page
It was a technical round completely based on Data structure. The interviewer was very friendly and helpful



(Use Sorting)
1) Sort the elements in descending order in O(n*log(n))
2) Print the first k numbers of the sorted array O(k).
It was 2nd technical round completely based on Data structure. The interviewer was very friendly and helpful



If the given array is [1, 3, 2], then you need to return [3, -1, -1]. Because for 1, 3 is the next greater element, for 3 it does not have any greater number to its right, and similarly for 2.
The idea is to use two loops , The outer loop picks all the elements one by one. The inner loop looks for the first greater element for the element picked by the outer loop. If a greater element is found then that element is printed as next, otherwise, -1 is printed.
Follow the steps mentioned below to implement the idea:
Traverse The array from index 0 to end.
For each element start another loop from index i+1 to end.
If a greater element is found in the second loop then print it and break the loop, else print -1.
It was 3rd technical completely based on the Data structure. The interviewer was very friendly and helpful



Input: ‘n’ = 7, ‘prices’ = [100, 80, 60, 70, 60, 75, 85]
Output: [1, 1, 1, 2, 1, 4, 6]
Explanation:
On the sixth day, when the stock price was 75,
The span came out to be 4 because the last three prices(plus today) were less than the current or the sixth day's price.
Similarly, we can deduce the remaining results.
You don’t need to print anything. Just implement the given function
A Stack Based approach :
In this approach, I have used the data structure stack to implement this task.
Here, two stacks are used. One stack stores the actual stock prices whereas, the other stack is a temporary stack.
The stock span problem is solved using only the Push and Pop functions of Stack.
Just to take input values, I have taken array ‘price’ and to store output, used array ‘span’.
It was the 4th technical + HR round completely based on the Data structure taken by two interviewees. The interviewer was very friendly and helpful
Tell me about yourself
Tell me about the most challenging project
Tell me about the basic pillars of OOPs
what are acid properties
Am I ready to relocate to any location in India?
Explain the situation when you deal with a difficult customer
Explain the situation where you made a mistake
Conflict with your manager
Explain your best project
How would you design the Facebook
Tip 1: HR round questions are focused on amazon's leadership principle. Prepare two examples for each principle
Tip 2: Be confident and focus on your communication
Tip 3: Prepare for the behavioral questions from previous interviews experiences

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?