UpGrad pvt ltd interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

UpGrad pvt ltd
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I took admission in NSUT college in the computer science stream. I was advised by my seniors to practice DSA from the very start of B.Tech and I did not take that seriously. Honestly speaking, I regretted not taking their advice and in third year I started coding and I had to increase practice hours because I started late.
Application story
I applied for the post through the campus drive. After applying I practiced hard for it and the hardwork paid off at the last.
Why selected/rejected for the role?
I think I was on point with my coding solutions to the questions asked in the interviews. I provided the optimal solutions and I was giving correct explanations to some theory questions asked.
Preparation
Duration: 4 Months
Topics: Data Structures and Algorithms, Operating Systems, Computer Networks, Java
Tip
Tip

Tip 1 : Even if you are stuck in the problem, just give a try. The interviewer will help you definitely for sure.
Tip 2 : Prepare Data Structures and Algorithms well. They mostly check our Problem-Solving ability to find the solutions for the real world problems.
Tip 3 : Be enough confident, don't be nervous. Maintain at least 2 projects on your resume

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

Tip 1 : Mention atleast 2 projects.
Tip 2 : Mention your skills in which you are perfect.
Tip 3 : It should not be too long or too short

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 Minutes
Interview date5 Jan 2022
Coding problem2

Two coding questions were asked

1. 0 1 Knapsack

Easy
15m average time
85% success
0/40
Asked in companies
TwitterWalmartAmazon

A thief is robbing a store and can carry a maximal weight of W into his knapsack. There are N items and the ith item weighs wi and is of value vi. Considering the constraints of the maximum weight that a knapsack can carry, you have to find and return the maximum value that a thief can generate by stealing items.

Try solving now

2. 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.

Try solving now
02
Round
Medium
Face to Face
Duration60 Minutes
Interview date6 Jan 2022
Coding problem2

1. Split Array

Moderate
0/80
Asked in companies
SprinklrAdobeSalesforce

You are given an array ‘ARR’ of size ‘N’ and an integer ‘M’. You have to split the array into ‘M’ non-overlapping, non-empty subarrays such that the maximum of all the subarray’s sum is the minimum possible. Your task is to return the minimum of the maximum of all the subarray’s sum.

For example:
You are given ‘ARR’ = [7, 2, 6, 10, 8] and ‘M’ = 2. We split the array as [ 7, 2, 6] and [10, 8], the maximum of 7 + 2 + 6  and 10 + 8 is 18, which is the minimum possible.
Try solving now

2. Split the given array into K sub-arrays

Hard
15m average time
85% success
0/120
Asked in companies
AmazonTekion CorpTrilogy Innovations

You’re given an array 'arr' of size 'n' and an integer 'k'.

Your task is to split 'arr' into 'k' sub-arrays such that the maximum sum achieved from the 'k' subarrays formed must be the minimum possible.

A subarray is a contiguous part of the array.

Return the minimum possible value of the maximum sum obtained after splitting the array into 'k' partitions.


Example:
Input: ‘arr’ = [1, 1, 2] and ‘k’ = 2 

Output: 2

Explanation: If we want to make two subarrays, there are two possibilities: [[1], [1, 2]] and [[1, 1], [2]]. We can see that the maximum sum of any subarray is minimized in the second case. Hence, the answer is 2, which is the maximum sum of any subarray in [[1, 1], [2]].


Try solving now
03
Round
Easy
HR Round
Duration30 Minutes
Interview date6 Jan 2022
Coding problem1

1. Basic HR Questions

1. On a scale of 1 to 10 how would you rate yourself as a leader?

2. What makes you angry?

3. Ever gotten frustrated and then how you handled this ?

Problem approach

Tip 1 : Research about the company thoroughly
Tip 2 : Avoid any kind of hesitation while giving the answers
Tip 3 : Try to give practical and optimized approaches which shows some professionalism in you.

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
3 rounds | 3 problems
Interviewed by UpGrad pvt ltd
1246 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 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