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

Software Engineer

UHG
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: C++, Data Structures and Algorithms, Projects, Core Subjects
Tip
Tip

Tip 1 : Be prepared with whatever mentioned in your Resume
Tip 2 : Be prepared with your Projects

Application process
Where: Referral
Eligibility: 2 Years Experience
Resume Tip
Resume tip

Tip 1 : Describe the technologies, on which you have worked
Tip 2 : Provide your coding platform links

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date8 Jul 2022
Coding problem2

50 MCQ questions based on Core Fundamentals subjects like OS, DBMS and Computer Networks. 1 Coding Question and 1 SQL Question

1. Longest Palindromic Substring

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

You are given a string ('STR') of length 'N'. Find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the one with the smaller start index.

Note:
A substring is a contiguous segment of a string.

For example : The longest palindromic substring of "ababc" is "aba", since "aba" is a palindrome and it is the longest substring of length 3 which is a palindrome, there is another palindromic substring of length 3 is "bab" since "aba" starting index is less than "bab", so "aba" is the answer.

Problem approach

This Problem was based on dynamic Programming where I use consider 3 cases - one for single chars, one for double chars and other was for remaining ones.

Try solving now

2. DBMS

Write a SQL query to fetch records of employees who joined after January 2005 and are having a pay greater than 25000.

Problem approach

Practice SQL Queries

02
Round
Easy
Face to Face
Duration45 minutes
Interview date12 Jul 2022
Coding problem2

Asked 2 Coding question

1. Palindrome Linked List

Easy
20m average time
90% success
0/40
Asked in companies
Livekeeping (An IndiaMART Company)AppleThought Works

You are given a singly Linked List of integers. Your task is to return true if the given singly linked list is a palindrome otherwise returns false.

For example:
The given linked list is 1 -> 2 -> 3 -> 2-> 1-> NULL.

It is a palindrome linked list because the given linked list has the same order of elements when traversed forwards and backward​.
Follow Up:
Can you solve the problem in O(N) time complexity and O(1) space complexity iteratively?
Problem approach

Not a tough Problem, I divide Linked list in 2 parts from middle and reverse 1 part and then compare both of them

Try solving now

2. Rotate Matrix K times

Moderate
0/80
Asked in companies
UHGZoho CorporationJosh Technology Group

Given a matrix, clockwise rotate elements in it K times. Rotating the matrix by 90 degrees clockwise will be counted as 1.

See the sample input.

Problem approach

I told 2 approaches one is simple to iterate through every index of the matrix and the other is using 2 pointer Approach

Try solving now
03
Round
Easy
Face to Face
Duration40 Minutes
Interview date12 Jul 2022
Coding problem1

This round is basically based on OOPS Concepts of C++, JavaScript and React based questions as I did project on them, and lot of Questions of OS, CN, DBMS.

1. Missing Number

Moderate
30m average time
70% success
0/80
Asked in companies
HSBCSterlite Technologies LimitedSamsung

You are given an array/list ‘BINARYNUMS’ that consists of ‘N’ distinct strings which represent all integers from 0 to N in binary representation except one integer. This integer between 0 to ‘N’ whose binary representation is not present in list ‘BINARYNUMS’ is called ‘Missing Integer’.

Your task is to find the binary representation of that ‘Missing Integer’. You should return a string that represents this ‘Missing Integer’ in binary without leading zeros.

Note

1. There will be no leading zeros in any string in the list ‘BINARYNUMS’.

Example:

Consider N = 5 and the list ‘binaryNums’=  [“0”, “01”, “010”, “100”, “101”].  This list consists of the binary representation of numbers [0, 1, 2, 4, 5]. Clearly, the missing number is 3 and its binary representation will be “11”. So you should return string “11”.
Problem approach

I told 3 Approaches : One was using extra Space by creating an vector Array, other is using xor and last one was by calculating Sum.

Try solving now
04
Round
Easy
HR Round
Duration25 Minutes
Interview date15 Jul 2022
Coding problem1

It was a basic HR Round

1. Basic HR Questions

  • What are your strengths and weakness?
  • Tell me about your family background
  • What do you know about work ethics here?
Problem approach

Just stay confident and remain calm.

Reply with a smile

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
Software Engineer
2 rounds | 6 problems
Interviewed by UHG
2823 views
0 comments
0 upvotes
Data Scientist
1 rounds | 4 problems
Interviewed by UHG
1301 views
0 comments
0 upvotes
Software Engineer
3 rounds | 2 problems
Interviewed by UHG
1716 views
0 comments
0 upvotes
Senior Systems Engineer
4 rounds | 7 problems
Interviewed by UHG
1163 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7873 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9972 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4309 views
1 comments
0 upvotes