Tip 1 : Include projects with high impacts if low in internship experience.
Tip 2 : Do good practice of advanced data structures like Tries,graphs etc.
Tip 3 : Be good in your communication.
Tip 1 : Focus on Skills.
Tip 2 : Make it as crisp as you can.
Tip 3 : Never lie on your resume.
There were 2 dsa questions . Those who did both the questions were called for the interview.



A pair ('ARR[i]', 'ARR[j]') is said to be an inversion when:
1. 'ARR[i] > 'ARR[j]'
2. 'i' < 'j'
Where 'i' and 'j' denote the indices ranging from [0, 'N').
Create a heap with new pair elements, (element, index).
After sorting them, pop out each minimum sequentially and create a new sorted list with the indexes.
Calculate the difference between the original index and the index of bisection of the new sorted list.
Sum up the difference.



If K is 4 and the tree is depicted by the following image then,

The 4th largest element in the given BST is 1. So the output will be 1.
Try to do it in O(1) space without using recursion.
The reverse inorder traversal traverses all nodes in decreasing order, i.e, visit the right node then centre then left and continue traversing the nodes recursively.
While doing the traversal, keep track of the count of nodes visited so far.
When the count becomes equal to k, stop the traversal and print the key.
The interview went for about 75-80 minutes. I was not able to answer almost all the answers correctly but gave almost 75% correct answers. The interviewer mainly focused on the problem-solving ability and the quality of conceptual knowledge. We were judged on 5 criteria in all the technical Interviews- DSA, Coding, Puzzles, Testing Questions and Operating system.
You have a birthday cake and have to cut it into 8 equal pieces by making 3 cuts only. How do you do it?(Learn)
Tip 1: Listen Carefully to the question.
Tip 2: Practice puzzles on online platforms before interview.
You are standing before two doors. One of the paths leads to heaven and the other one leads to hell. There are two guardians, one by each door. You know one of them always tells the truth and the other always lies, but you don’t know who the honest one is and who the liar is. You can only ask one question to one of them in order to find the way to heaven. What is the question?
Tip 1: Listen Carefully to the question.
Tip 2: Practice puzzles on online platforms before interview.



1. Both STR and PTR consist of English uppercase letters.
2. Length of string 'STR' will always be greater than or equal to the length of string ‘PTR’.
3. In case, there is no anagram substring, then return an empty sequence.
4. In case of more than one anagrams, return the indices in increasing order.
1) Create a count array of alphabet size which is typically 256. Initialize all values of count array as 0.
2) Traverse the given string and increment count of every character.
3) Traverse the count array and if the count array has more than one odd value, return false. Otherwise, return true.



[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.

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?