NCR Corporation interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

NCR Corporation
upvote
share-icon
5 rounds | 13 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 9 months
Topics: Data Structures, Databases, OOPS, Operating Systems, Computer Networks
Tip
Tip

Tip 1 : Maintain good projects on your resume.
Tip 2 : Don't do false internships and lie on resume.

Application process
Where: Campus
Eligibility: Above 7+ CGPA
Resume Tip
Resume tip

Tip 1: Maintain good projects on your resume.
Tip 2: Don't lie on your resume

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 mins
Interview date30 Nov 2021
Coding problem2

1. Equilibrium Index

Easy
0/40
Asked in companies
Expedia GroupCoinbaseGoldman Sachs

You are given an array Arr consisting of N integers. You need to find the equilibrium index of the array.

An index is considered as an equilibrium index if the sum of elements of the array to the left of that index is equal to the sum of elements to the right of it.

Note:

1. The array follows 0-based indexing, so you need to return the 0-based index of the element.
2. Note that the element at the equilibrium index won’t be considered for either left sum or right sum.
3. If there are multiple indices which satisfy the given condition, then return the left-most index i.e if there are indices i,j,k…. which are equilibrium indices, return the minimum among them
4. If no such index is present in the array, return -1.
Problem approach

I've solved this problem previously.

Try solving now

2. Non-overlapping Intervals

Moderate
27m average time
0/80
Asked in companies
FacebookOracleAmazon

Ninja is the steel factory owner, and there are 'N' workers working at that factory. Each worker has his own working time, and it is provided in the array 'intervals' where 'INTERVALS[i][0]' gives the start time of the 'i'th worker and 'INTERVALS[i][1]' gives the end time of the 'i'th worker.

Ninja does not want to allow more than one worker to work at the same time, so he needs your help to find the minimum number of workers he needs to reschedule their work time so as there are non-overlapping working times in any two workers.

Example:
Input: 'INTERVALS' = [[1, 2], [1, 3], [2, 3], [3, 4]]
Output: 1

After rescheduling the worker with the interval [1, 3] it is possible to get the non-overlapping working times.
Problem approach

A variation of this problem was asked. On looking at the statement it is understood that it is a greedy algorithm. Hence able to solve it.

Try solving now
02
Round
Easy
Video Call
Duration90 mins
Interview date30 Nov 2021
Coding problem5

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
Chegg Inc.FacebookAmazon

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Problem approach

Started with naive approach and gave other two solutions with 0(nlogn) and 0(n) solutions

Try solving now

2. 3Sum

Moderate
15m average time
85% success
0/80
Asked in companies
IntuitSamsungGrofers

You are given an array/list ARR consisting of N integers. Your task is to find all the distinct triplets present in the array which adds up to a given number K.

An array is said to have a triplet {ARR[i], ARR[j], ARR[k]} with sum = 'K' if there exists three indices i, j and k such that i!=j, j!=k and i!=j and ARR[i] + ARR[j] + ARR[k] = 'K'.

Note:
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Problem approach

After solving the first question, he asked me to solve this using the previous approach.

Try solving now

3. DBMS Question

Write an SQL query to report the nth highest salary from the Employee table. If there is no nth highest salary, the query should report null.

4. OOPS Questions

Several OOPS questions were asked. Asked to implement inheritence, virtual classes, friend functions etc.
Deep copy and shallow copy and questions on DBMS

5. DBMS Questions

Questions related to groupby clause were mostly asked. Also wildcard, in, between etc.. clauses were also asked.

03
Round
Medium
Video Call
Duration60 mins
Interview date1 Dec 2021
Coding problem4

1. Right View

Moderate
35m average time
65% success
0/80
Asked in companies
AdobeSAP LabsRazorpay

You have been given a Binary Tree of integers.

Your task is to print the Right view of it.

The right view of a Binary Tree is a set of nodes visible when the tree is viewed from the Right side and the nodes are printed from top to bottom order.

Problem approach

I've solved this previously, hence able to come up with solution.

Try solving now

2. Search In Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
FreshworksExpedia GroupPayPal

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Problem approach

I've a little confused about this in start, the interviewer clarified my doubts and gave my hints and hence was able to complete.

Try solving now

3. DBMS Questions

Normalization, ACID properties are focused majorly.

4. OS Questions

Semaphores, Virtual memory concepts are asked majorly.

04
Round
Medium
Face to Face
Duration60 mins
Interview date1 Dec 2021
Coding problem1

1. Project based questions

Mostly discussed about the projects I've done, challenges I've faced. Also given a real-time problem statement and asked my approach on that. Also discussed about my college experiences, challenges and many other. The interviewer was very friendly and really one of the best experiences.

05
Round
Medium
HR Round
Duration15 mins
Interview date2 Dec 2021
Coding problem1

1. Basic Hr Questions

Once you reach the HR round you're almost selected. The HR had some basic questions about myself, family and my interests. After that he told that you'll receive communication within 2 days.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
5 rounds | 5 problems
Interviewed by NCR Corporation
1191 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by NCR Corporation
1180 views
0 comments
0 upvotes
company logo
Associate Software Engineer
4 rounds | 9 problems
Interviewed by NCR Corporation
1475 views
0 comments
0 upvotes
company logo
Software Engineer Intern
3 rounds | 9 problems
Interviewed by NCR Corporation
1226 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6262 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2160 views
0 comments
0 upvotes