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

Software Engineer

Unacademy
upvote
share-icon
3 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2
Topics: Data Structures, Algorithm, DBMS, Networking,Operating Systems
Tip
Tip

Tip 1 : Practice questions on DS Algorithm ( array/string/DP/trees)
Tip 2 : Prepare SQL queries and normalization.

Application process
Where: Linkedin
Eligibility: No
Resume Tip
Resume tip

Tip 1 : Descriptive
Tip 2 : Work ex should be prioritized.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date3 Feb 2021
Coding problem1

It was easy and standard questions were asked.

1. Remove Duplicates from Sorted Array

Easy
15m average time
85% success
0/40
Asked in companies
UnacademyAmerican ExpressGoldman Sachs

You are given a sorted integer array 'arr' of size 'n'.


You need to remove the duplicates from the array such that each element appears only once.


Return the length of this new array.


Note:
Do not allocate extra space for another array. You need to do this by modifying the given input array in place with O(1) extra memory. 


For example:
'n' = 5, 'arr' = [1 2 2 2 3].
The new array will be [1 2 3].
So our answer is 3.
Problem approach

Create a temporary array temp[] to store unique elements.
Traverse input array and one by one copy unique elements of arr[] to temp[]. Also keep track of count of unique elements. Let this count be h.
Copy h elements from temp[] to arr[] and return j

Try solving now
02
Round
Easy
Video Call
Duration40 Minutes
Interview date17 Feb 2021
Coding problem1

Medium questions on tree

1. Sum root to leaf

Easy
10m average time
90% success
0/40
Asked in companies
Morgan StanleyCoinbaseAmazon

You are given an arbitrary binary tree consisting of N nodes where each node is associated with a certain integer value from 1 to 9. Consider each root to leaf path as a number.

For example:

       1
      /  \
     2    3

The root to leaf path 1->2 represents the number 12.
The root to leaf path 1->3 represents the number 13.

Your task is to find the total sum of all the possible root to leaf paths.

In the above example,

The total sum of all the possible root to leaf paths is 12+13 = 25
Note:
The output may be very large, return the answer after taking modulus with (10^9+7).
Problem approach

The idea is to do a preorder traversal of the tree. In the preorder traversal, keep track of the value calculated till the current node, let this value be val. For every node, we update the val as val*10 plus node’s data.

Try solving now
03
Round
Easy
HR Round
Duration30 Minutes
Interview date27 Feb 2021
Coding problem0

It was easy and standard questions were asked.

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
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Unacademy
2220 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
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes