Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Info Edge India (Naukri.com) interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Info Edge India (Naukri.com)
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
In our college, there were limited opportunities, so my only choices were to either work hard for placements or prepare for an M.Tech. However, I wanted a placement as I was good at DSA. I practiced extensively on various online platforms and was able to perform well in both my off-campus and on-campus interviews.
Application story
Off-campus hiring for the SDE-1 role was announced by the company. I applied through a referral and received a test link from the recruiter, followed by interviews.
Why selected/rejected for the role?
Rejected. The 2nd round DSA questions were a bit difficult, and I was unable to provide a good approach for the second question. Otherwise, my interviews went fine.
Preparation
Duration: 12 Months
Topics: Data Structures, Algorithms, Database, System Design, Operating Systems
Tip
Tip

Tip 1: Practice data structure questions as much as you can. Also, be confident in your solution during the interview. For practice, you can refer to Coding Ninjas.
Tip 2: Review previously asked questions from the company.

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1: Keep it short. Mention the academic and professional projects you have completed. Include your educational details properly, along with the percentage or CGPA obtained.
Tip 2: Only include information in the resume that you are confident about and keep practicing.

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date20 May 2022
Coding problem2

This round was entirely focused on DSA, and the interviewer asked only basic DSA questions along with a few related to my resume.

1. Next Greater Element

Easy
10m average time
90% success
0/40
Asked in companies
IBMInfo Edge India (Naukri.com)Amazon

You are given an array 'a' of size 'n'.



The Next Greater Element for an element 'x' is the first element on the right side of 'x' in the array, which is greater than 'x'.


If no greater elements exist to the right of 'x', consider the next greater element as -1.


For example:
Input: 'a' = [7, 12, 1, 20]

Output: NGE = [12, 20, 20, -1]

Explanation: For the given array,

- The next greater element for 7 is 12.

- The next greater element for 12 is 20. 

- The next greater element for 1 is 20. 

- There is no greater element for 20 on the right side. So we consider NGE as -1.
Try solving now

2. Palindrome Count

Hard
30m average time
65% success
0/120
Asked in companies
AdobeInfo Edge India (Naukri.com)

Ninja loves to play with strings and anagrams. A palindrome is a string that is read the same backward or forward. An anagram is a string that is formed by rearranging the characters of the string. Ninjas have been given a string ‘STR’, and asked to find the number of substrings whose anagram is palindromic.

Try solving now
02
Round
Hard
Video Call
Duration60 Minutes
Interview date25 May 2022
Coding problem2

This round was challenging for me, as the DSA questions were quite difficult, and the interviewer set a specific time limit to complete each question.

1. Median in a stream

Hard
50m average time
50% success
0/120
Asked in companies
Disney + HotstarAmazonMakeMyTrip

Given that integers are read from a data stream. Your task is to find the median of the elements read so far.

Median is the middle value in an ordered integer list. If the size of the list is even there is no middle value. So the median is the floor of the average of the two middle values.

For example :
[2,3,4] - median is 3.
[2,3] - median is floor((2+3)/2) = 2.


Try solving now

2. Matrix Chain Multiplication

Moderate
40m average time
60% success
0/80
Asked in companies
WalmartInfo Edge India (Naukri.com)Morgan Stanley

Given a chain of matrices A1, A2, A3,.....An. Your task is to find out the minimum cost to multiply these matrices. The cost of matrix multiplication is defined as the number of scalar multiplications. A Chain of matrices A1, A2, A3,.....An is represented by a sequence of numbers in an array ‘arr’ where the dimension of 1st matrix is equal to arr[0] * arr[1] , 2nd matrix is arr[1] * arr[2], and so on.

For example:

For arr[ ] = { 10, 20, 30, 40}, matrix A1 = [10 * 20], A2 = [20 * 30], A3 = [30 * 40]

Scalar multiplication of matrix with dimension 10 * 20 is equal to 200.
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

When does a stack underflow occur?

Choose another skill to practice
Start a Discussion
Similar interview experiences
SDE - 1
3 rounds | 8 problems
Interviewed by Info Edge India (Naukri.com)
736 views
0 comments
0 upvotes
SDE - 1
3 rounds | 8 problems
Interviewed by Info Edge India (Naukri.com)
460 views
0 comments
0 upvotes
SDE - 1
4 rounds | 9 problems
Interviewed by Info Edge India (Naukri.com)
523 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Info Edge India (Naukri.com)
503 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
105317 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
50217 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31280 views
6 comments
0 upvotes