Info Edge India (Naukri.com) interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

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

Interview preparation journey

expand-icon
Journey
So, I was looking for change in job and I applied for the post through a Referral. After applying, I practiced hard for it. But I was not selected.
Application story
I did not came from engineering background, so I started my coding journey on YouTube, where I first learned data structures and algorithms. Then I started my preparation of Data Structures from Coding Ninjas.
Why selected/rejected for the role?
I was not able to answer the optimal approach for a problem, That's why I think I was rejected in the interview.
Preparation
Duration: 12 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Practice at least 100 coding question.
Tip 2 : Mention some good projects on resume. 
Tip 3 : Be confident.

Application process
Where: Referral
Eligibility: Above 2 years of experience in computer or computer applications.
Resume Tip
Resume tip

Tip 1 : Keep it limited to 1 page. And make sure it's a pdf and not an image. 
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date5 Jan 2023
Coding problem3

3 questions had to be solved within 90 minutes. Questions were in story format but basic concept used is the one I mentioned.

1. Count derangements

Moderate
35m average time
60% success
0/80
Asked in companies
AmazonInfo Edge India (Naukri.com)OLX Group

A Derangement is a permutation of ‘N’ elements, such that no element appears in its original position. For example, an instance of derangement of {0, 1, 2, 3} is {2, 3, 1, 0}, because 2 present at index 0 is not at its initial position which is 2 and similarly for other elements of the sequence.

Given a number ‘N’, find the total number of derangements possible of a set of 'N’ elements.

Note:
The answer could be very large, output answer %(10 ^ 9 + 7).
Try solving now

2. Majority element

Easy
15m average time
85% success
0/40
Asked in companies
AmazonInfo Edge India (Naukri.com)HCL Technologies

You have been given an array/list 'ARR' consisting of 'N' integers. Your task is to find the majority element in the array. If there is no majority element present, print -1.

Note:
A majority element is an element that occurs more than floor('N' / 2) times in the array.
Problem approach

used hashmap approach

Try solving now

3. Count of Smaller Elements

Hard
45m average time
55% success
0/120
Asked in companies
HCL TechnologiesAppleOYO

Given an array of size 'N' return the count array such that COUNT[i] equals the number of element which are smaller than ARR[ i ] on its the right side.

For Example : ARR = [4,2,1,5] the count array corresponding to the given array is :-.

The Number of elements smaller than 4 on its right side is 2.
The Number of elements smaller than 2 on its right side is 1.
The Number of elements smaller than 1 on its right side is 0.
The Number of elements smaller than 5 on its right side is 0.
Hence the count array is [2,1,0,0]
Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date11 Jan 2023
Coding problem3

The interviewer was very interactive. Questions were about System Design and DSA.

1. Design snake and ladder game

Design snake and ladder game (Learn)

Problem approach

Tip 1 : Practice system design
Tip 2 : Ask relevant doubts.

2. Maximum of All Subarrays of Size K

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

You are given an array “A” of N integers. Your task is to find the maximum element in all K sized contiguous subarrays from left to right.

For Example:
If A = [3, 2, 3], and K = 2.
Then max of [3, 2] = 3 and max of [2, 3] = 3
So, the answer will be [3, 3]

If A = [3, 2, 3, 5, 1, 7] and K = 3.
Then max of [3, 2, 3] = 3 
Then max of [2, 3, 5] = 5 
Then max of [3, 5, 1] = 5 
Then max of [5, 1, 7] = 7 
So  the answer will be [3, 5, 5, 7]
Follow Up :
Can you solve the problem in O(N) time complexity and O(K) space complexity?
Problem approach

Just Slide the window and for duplicates we will use hashmap instead of a hashset.
We will discard any element if its count becomes zero in a window.

Try solving now

3. Construct Binary Tree From Inorder and Preorder Traversal

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

You have been given the preorder and inorder traversal of a binary tree. Your task is to construct a binary tree using the given inorder and preorder traversals.


Note:
You may assume that duplicates do not exist in the given traversals.
For example :
For the preorder sequence = [1, 2, 4, 7, 3] and the inorder sequence = [4, 2, 7, 1, 3], we get the following binary tree.

Example

Problem approach

Used queue based approach.

Try solving now
03
Round
Easy
Video Call
Duration60 minutes
Interview date13 Jan 2023
Coding problem1

1. Design Database for hotel booking

Design Database for hotel booking (Learn)

Problem approach

Tip 1 : Practice system design
Tip 2 : Ask relevant doubts.

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
Software Engineer
3 rounds | 4 problems
Interviewed by Info Edge India (Naukri.com)
907 views
0 comments
0 upvotes
Software Engineer
2 rounds | 3 problems
Interviewed by Info Edge India (Naukri.com)
0 views
0 comments
0 upvotes
Software Engineer
4 rounds | 7 problems
Interviewed by Info Edge India (Naukri.com)
644 views
0 comments
0 upvotes
Software Engineer
5 rounds | 4 problems
Interviewed by Info Edge India (Naukri.com)
906 views
2 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes