Tip 1: Analyze your strengths in DSA topics and practice them more.
Tip 2: Regularly give contests on any of the coding platforms.
Tip 1: Don't write anything on your resume, write only what you know
Tip 2: 1 project is also sufficient
Test was Around 11:00 am



A mapping from Digits to Letters (just like in Nokia 1100) is shown below. Note that 1 does not map to any letter.




1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then (2, -3, 1), (-3, 2, 1) etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
1. Sort the input array
2. Initialize a set to store the unique triplets and an output vector to store the final result
3. Iterate through the array with a variable i, starting from index 0.
4. Initialize two pointers, j, and k, with j starting at i+1 and k starting at the end of the array.
5. In the while loop, check if the sum of nums[i], nums[j], and nums[k] is equal to 0. If it is, insert the triplet
6. into the set and increment j and decrement k to move the pointers.
7. If the sum is less than 0, increment j. If the sum is greater than 0, decrement k.
8. After the while loop, iterate through the set and add each triplet to the output vector.
9. Return the output vector



Do not allocate extra space for another array. You need to do this by modifying the given input array in place with O(1) extra memory.
'n' = 5, 'arr' = [1 2 2 2 3].
The new array will be [1 2 3].
So our answer is 3.
Purely Technical Rounds



Input : 1 -> 2 -> 3 -> 4 -> 'NULL' and 'K' = 2
Output: 1 -> 2 -> 4 -> 'NULL'
Explanation:
After removing the second node from the end, the linked list become 1 -> 2 -> 4 -> 'NULL'.

Common question. can be solved easily
Maximum pieces that can be cut from a Circle using 6 straight lines
It was project round they wanted to know in and out about the project. My project was in React+NodeJs and the interviewer was also working on React so asked in-depth questions.
It was easy round
What you know about MagicBricks?
What is your family background?
Tip 1 : Take knowledge about every company when you are going for HR Rounds

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?