## Nagarro Interview Experience Off-campus

Round 1: Online Test The test was conducted on Mettle platform. It consisted of 2 sections, Technical MCQs which were based on complexities, data structures,… Read More »

- Count distinct elements in an array
- Print the nodes of binary tree as they become the leaf node
- Rearrange Odd and Even values in Alternate Fashion in Ascending Order
- In-Place Merge Sort
- Sort the array of strings according to alphabetical order defined by another string
- Merge K sorted arrays | Set 3 ( Using Divide and Conquer Approach )
- Ternary Search
- Number of pairs whose sum is a power of 2
- Amazon Internship Interview Experience
- k-th missing element in an unsorted array
- Nagarro Interview Experience Off-campus
- Merge K sorted arrays of different sizes | ( Divide and Conquer Approach )
- Check if array can be sorted with one swap
- Smallest subarray containing minimum and maximum values
- Find closest value for every element in array
- Sort the array in a given index range
- Maximum sum by picking elements from two arrays in order
- Sort an array of string of dates in ascending order
- Python | Sort list of list by specified index
- Array element with minimum sum of absolute differences
- Split the array elements into strictly increasing and decreasing sequence
- Comparison among Bubble Sort, Selection Sort and Insertion Sort
- Average of remaining elements after removing K largest and K smallest elements from array
- Find the minimum number of rectangles left after inserting one into another
- Delete odd and even numbers at alternate step such that sum of remaining elements is minimized
- Iterative selection sort for linked list
- Minimum operations to make frequency of all characters equal K
- Check if words are sorted according to new order of alphabets
- Minimum operations of given type to make all elements of a matrix equal
- Make palindromic string non-palindromic by rearranging its letters

Round 1: Online Test The test was conducted on Mettle platform. It consisted of 2 sections, Technical MCQs which were based on complexities, data structures,… Read More »

Given an array arr[] which consists of all the divisors of two integers A and B (along with A, B and 1). The task is… Read More »

Given an array arr[] of n integers and an integer K. In one operation every element of the array is replaced by the difference of… Read More »

Prerequisite: vector, vector pair sorting Given a vector, keep track of the present indexes corresponding to each element and after sorting print element with its… Read More »

Given an unsorted sequence a[], the task is to find the K-th missing contiguous element in the increasing sequence of the array elements i.e. consider… Read More »

Given a string S of length N. The task is to find the minimum number of steps required on strings, so that it has exactly… Read More »

Given an array arr[] of binary strings, the task is to calculate the bitwise AND of all of these strings and print the resultant string.… Read More »

Given a set of points, the task is to find the covex hull of the given points. The convex hull is the smallest convex polygon… Read More »

Given an array arr[] containing N integers and two integers X and Y. Consider N line segments, where each line segment has starting and ending… Read More »

Given an array arr[] of N non-negative integers, the task is to sort these integers according to sum of their digits. Examples: Input: arr[] =… Read More »

Given an array arr[] and an integer k, the task is to find the maximum product from the array such that the frequency sum of… Read More »

Given an array arr[] containing N integers, the task is to print k different permutations of indices such that the values at those indices form… Read More »

Given k sorted arrays of different length, merge them into a single array such that the merged array is also sorted. Examples: Input : {{3,… Read More »

Given an array consisting of even number of elements, the task is to divide the array into M group of elements (every group must contain… Read More »

Giving k sorted arrays, each of size N, the task is to merge them into a single sorted array. Examples: Input : arr[][] = {{5,… Read More »