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

SDE - Intern

Innovaccer
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
In our college, there were not many opportunities available, so the only choice I had was to either work hard for placements or prepare for M.Tech. However, I was inclined to get a placement as I was good at DSA. I did a lot of practice on various online sites and was able to perform well in both my off-campus and on-campus interviews.
Application story
An application link was shared by the campus recruitment team for Innovaccer's ongoing hiring. I applied through that link and received a project assignment; it was shortlisted, and the company conducted interview rounds.
Why selected/rejected for the role?
Rejected after two rounds; I did not get the reason for rejection, but overall, it was a very good learning experience as it was one of my first interviews.
Preparation
Duration: 12 months
Topics: Data Structures, Algorithms, Database, System Design, Operating Systems
Tip
Tip

Tip 1: Practice data structure questions as much as you can. Also, be confident in your solution during the interview. For practice, you can refer to Coding Ninjas and CodeStudio.
Tip 2: Read about previously asked questions by the company.

Application process
Where: Campus
Eligibility: 7+ CGPA, Good knowledge of DSA
Resume Tip
Resume tip

Tip 1: Keep it concise. Mention the academic and professional projects you have completed. Include your educational details accurately, along with the percentage or CGPA obtained.
Tip 2: Include only the information in your resume that you are confident about and keep practicing.

Interview rounds

01
Round
Easy
Video Call
Duration60 minutes
Interview date3 Mar 2021
Coding problem2

This round was held after the project assessment round. The interviewer asked for a quick introduction and then moved on to DSA questions.

1. Inorder Sucessor

Moderate
30m average time
65% success
0/80
Asked in companies
SAP LabsInnovaccerAmazon

You have been given an arbitrary binary tree and a node of this tree. You need to find the inorder successor of this node in the tree.

The inorder successor of a node in a binary tree is that node that will be visited immediately after the given node in the inorder traversal of the tree. If the given node is visited last in the inorder traversal, then its inorder successor is NULL.

The inorder traversal of a binary tree is the traversal method in which for any node its left subtree is visited first, then the node itself, and then the right subtree.

Note
1. Each node is associated with a unique integer value. 

2. The node for which the successor is to be found is guaranteed to be part of the tree.
Problem approach

An inorder traversal of a BST produces a sorted sequence. Therefore, we perform an inorder traversal. The first encountered node with a value greater than the node is the inorder successor.

Try solving now

2. Merge Intervals

Moderate
20m average time
80% success
0/80
Asked in companies
InnovaccerFacebookSalesforce

You are given N number of intervals, where each interval contains two integers denoting the start time and the end time for the interval.

The task is to merge all the overlapping intervals and return the list of merged intervals sorted by increasing order of their start time.

Two intervals [A,B] and [C,D] are said to be overlapping with each other if there is at least one integer that is covered by both of them.

For example:

For the given 5 intervals - [1, 4], [3, 5], [6, 8], [10, 12], [8, 9].

Since intervals [1, 4] and [3, 5] overlap with each other, we will merge them into a single interval as [1, 5].

Similarly, [6, 8] and [8, 9] overlap, merge them into [6,9].

Interval [10, 12] does not overlap with any interval.

Final List after merging overlapping intervals: [1, 5], [6, 9], [10, 12].
Problem approach

Sort all intervals in increasing order of start time.
Traverse the sorted intervals starting from the first interval.
Do the following for each interval:
If the current interval is not the first interval and it overlaps with the previous interval,
merge it with the previous interval. Keep merging while the interval overlaps with the previous one.
Otherwise, add the current interval to the output list of intervals.

Try solving now
02
Round
Easy
Video Call
Duration70 minutes
Interview date5 Mar 2021
Coding problem2

In this round, the interviewer asked about the assignment conducted in the preliminary round and the projects I have worked on. After that, he asked me some questions about computer subjects and gave me two DSA questions.

1. Least Greater Element

Moderate
30m average time
70% success
0/80
Asked in companies
OlaInnovaccer

You are given an array 'ARR' of Integers. Your task is to replace each element of the array with the smallest element, which is strictly greater than that element and is present on the right side of that element in the array i.e. for each valid index ‘i’ replace ARR[i] with the smallest ARR[j] such that ARR[j]>ARR[i] and j>i.

In case there exists no such element satisfying the above conditions for a particular array element, replace it with -1.

For example :

Consider the array ARR = [ 1, 4, 2, 6 ] having 4 elements.
The array containing the Least Greater Elements for the above array will be [ 2, 6, 6, -1 ].
Problem approach

First, we take an array of pairs, namely temp, and store each element along with its index in this array, i.e., temp[i] will store {arr[i], i}.
Next, sort the array based on the array elements.
Then, determine the next greater index for each index in the temp array using the Next Greater Element approach with a stack, and store these indices in another array called index.
Now, index[i] will store the index of the next least greater element for the element temp[i].first. If index[i] is -1, it indicates that there is no least greater element for the element temp[i].second to its right.
Finally, create a result array where result[i] will be equal to arr[index[temp[i].second]] if index[i] is not -1. Otherwise, result[i] will be equal to -1.

Try solving now

2. Remove duplicates from a sorted Doubly Linked List

Easy
0/40
Asked in companies
QualcommChegg Inc.Oracle

A doubly-linked list is a data structure that consists of sequentially linked nodes, and the nodes have reference to both the previous and the next nodes in the sequence of nodes.


You are given a sorted doubly linked list of size 'n'.


Remove all the duplicate nodes present in the linked list.


Example :
Input: Linked List: 1 <-> 2 <-> 2 <-> 2 <-> 3

Output: Modified Linked List: 1 <-> 2 <-> 3

Explanation: We will delete the duplicate values ‘2’ present in the linked list.


Problem approach

Traverse the list starting from the head (or start) node. While traversing, compare each node with its next node. If the data of the next node is the same as that of the current node, delete the next node. Before deleting a node, store the next pointer of the node.

Try solving now

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 the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Innovaccer
1816 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Innovaccer
1001 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 6 problems
Interviewed by Innovaccer
1154 views
0 comments
0 upvotes
company logo
Data Analyst
2 rounds | 3 problems
Interviewed by Innovaccer
1483 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15556 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15417 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10180 views
2 comments
0 upvotes