Coding Questions Asked in Nagarro
1 / 8
Input : NA
Output : NA
Tags:Nagarro
2 / 8
Input : this is crazy and fun
Output :
Tags:Nagarro
3 / 8
Input : NA
Output : NA
Tags:Nagarro
4 / 8
If multiple characters occur with the same highest frequency then return "0".
Input : Input1: abcdd
Output :
Tags:TCS NQT Nagarro Wipro NLTH
5 / 8
Given 'n' (1 <= n <= 100000), find the nth prime number.
Input : An integer n
Output :
Tags:TCS NQT Nagarro Wipro NLTH
6 / 8
Given a number n, find the total number of Derangements of a set of n elements.
Input : 1st Input: n = 2
For two elements say {0, 1}, there is only one
possible derangement {1, 0}
2nd Input: n = 3
For three elements say {0, 1, 2}, there are two
possible derangements {2, 0, 1} and {1, 2, 0}
Output :
Tags:TCS NQT Nagarro Wipro NLTH
7 / 8
Write a function to decrypt the string and find the nth character of the decrypted string. If no character exists at that positionthen then return "-1".
For eg:- If the input string is "a2b3" the decrypted string is "aabbb".
Note: The frequency of encrypted string cannot be greater than a single digit i.e.<10.
Explanation:
The decrypted string is "abccc", hence the 5th character in the decrypted string is "c".
Input : Input Specification:
Input1: A string.
Input2:5
Output :
Tags:Nagarro Wipro NLTH TCS Ninja
8 / 8
Input : Input1: N, the number of Objects.
Input1: 3
Output :
Tags:Nagarro Wipro NLTH Wipro NLTH
Q4I highly advised to practice all the basics and standard program asked at freshers or experienced level job interview in Nagarro. Practice our hand-picked coding interview questions asked in Nagarro. You can programed the given question in any language, you can post your answer and same time you can review the other answer. It is always recommanded to write your own program first and then refer others answers. At this page we have covers all the Nagarro coding questions in 2020 and previously asked in their Interview round or coding rounds.
Top Kudos Contributor
Trending Programming Qs.
- Sort a list of dates in ascending order given the data format shown be...
- Write a program to reverse the string?
- Write a program to print next to the last word of a sentence.
Last Month Contributor
- Write a program to count the no. of words in the given string?
- Write a program to print next to the last word of a sentence.
- Write a program to reverse the string?
- Write a program to convert uppercase to lower case and vice versa of a...
- Given a string, say sentence=" this is crazy and fun" and a list, say ...