Tip 1 : You should be familiar with every data structure and should be able to solve at least basic questions of it.
Tip 2 : Stack ,Linked lists, queue ,2 pointers, tree are topics from which questions are frequently asked.
Tip 3 : At least one project should be there in your resume that is good enough.
Tip 1 : Be honest with whatever you put in your resume.
Tip 2 : You should have thorough knowledge of everything you put in your resume
The Online Test was scheduled on 3rd August, 2022 (Wednesday) from 03:00 p.m. to 05:00 p.m.



If the given string is:
abcadeecfb
Then after deleting all duplicate occurrences, the string looks like this:
abcdef
Step 1 : Take a visited array to store whether a particular character has been visited or not and take a count array. Store the occurrences of all characters in that array.
Step 2 : Traverse the string, decrease the count of that particular character .If the character is visited ,continue the loop.
Step 3 : If at a particular instance, the top element of stack is smaller than the current character, pop the characters from the stack till the count of the every top character of stack is greater than zero and make every character as non-visited.
Step 4 : push the current character of the string into a stack and mark it as visited.



The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Can you solve this problem in O(N) time and O(1) space complexity?
Questions related to my project ,DBMS, OOPS were asked . 2 SQL queries were also asked.



We cannot use the element at a given index twice.
Try to do this problem in O(N) time complexity.
Step 1: I first applied two nested for loops and checked for every element i and every element j if they add up to target. It was not good enough.
Step 2: Then I used map to store all the numbers and checked for every element if target - nums[i] is present in the map. The interviewer further added that consider the array is sorted.
Step 3: I then applied 2 pointer approach.
Questions related to my internship were asked. Ques from OOPS,DBMS were also asked.



The Linked Lists, where a1, a2, c1, c2, c3 is the first linked list and b1, b2, b3, c1, c2, c3 is the second linked list, merging at node c1.

Step 1 : Find the length of both linked lists and take their difference 'd'
Step 2 : Move the larger node forward by 'd' steps
Step 3 : Now the starting point of both linked lists are equidistant from intersection ,so move both pointers together until the intersection is found.



I was asked various HR questions related to my internship . I was put in various situations and asked how I'd deal with them. My fears and other such questions were asked.
I was asked questions from DBMS,DS.
Egg dropping problem was asked as well. I was asked to find minimum eggs we would require in this problem.
Tip 1 : Do not pretend to be somebody else . Be honest with your replies.
Tip 2 : Go through some previously asked HR questions so that you get an idea what type of questions could be asked.
Tip 3 : Do not panic and try to be calm .

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?