Tip 1 : Practice at least 350 DSA Standard questions
Tip 2 : Build strong base of OOPS which will be very helpful for future perspective as well.
Tip 3 : Try to self explain every problem you solve so as to maintain clear and confident conversation with the interviewer at the time of interview.
Tip 1 : Have at least 2 projects on resume
Tip 2 : Mention all your coding platform based achievements (even number of questions solved in DSA) in resume.
The coding round was help near about 2 PM (approx).
The environment was good and easy to understand.






For the trees given below:-

The given trees are identical as:-
1. The number of nodes in both trees is the same.
2. The number of edges in both trees is the same.
3. The data for root for both the trees is the same i.e 5.
4. The data of root -> left (root’s left child) for both the trees is the same i.e 2.
5. The data of root -> right (root’s right child) for both the trees is the same i.e 3.
6. The data of root -> right -> left ( left child of root’s right child) for both the trees is the same i.e 6.
7. Nodes with data 2 and 6 are the leaf nodes for both the binary trees.



If the given array is [ 4, 7, 3, 2, 7, 2 ], you have to find ‘4’ and ‘3’ as 4 and 3 occur one time, and the rest of the elements ( 7 and 2 ) are occurring twice.
First of all the interviewer for very friendly and helpful.
Firstly he asked me to introduce myself (which I obviously did). Then he stated that he will first ask me OOPS related questions and then he will move to DSA part.
We discussed OOPs near about 10-15 minutes in which topics were four pillars of OOPs, etc, and I was pretty confident in all of my answers and the interviewer was also quite contended by my responses.
Then he went on asking fundamental DBMS related questions, and finally asked 1 quiz related to coin swap
And by this the round ended and I got a pretty good response from the interviewer and he was very helpful at some places too wherever i got stuck.
Eventually I cleared this round.



Input: 'a' = [7, 12, 1, 20]
Output: NGE = [12, 20, 20, -1]
Explanation: For the given array,
- The next greater element for 7 is 12.
- The next greater element for 12 is 20.
- The next greater element for 1 is 20.
- There is no greater element for 20 on the right side. So we consider NGE as -1.



Here, sorted paths mean that the expected output should be in alphabetical order.
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1
Expected Output:
DDRDRR DRDDRR
i.e. Path-1: DDRDRR and Path-2: DRDDRR
The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.



• The reference to the head of the linked list is not given.
• The node to be deleted is not a tail node.
• The value of each node in the Linked List is unique.
• It is guaranteed that the node to be deleted is present in the linked list.

This was a HR formality round in which HR took my intro and asked if I am comfortable to relocate to Noida which i asserted and then he asked if I have proper WIFI connection and whether I have proper specification equipped laptop or not.
And after all these queries he congratulated me on passing all the rounds successfully and that I have received full time offer from Samsung R&D Institute Noida.

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?