Tip 1: Take your time before directly jumping to the solution. Even if you have already written the code, the interviewer might add constraints of their own.
Tip 2: Speak out loud; that's very important. If you get stuck during the interview, don’t just sit idle or give up. Talk to your interviewer and let them know what’s going on in your mind and what approach you are trying to implement. The interviewer is your only ally in that room.
Tip 3: Don’t worry if you haven’t been involved in competitive programming before. You can still impress many companies with decent DSA skills. Projects are an added advantage.
Tip 4: For preparation, thoroughly review the Coding Ninja's course. It’s likely you will encounter the same questions covered in the course—common problems like stock span, balanced parentheses, edit distance-DP, etc.
Tip 5: Don’t panic if you see a question you haven’t encountered before. Try to break the given problem into smaller problems first, just like we do in DP; it will surely help you in building logic, if not in finding a solution.
Tip 1: Choose a nice template for your resume. You can refer to sites like novoresume.com for good templates. Just pick one with no fancy fonts or colors. Keep it simple.
Tip 2: Be very specific. Write only the important details, especially if you are applying for a tech job. No one will care about your dance or acting skills during the interview.
Tip 3: If you have mentioned your projects, add the source code link or GitHub repository link as a hyperlink. This is very important as it helps the interviewer verify that you have completed the project and are not faking it.



Let the given string be “(()())((”.
Here the valid parentheses substrings are: “()”, “()” and “(()())”. Out of these the longest valid string is “(()())” which has a length 6.









Rotation of envelope is not allowed, that is, height and width can’t be exchanged



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'.




Input: 'a' = [2, 4, 6] and 'b' = [1, 3, 5]
Output: 3.5
Explanation: The array after merging 'a' and 'b' will be { 1, 2, 3, 4, 5, 6 }. Here two medians are 3 and 4. So the median will be the average of 3 and 4, which is 3.5.

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