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

SDE - 1

Emergent
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Application story
I applied on Naukri.com. HR called to ask if I was interested, and if yes, asked about my current and expected salary. Then, they explained the process.
Why selected/rejected for the role?
I was rejected. I was able to solve the DSA question, and two common topics related to distributed systems were also asked, which I answered, but I didn’t hear back afterward.
Preparation
Duration: 2.5 months
Topics: Arrays, Dynamic Programming, Monotonic Stack, Two Pointers, Linked List
Tip
Tip

Tip 1: Prepare all standard DSA questions thoroughly.
Tip 2: Prepare common system design topics. For ex - Distributed Lock.
Tip 3: Practice explaining your solution beforehand.

Application process
Where: Naukri
Eligibility: NA, (Salary package: 28 LPA)
Resume Tip
Resume tip

Tip 1: Have your tech stack at the top of your resume for better visibility.
Tip 2: Highlight your achievements clearly to make your profile stand out.

Interview rounds

01
Round
Easy
Video Call
Duration80 minutes
Interview date26 Mar 2026
Coding problem2

1. Palindrome number

Easy
0/40
Asked in company
Emergent

Check whether a given number ’n’ is a palindrome number.

Note :
Palindrome numbers are the numbers that don't change when reversed.
You don’t need to print anything. Just implement the given function.
Example:
Input: 'n' = 51415
Output: true
Explanation: On reversing, 51415 gives 51415.
Problem approach

First gave naive approach of converting the integer to a string and checking if the string is a palindrome or not.
Then told about the optimized approach of checking the last half of the string to match the first half such that to only compare the halfs of the strings.

Try solving now

2. 4Sum

Moderate
30m average time
60% success
0/80
Asked in company
Emergent

You are given an array ‘NUMS’ of length ‘N’. You are also given an integer ‘TARGET’.


Return an array of all the unique quadruplets [ ‘NUMS[ a ]’, ‘NUMS[ b ]’, ‘NUMS[ c ]’, ‘NUMS[ d ]’ ] with the following conditions:


i. 0 <= a, b, c, d < ‘N’ and a, b, c, and d are distinct.

ii. NUMS[ a ] + NUMS[ b ] + NUMS[ c ] +NUMS[ d ] = TARGET


Return the array in any order.


Note:


(NUMS[ a ], NUMS[ b ], NUMS[ c ], NUMS[ d ]), (NUMS[ a ], NUMS[ d ], NUMS[ c ], NUMS[ b ]), (NUMS[ a ], NUMS[ c ], NUMS[ b ], NUMS[ d ])... all of them are treated or considered the same quadruplets.


Two quadruplets are different if there is any integer in one quadruplet which is not in the other.


The solution will be verified by the number of valid quadruplets returned. In the output, only the number of valid quadruplets will be printed.


Example:
Input: ‘N’ = 5,  ‘TARGET’ = 5, ‘NUMS’ = [ 1, 2, 1, 0, 1 ]

Output: 1.

There is only one unique quadruplet with sum = 5 and that is [1, 2, 1, 1].
Problem approach

The idea is to reduce the 4Sum problem into a combination of sorting + two pointers, similar to how we solve 3Sum.
First, I sort the array. This helps in:
Efficient traversal
Avoiding duplicates
Using the two-pointer technique
Then, I fix the first two elements using two loops:
The outer loop picks the first number i
The inner loop picks the second number j
Now, for the remaining two elements, I use a two-pointer approach:
One pointer (left) starts just after j
Another pointer (right) starts from the end of the array

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which data structure is used to implement a DFS?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
9191 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
1002 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3586 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2856 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115355 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58428 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35236 views
7 comments
0 upvotes