Tip 1 : Make a 1-pager Good Resume including atleast 1 project or previous work experience.
Tip 2 : Regularly Participate in Coding Contests on CodeForces and try to be Expert.
Tip 3 : Start practicing on Leetcode and InterviewBit 1 month before your Placement Drive and try solving approx 300+ questions.
Tip 4 : Contribute time for course subjects also like OS,DBMS,OOPS.
Tip 1 : Keep it 1 page and mention only field specific achievements.(Nothing like Captain of Cricket Team in College)
Tip 2 : Mention atleast 1 project or past work experience.
Tip 3 : Don't try to lie in resume as questions can be asked on the same in depth.
This round was held on Google Meet Video Call at 10 A.M.
There were 2 Interviewers and they were very helpful.
Consider the array {2,1,5,6,3,8} and 'K' = 3, the sorted array will be {8, 6, 5, 3, 2, 1}, and the 3rd largest element will be 5.
1) Kth largest element in an array is the kth element of the array when sorted in non-increasing order.
2) All the elements of the array are pairwise distinct.
I gave the max-heap based approach, in which I told him to insert every item into the max-heap, and then return the top K. For this, he asked the time Complexity, I answered O(Klog(K*N)). He told me to optimize it further. This time I gave a pointer based approach, i.e., to set a pointer at every category and then check for max among them, then increment count for the pointer of the category in which max was found, and do it till we have found K elements. For this, he asked the time Complexity, I answered O(K*N). He told me to optimize it further by combining the above two approaches, I did it and gave the Time Complexity as O(Klog(N)).
All the possible root to leaf paths are:
3, 4, -2, 4 with sum 9
5, 3, 4 with sum 12
6, 3, 4 with sum 13
Here, the maximum sum is 13. Thus, the output path will be 6, 3, 4.
There will be only 1 path with max sum.
For each node there can be four ways that the max path goes through the node:
1. Node only
2. Max path through Left Child + Node
3. Max path through Right Child + Node
4. Max path through Left Child + Node + Max path through Right Child
The idea is to keep trace of four paths and pick up the max one in the end. An important thing to note is, root of every subtree need to return maximum path sum such that at most one child of root is involved. This is needed for parent function call. In below code, this sum is stored in ‘max_single’ and returned by the recursive function.
Draw ER diagram for Uber. (Learn)
Tip 1 : Revise ER diagrams and practice them
Tip 2 : List all entities and their relationships involved with the app.
Tip 3 : After drawing tables apply normalisation to reduce redundancy.
The round was 2nd technical round conducted through Google Meet.
There were 2 interviewers and they were helpful.
Timing was from 11:10 A.M - 12:00 P.M
GIven a file of 1 GB having data in form of digits, sort the file elements with 100 MB RAM available.
I didn't knew the solution so I thought of this as given n arrays having m nos in each array and we need to sort all arrays with space cmplexity of the order O(nlogm) but definitely not O(m*n) due to memory constraints.
So this is a common Priority Queue Problem for which I told the approach.
I just did school Mathematics Addition and the interviewer seemed pleased with my approach.
Remember the carry value to be included or not at the end of for loop when you traverse both linked list.
e.g. 237+100 = 337 ( no carry )
but 999+1 = 1000 ( include carry )
Discussion Around How Google search suggests if we typed something wrong.
e.g. If we type Cracket.
It will suggest : Did you Mean : Cricket.
Tip 1 : Discuss your Approach loudly with Interviewer.
Tip 2 : Get help if you get stuck. For these type of problems, there is no preparation. They just check our thought process.
Tip 3 : I gave solution of above problem as : Google figures time spent on page and if it is very less then it thinks it is probably misspelled
Timing was 12:30 P.M. to 1:00 P.M.
It was held on Google Meet and HR was helpful.
Tip 1 : Prepare for this round beforehand.( Don't take it lightly )
Tip 2 : Know about company beforehand like what work they do and how you are eligible candidate for the role they are looking for.
Tip 3 : For Sprinklr vs Amazon type questions stick to company you are applying and tell how you feel this is best opportunity for you.
Tip 1 : Prepare for this round beforehand.
Tip 2 : Develop team spirit and have some team work experience ( like SIH)
Tip 3 : HR can try to confuse you but stay calm.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What does print(2 ** 3) output in Python?
This Comment was removed by the moderator
This comment won't show up to you, as it was removed by moderator due to inappropriate content.