Tip 1: Solve at least 400–500 questions.
Tip 2: Don’t break your rhythm midway.
Tip 3: Maintain a strong grip on core fundamentals.
Tip 1: Keep your resume score above 80.
Tip 2: Include strong projects and avoid plagiarism.
The timing was appropriate.
The environment was my home.
The webcam and speakers were on.
It was not an interview.

Input: ‘n’ = 5 ‘m’ = 3
‘a’ = [1, 2, 3, 4, 6]
‘b’ = [2, 3, 5]
Output: [1, 2, 3, 4, 5, 6]
Explanation: Common elements in ‘a’ and ‘b’ are: [2, 3]
Distinct elements in ‘a’ are: [1, 4, 6]
Distinct elements in ‘b’ are: [5]
Union of ‘a’ and ‘b’ is: [1, 2, 3, 4, 5, 6]
Tip 1: Complete the Coding Ninjas DSA sheet.
Tip 2: Focus on learning data structures and algorithms thoroughly.
Tip 3: Consistently practice a variety of coding questions.
The timing was in the morning.
The environment was relaxed.
It was a pen-and-paper-based coding round.
The interviewer was friendly.
They wanted me to evaluate the best way to find the least recently used data, the most optimal approach, and the best possible space complexity.
Tip 1: Use linked lists.
Tip 2: Try solving the problem using recursion first.
Tip 3: Don’t hesitate to ask follow-up questions.
The timing was 1 PM.
The environment was relaxed.
It was a laptop-based coding round.
The interviewer was friendly.
They wanted me to evaluate the first and last prefixes of skewed trees and were asking for recursive approaches.
Tip 1: Master trees and recursion.
Tip 2: Ask about the expected time complexities.
Tip 3: Don’t hesitate to ask follow-up questions.

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