Tip 1: Practice sufficient amount of coding questions. Like 2 questions daily
Tip 2 : Go through the other interview experiences online like on CodeStudio GeeksForGeeks etc
Tip 3 : Be confident and try to understand things instead of mugging them up
Tip 1: Be thorough with what you have mentioned in your resume
Tip 2: Right your resume in a way which highlights your skills



1. A palindrome is a word, number, phrase, or another sequence of characters that reads the same backward as forward, such as madam, racecar, 1234321, etc.
2. The numerical value of the given string S will be greater than 0.
3. A single-digit number is also considered a palindrome.
4. The answer number should not contain any leading zeros, except for the case when the answer is 0.
5. Note that the length of the string is nothing but the number of digits in N.
It was my 1st technical round. They asked about myself and questions related to Java in general.



Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.
2. Open brackets must be closed in the correct order.
()()()() is a valid parentheses.
)()()( is not a valid parentheses.
We had to keep track of counts of open parenthesis for all 3 types of brackets (round,square and curly).
2nd Techinical round. Asked about my question in 1st round .Introductions were done. Coding question was asked



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".
Brute force
have 1 main loop and 3 nested loops and check if sum of quadraplets is 0 if so increment count by 1
and return the count in the end
Optimized.
Sort the array .
Fix 2 elements in the array and for remaining 2 elements use 2 pointer approach
more optimized approach
General questions related to Java. Asked about java core concepts like nested interfaces etc
What are nested interfaces?

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