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

Associate Software Engineer

Optum
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: OOPS, SQL, DBMS, DSA(General Math, Arrays, Linked Lists, Trees, Graphs, BackTracking, DP)
Tip
Tip

Tip 1 : Make a proper schedule/ your own roadmap instead of depending on some random roadmap. 
Tip 2 : Practice the previous problems, keep an excel sheet to track the problems you have solved in the past.
Tip 3 : Consistency is the most important thing. Never underestimate yourself, you might take 1 month, 2 months or 8 months to prepare. But with right dedication, you will get placed at your dream company.

Application process
Where: Other
Eligibility: No Criteria, but having min CGPA>=6 is enough.
Resume Tip
Resume tip

Tip 1 : Mention what you know, what you are good at. 
Tip 2 : It would be good if the resume contains maximum two pages. One page would be perfect. Because companies would not go through the entire resume, they would try to find the important points only.

Interview rounds

01
Round
Easy
Video Call
Duration50 Minutes
Interview date11 Nov 2021
Coding problem2

Timing : Afternoon(Around 12 Pm)
The interviewer started with his Introduction and later asked 2 DSA Questions.

1. Shortest Distance

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

Ninjaland is a country consisting of ‘N’ states and ‘M’ paths. There are two types of paths that connect any two states. One is the normal path, and the other is a special path. Both paths have their respective lengths. You can use either of the paths to travel between two states. Your task is to determine the shortest distance between the two given states such that at most, one(possibly zero) special path is included in this path.

Note:
1. All the paths are directed.

2. Multiple paths can be present between two states.

3. All the states are connected with each other.

4. It does not have any self-loop.

5. At least one path always exists between the two given states.
For Example:
If ‘N’ = 3, ‘M’ = 2, and given values of paths are 
[ [1, 2, 2, 3],
  [2, 3, 4, 2] ]
You have to calculate the shortest distance between ‘X’ = 1 and ‘Y’ = 3

diagram

In the diagram, we can observe no direct edge from state 1 to state, 3 but we can go from state 1 to state 2 using the normal path of length 2 and then from state 2 to state 3 using the special path of length 2. So the total length will be 4, and we can clearly see that no other path can be smaller than this. Hence, the answer is 4.
Problem approach

1)First calculate how many steps you need to travel on the x-axis to reach the destination
2)Then calculate how many steps you need to travel on the y-axis to reach the destination
3)Add the no of steps you got from step1 and step2.

Try solving now

2. Minimum Direction Changes

Hard
50m average time
50% success
0/120
Asked in companies
AdobeAmazonOptum

Given a 2D grid having N Rows and M Columns. Each cell of the grid has a character among [ 'U', 'L', 'D', 'R' ] written on it, denoting Up, Left, Down, and Right respectively and indicating the direction in which it is permitted to move from that cell to its neighbor. Your task is to find the minimum number of cells whose direction value is required to be changed so that there exists a path from Top-Left to the Bottom-Right cell by following the directions written on the cells.

For example,
Consider the 2 * 2 grid

sample inp

Let's call the four cells in the grid as A,B,C,D. In this grid, it is allowed to move from Cell A to Cell B, Cell B to Cell D, Cell C to Cell D and Cell D to Cell C. There are two paths that start from A and ends at D:

1) A->C->D
To follow this path we need to change the value of cell A to “D” and do not need to change the value of cell C. Therefore, the total change for this path is 1.

2) A->B->D
To follow this path we need not to change any of the cell values. Therefore the total changes for this path is 0.

As we can see the minimum changes required to reach the bottom-right cell is Zero therefore the answer is 0 in this case.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date15 Nov 2021
Coding problem2

Timing : Afternoon(Around 10 Am)
The interviewer started with his Introduction and later asked 2 DSA Questions.
1)Questions based on N-QUEEN 
2)Questions based on String Manipulation

1. N Queens

Hard
55m average time
35% success
0/120
Asked in companies
Thought WorksTwitterAdobe

You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard.

A queen can be killed when it lies in the same row, or same column, or the same diagonal of any of the other queens. You have to print all such configurations.

Try solving now

2. String Transformation

Moderate
23m average time
0/80
Asked in companies
SprinklrWalmartBNY Mellon

Given a string (STR) of length N, you have to create a new string by performing the following operation:

Take the smallest character from the first 'K' characters of STR, remove it from STR and append it to the new string.

You have to perform this operation until STR is empty.

 Note:
The input string(STR) will not contain any spaces.

Assume that all characters in STR are lower case letters.

If characters less than 'K' remain, then append them in a sorted way to the new string.
Example:
Let the input string be "edcba" with K = 4.

Let the new string to be formed is initially empty, newString = "".
The first set of 4 characters are, ('e', 'd', 'c', 'b')
Out of these 4 characters, the smallest one is 'b' and hence we add it to the newString and it becomes, 
newString = "b"

The next set of 4 characters are, ('e', 'd', 'c', 'a')
Out of these 4 characters, the smallest one is 'a' and hence we add it to the newString and it becomes, 
newString = "ba"

Now we are left with "edc" and since we can't get a window of size 4, we sort them in the increasing order and append them to the newString.

Hence, newString thus formed will be "bacde".
Try solving now
03
Round
Medium
Video Call
Duration60 minutes
Interview date15 Nov 2021
Coding problem1

Timing : Afternoon(Around 1 Pm)
The interviewer started with his Introduction and later asked 2 DSA Questions and CS fundamentals.
1)DSA Question : 2 sum(Leetcode)
2)Questions based on String Manipulation
3)MySQL Queries
4)OOPS concepts

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

1)Brute force : using 2 iterations(TC : O(N**2) , SC : O(1))
2)Optimized way : Using an extra space like a dictionary.(TC : O(N) , SC : O(N))

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 recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by Optum
1403 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 3 problems
Interviewed by Optum
1513 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Optum
2819 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Optum
1285 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Associate Software Engineer
3 rounds | 10 problems
Interviewed by Amdocs
2370 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 4 problems
Interviewed by Amdocs
1933 views
0 comments
0 upvotes
company logo
Associate Software Engineer
3 rounds | 10 problems
Interviewed by Amdocs
1192 views
0 comments
0 upvotes