Tip 1 : be confident
Tip 2 : revise well before the interview
Tip 3 : focus on fundamentals too.
Tip 1 : should be one page long only
Tip 2 : Have some projects on your resume.
aptitude and codding MCQ: The duration of this round was 60 minutes.
The test consists of 25 MCQs of aptitude and 15 DSA questions revolving around topics like stacks, queues, trees, graphs, and time complexities. the score of this round matters only for qualifying for the next round.
The test was divided into 2 sections (SD profile and CSD profile). For the SD profile, there were 3 DSA questions with medium difficulty, and for the CSD profile, there were 2 DSA questions of hard difficulty (Graphs + DP).
Based on the number of questions we solve, we get the interview invites for different profiles.



For the following array:
[0 1 1 1 0 0 1]
The output should be [0 0 0 1 1 1 1].
You have to sort the array in place.





Input: ‘arr’ = [1, 16, 7, 8, 4]
Output: [1, 4, 8, 16].
Explanation: In the set {1, 4, 8, 16}, you can take any pair from the set, and either one of the elements from the pair will divide the other.
There are other possible sets, but this is the largest one.
Explain your written code of the previous round. If there is any error, find it, and correct it. If your code is not
optimize and not space-efficient then Give an optimized & efficient solution to your written code.
After the written code explanation, he asked 2 coding questions



‘S’ = “bacda” and ‘K’ = 3.
So, the substrings having at most ‘3’ distinct characters are called good substrings. Some possible good substrings are:
1. “bac”
2. “acd”
3. “acda”
The substring “acda” is the largest possible good substring, as we cannot get any other substring of length 5 or more having distinct characters less than or equal to ‘3’. Thus, you should return ‘4’ as the answer.



Why Nagarro?
Relocation Problems?
Technical areas of interest.
tell me about your projects

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?