Tip 1 : Practice Java8 Collection API
Tip 2 : Understand which data structure to use and why
Tip 3 : Practice questions on LinkedList, Map and Trees
Tip 1 : Show case your previous project work and prepare for questions on it
Tip 2 : Highlight the skills and give rating or mention your expertise in those skills. Avoid exaggerating
Questions on Linked List and Map



Input:
'num1' : 1 -> 2 -> 3 -> NULL
'num2' : 4 -> 5 -> 6 -> NULL
Output: 5 -> 7 -> 9 -> NULL
Explanation: 'num1' represents the number 321 and 'num2' represents 654. Their sum is 975.
1. To solve this problem, first of all you need to know how to implement or write a LinkedList class.
2. Reverse the the two numbers represented as LinkedList
3. Add each element of the two numbers and add it as Linked List element



1) MapSum(): Ninja has to initialize the ‘MapSum’.
2) insert(‘KEY’, ‘VAL’): Ninja has to insert this key-value pair in this ‘MapSum’.
3) sum(‘PREFIX’): Ninja has to find the sum of all values whose prefix of the keys is equal to ‘PREFIX’
During insertion, In the ‘MapSum’ if a ‘KEY’ is already present in the ‘MapSum’ then replace it with the new one.
2 coding ques was asked. Which we have to solve in 45 minutes. Well known and easy questions were asked



Input: 'arr' = [2, 2, 2, 2, 0, 0, 1, 0]
Output: Final 'arr' = [0, 0, 0, 1, 2, 2, 2, 2]
Explanation: The array is sorted in increasing order.
Use Dutch National Flag algorithm



Traverse the string from both ends and swap elements after each step
Managerial round
Tip 1 : Just explain the work done in previous project
Tip 2 : Know every detail of your project
It was a HR Round. He was very frank Asked basic HR Questions and this round was over in a glimpse
Tip 1 : Stay Confident
Tip 2 : Be honest
Tip 3 : Show a positive attitude.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which method is called when an object is destroyed in Java?