Tip 1 : Be prepared for theoretical questions as well
Tip 2 : Prepare for some puzzles as well
Tip 3 : Don't start to code immediately
Tip 1 : Make sure your resume is properly aligned and has all the relevant details
Tip 2 : Mention some intern experience that you have
It was an online round. 3 very simple coding questions were asked.



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Step 1 : Create a map in which you store the array numbers
Step 2 : At every index, check if sum - arr[idx] exists in the map.
Step 3 : If it does, print the pair
It was a face-to-face video interview. The questions asked were relatively easy.



1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Step 1 - At every index, start a two-sum method on rest of the array with sum = sum - arr[index]
Step 2 - Count all the indexes and print them
It was related to Competitive questions, resume discussion and core-concepts.
Why are multiple inheritances not supported in Java?
I found this core Java question really tough to answer because your answer may not satisfy the Interviewer, in most cases Interviewer is looking for specific points and if you can bring them, they would be happy. The key to answering this kind of tough question in Java is to prepare the topic well to accommodate any follow-ups
Write a Java program to create a deadlock in Java and fix it?
Tip 1 : Prepare for deadlock-related problems, not only theoretically but also practically.
Tip 2 : See practical problems related to Java and core-concepts.

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?