Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Optum interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Optum
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structures,DBMS,SQL,OOPS, Algorithms
Tip
Tip

Tip 1 : Focus on problem solving and quality questions, rather than number of questions
Tip 2 : Practice Mock interviews with your friends and work on explaining skills
Tip 3 : Prepare short notes for theory subjects
Tip 4 : All aspects of project must be carefully evaluated before mentioning in resume

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

Tip 1 : Simple and crispy
Tip 2 : Not entire description of project just a brief is fine

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date6 Aug 2020
Coding problem1

Online coding round was conducted in evening at 5:00 PM
Round was on Hacker rank, Strict proctoring was there and no tabs switching was allowed

1. Binary to Decimal

Easy
15m average time
80% success
0/40
Asked in companies
OptumMathworksTata Consultancy Services (TCS)

Ninja is given a binary number as a string ‘S’ of size ‘N’, he is asked to convert it into its decimal equivalent (as an Integer) and print it.

Note:

A binary string is a string in which all characters are either ‘1’ or ‘0’.
Try solving now
02
Round
Medium
Video Call
Duration40 minutes
Interview date13 Aug 2020
Coding problem3

This was an Video interview round
Interview was conducted around 11:30 AM
Platform : Cisco Webex
Interview was very friendly and always helped whenever i was stucked

1. Pair Of Primes

Moderate
15m average time
85% success
0/80
Asked in companies
Tata Consultancy Services (TCS)Goldman SachsInfosys

Given a positive even integer 'K', your task is to find two prime numbers whose sum is equal to 'K'. If there are multiple answers, you may find any.

Example , for K = 4 the pair is ( 2, 2) , For K = 10 the pair is ( 3, 7).

Note :
It is guaranteed that 'K' will always be greater than two.
Try solving now

2. SQL Question

SQL query to find the Nth salary in the database

3. Puzzle

There are 1000 wine bottles. One of the bottles contains poisoned wine. A rat dies after one hour of drinking the poisoned wine. How many minimum rats are needed to figure out which bottle contains poison in hour. 

03
Round
Medium
Video Call
Duration30 Minutes
Interview date14 Aug 2020
Coding problem2

This was the second interview round
It was conducted around 3:00 PM

Intrview was very senior and silent, he didnt said anything and directly jumped to questions

1. Course Schedule II

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

You have been given ‘N’ courses and some courses may have prerequisites. Now consider a matrix ‘PREREQUISITES’ of size 'M' x 2 which represents that you must complete the course 'PREREQUISITES[i][1]' before the course 'PREREQUISITES[i][0]'.


Your task is to return the order of courses you should take to finish all courses.


Note:
If it is impossible to finish all courses, return an empty array. If there are multiple answers, return any one.


For example:
Input:
3 2
1 2
2 3

There are three courses to take. To start with, First course 3 is taken. Then course 2 is taken for which course 3 must be completed. 

At last course 1 is taken for which course 2 must be completed. So the correct course order is [3,2,1].    
Try solving now

2. OOPS Questions

Asked me about OOP pillars and Basic functioning of Pointers

Here's your problem of the day

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

Skill covered: Programming

How do you write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by Optum
629 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 2 problems
Interviewed by Optum
0 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Optum
567 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Optum
422 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
104644 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
49761 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31029 views
6 comments
0 upvotes