Tip 1 : Prepare for data structures and algorithms. Practice questions from online coding platforms like- Coding Ninjas, GFG, LeetCode . Questions were more focused on String Manipulation, Arrays, and LinkedList.
Tip 2 : I applied for SDE-2 and had worked as a backend developer in my previous organization, so most questions were from previous work exp./Projects/Spring Framework/Database design.
Tip 3 : The candidate should have good communication skills.
Tip 1 : Be thorough with your work done previously and don't claim any false information/skills on which you don't have a hold on.
Tip 2 : Include the previous year's work exp. (If any). Do mention roles and responsibilities in brief.
It was a telephonic round, taken by a Tech Lead. He asked questions about Java Collections, SQL, previous organizations projects, and my roles and responsibilities as a backend developer.
Write a query to fetch details of an employee with the second-highest salary in an organization excluding the CEO.
Tip 1: Do practice questions from the Hackerrank platform on SQL.
Tip 2: Try to optimize the SQL query for optimal performance.
Write a query to return the last 4 characters of EmpName from the Employee table.
Tip 1: Do practice questions from the Hackerrank platform on SQL.
Tip 2: Try to optimize the SQL query for optimal performance.



For the given string “what we think we become”
“what”,” think”, and “become” occurs 1 time, and “we” occurs 2 times in the given string.
Step 1: Declare a Hashmap in Java of {char, int}.
Step 2: Traverse in the string, check if the Hashmap already contains the traversed character or not.
Step 3: If it is present, then increase its count using the get() and put() function in Hashmap.
Step 4: Once the traversal is completed, traverse in the Hashmap and print the character and its frequency.
It was a face-to-face technical round on MS Teams. The interviewer asked questions about Java 8, Spring Framework, Java Concurrency, and 3 coding problems.



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 solved this problem using Priority Queue.
Step 1 : Create a priority Queue and iterate through the array.
Step 2 : Add an element of the array to the priority queue.
Step 3 : if the size of the queue is greater than K, then poll().
Step 4 : finally poll() the element once the loop is finished.
Difference between Left Join, Right Join, Full Join, Self Join.



'arr '= [1,2,3,4,5]
'k' = 1 rotated array = [2,3,4,5,1]
'k' = 2 rotated array = [3,4,5,1,2]
'k' = 3 rotated array = [4,5,1,2,3] and so on.
I solved this problem using recursion.
Optimize the problem by k = k % arr.length
Step 1: Reverse array from 0,k-1
Step 2: Reverse array from k, array length - 1
Step 3: Reverse the whole array.
CTC discussion with the Hiring Manager and other joining formalities.
Why should we hire you?
Who is your Role Model?
This was an online psychometric assessment to assess team fitment.

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?