Tip 1 : Be confident. It's the key.
Tip 2 : Master problem solving in either Java or C++.
Tip 3 : Communication skills matter a lot.
Tip 1 : Be true about yourself. Boasting doesn't help. Infact, it has a negative impact.
Tip 2 : Do not restrict your resume to only academics. Other fields matter a lot to show your personality.
Easy aptitude questions
One easy level coding question
One moderate level coding question



1. The integers x,y and z might not be distinct , but they should be present at different locations in the array i.e if a[i] = x, a[j] = y and a[k] = z, then i,j and k should be pairwise distinct.
2. The integers a,b and c can be present in any order in the given array.
Approach :
1) I solved it in O(N^2) approach.
2) Sort the array.
3) Initially map all the elements of the array to their index in a Hash Map or a Hash Set.
4) Now , run 2 for loops and for every x^2 + y^2 ,check if there exists a z^2 s.t x^2+y^2=z^2 and the index of z^2 is
different than both the indices of x and y.



L1 = 1->2->3->4->7
L2 = 2->4->6->7
ANSWER:- The answer should be 2->4->7 because 2,4, and 7 are present in both the linked lists.
Approach :
1) Calculate the length of both the lists, say len1 and len2
2) Get the absolute difference of the lengths, diff = |len1 – len2|
3) Now traverse the long list from the first node till ‘diff’ nodes so that from there onwards both the lists have equal
number of nodes
4) Then traverse both the lists in parallel and check whether a common node is reached (Note that getting a common
node is done by comparing the address of the nodes, not the data)
4.1) If yes, return that node’s data
4.2) If no, return -1
TC : O(N) , where N = max length of the linked list
SC : O(1)
HR based questions on a computerized platform. The video was being recorded with no human present on the other side. What keeps you motivated? What is your biggest achievement?
Thorough interview based on Java development and SQL. What are views? What is indexing. How do you connect db from java code?

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?