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

SDE - 1

UHG
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: C++, DSA, SQl, Puzzles, NoSQL, DataBases, Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Reseach past experience well
Tip 2 : Never be nervous 
Tip 3 : Apply only when you are prepared with SQL and DSA

Application process
Where: Other
Eligibility: 7.5 CGPA
Resume Tip
Resume tip

Tip 1 : Write your internship and project well
Tip 2 : be prepared with all the things you have written, even with the finer details.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date17 Jul 2021
Coding problem1

MCQ and 1 coding question,Computer Science Fundamentals with Aptitude. and coding question was based on DP.

1. Longest Common Subsequence

Moderate
0/80
Asked in companies
AmazonVisaRed Hat

You have been given two Strings “STR1” and “STR2” of characters. Your task is to find the length of the longest common subsequence.

A String ‘a’ is a subsequence of a String ‘b’ if ‘a’ can be obtained from ‘b’ by deletion of several (possibly, zero or all) characters. A common subsequence of two Strings is a subsequence that is common to both Strings.

Problem approach

1. Draw a 2D matrix.
2. Plot the subsequce and genereted pattern will get you answer for for loop.

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date15 Sep 2021
Coding problem2

1. Best Time to Buy and Sell Stock

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

You are given an array/list 'prices' where the elements of the array represent the prices of the stock as they were yesterday and indices of the array represent minutes. Your task is to find and return the maximum profit you can make by buying and selling the stock. You can buy and sell the stock only once.

Note:

You can’t sell without buying first.
For Example:
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
Problem approach

1. Create a array,and two temp variable'
2. Travesese the array from left to right and find the local maximum from left to right and store in array at the index.
3. Traverse the array and find the maximum to index.

Try solving now

2. Puzzle

Two trains are on same track and they are coming toward each other. The speed of the first train is 50 km/h and the speed of the second train is 70 km/h. A bee starts flying between the trains when the distance between two trains is 100 km. The bee first flies from first train to second train. Once it reaches the second train, it immediately flies back to the first train … and so on until trains collide. Calculate the total distance travelled by the bee.

Problem approach

Tip 1 : Basic relative speed formula
Tip 2 : Distance = Speed of bee * distance /(Speed of left left + speed of right train )

03
Round
Easy
HR Round
Duration30 Minutes
Interview date15 Sep 2021
Coding problem1

On a phone call, Basic introduction, extra curricular Activities, location preference and salary discussion.

1. Basic HR Questions

Introduction of yourself

Location Preferences

when can you join office?

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
SDE - 1
3 rounds | 11 problems
Interviewed by UHG
1557 views
0 comments
0 upvotes
SDE - 1
5 rounds | 12 problems
Interviewed by UHG
840 views
0 comments
0 upvotes
Software Engineer
3 rounds | 2 problems
Interviewed by UHG
1717 views
0 comments
0 upvotes
SDE - 1
4 rounds | 4 problems
Interviewed by UHG
925 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes