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

Senior Software Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Data Structures and Algorithms, Coding and Problem Solving, System Design, Behavioural Questions.
Tip
Tip

Tip 1 : Practice coding questions, preferably from leetcode/hackerrank
Tip 2 : Practice system design questions.
Tip 3 : Know about core Java concepts, working of data structures etc.

Application process
Where: Referral
Eligibility: NA
Resume Tip
Resume tip

Tip 1 : Have explanation of projects mentioned in resume.
Tip 2 : Be comfortable in technologies mentioned in resume.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date6 Jun 2022
Coding problem1

Taken by a third party hiring service, like a screening round. Mostly based on writing optimal code for data structures.

1. Longest Subsequence With Difference One

Moderate
30m average time
70% success
0/80
Asked in companies
HSBCAmazonCIS - Cyber Infrastructure

You are given an array “nums” of size N. Your task is to find the length of the longest subsequence of array “nums” such that the absolute difference between every adjacent element in the subsequence is one.

For Example:
If “nums” = {2, 1, 3}.

The valid non-empty subsequences of the array are {2}, {1}, {3}, {2, 1}, {1, 3}, {2, 3} and {2, 1, 3}. So, the longest subsequence satisfying the given conditions are {2, 1} and {2, 3}. The length of the longest subsequence is 2. So, the answer is 2.

The subsequence of an array is a sequence of numbers that can be formed by deleting some or no elements without changing the order of the remaining elements. For example, if the given array “nums” = {1, 2, 5, 4, 8}, then {1, 2, 5, 4, 8}, {1, 5, 8}, {2} are some of the valid subsequences whereas the sequence {4, 2} is not a valid subsequence as the order of the elements differ from the original array.

Note:
Any subsequence of length = 1 is also a valid subsequence.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date7 Jun 2022
Coding problem4

Java and problem solving questions were asked. Some small machine coding questions too were asked.

1. System Design Question

Design a web crawler that visits all the http links in a given set of documents recursively (following links within links). The documents can be millions in number. Address possible issues such as system outage, revisiting links, circular dependency while crawling recursively etc.

2. Subset Sum

Easy
0/40
Asked in companies
SAP LabsOlaAmazon

You are given an array 'nums' of ‘n’ integers.


Return all subset sums of 'nums' in a non-decreasing order.


Note:
Here subset sum means sum of all elements of a subset of 'nums'. A subset of 'nums' is an array formed by removing some (possibly zero or all) elements of 'nums'.


For example
Input: 'nums' = [1,2]

Output: 0 1 2 3

Explanation:
Following are the subset sums:
0 (by considering empty subset)
1 
2
1+2 = 3
So, subset sum are [0,1,2,3].
Try solving now

3. Contains Duplicate II

Moderate
35m average time
75% success
0/80
Asked in company
Amazon

Given an array 'arr' of 'N' integers and an integer 'K'. The array 'arr' may contain duplicate integers. Return "true" if the array contains any duplicate element within the 'K' distance from each other, otherwise, return "false".

Try solving now

4. System Design Question

Design a logging framework, its classes, interfaces and configuration.

03
Round
Easy
HR Round
Duration60 minutes
Interview date8 Jun 2022
Coding problem1

HM questions like motivation to join, past projects etc. One system design question too.

1. System Design Question

Design Facebook Messenger.


 

Problem approach

Tip 1 : Think about scale
Tip 2 : Include functionality as experienced in application
Tip 3 : Ask clarifying questions

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
Business Development Executive
2 rounds | 1 problems
Interviewed by UpGrad pvt ltd
0 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 6 problems
Interviewed by Arcesium
3733 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Ernst & Young (EY)
4983 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
3013 views
3 comments
0 upvotes