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

SDE - 1

Mercer Mettl
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
My journey started when I was in 2nd year of my college and I saw my friends practicing coding questions and some learning new coding languages and developing some individual projects. After seeing them I started to think that I should also start to learn more and practice coding questions. When I practicing coding questions on platform like Codechef and Hackerrank it made me realize that I need to think more to solve difficult problems and due to that I developed a habit of solving them.
Application story
I started preparing for the companies since 2nd year of my college and when I heard that this company is coming to our college I wanted to get selected in it.
Why selected/rejected for the role?
I was rejected because i was not able to answer all the questions which were asked in the exam
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : OOPS - You should be well versed with basic OOPS principles
Tip 2 : You should be confident and have profound knowledge about the projects you worked on
Tip 3 : Basic DB concepts like joins, normalisation

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date27 Oct 2022
Coding problem2

1. Level Order Traversal

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

You have been given a Binary Tree of integers. You are supposed to return the level order traversal of the given tree.

For example:
For the given binary tree

Example

The level order traversal will be {1,2,3,4,5,6,7}.
Problem approach

You have been given a Binary Tree of integers. You are supposed to return the level order traversal of the given tree.

Try solving now

2. Minimize the Maximum

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

You are given an array of N integers and an integer K. For each array element, you are allowed to increase or decrease it by a value k. The task is to minimize the difference between the maximum element and the minimum element after modifications.

Problem approach

You are given an array of N integers and an integer K. For each array element, you are allowed to increase or decrease it by a value k. The task is to minimize the difference between the maximum element and the minimum element after modifications.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date27 Oct 2022
Coding problem2

1. Two and Four Wheeler Roads

Hard
48m average time
0/120
Asked in companies
Goldman SachsGartnerWells Fargo

There is a country with 'N' cities and 'M' bidirectional roads of 3 types.

Type 1: Two Wheeler Road, It means only vehicles having two wheels can use this road.
Type 2: Four Wheeler Road, It means only vehicles having four wheels can use this road.
Type 3: Both two and four Wheeler Road, It means this road can be used by both type of vehicles.

The problem is to find the maximum number of roads that can be removed such that a path exists for every pair of cities for each two-wheeler and four-wheeler vehicle.

Note:
1. Roads may form a cycle.

2. The cities do not have multiple same roads i.e all the roads are unique.

3. If every city cannot be reached, then return -1.
Problem approach

There is a country with 'N' cities and 'M' bidirectional roads of 3 types.
Type 1 : Two Wheeler Road, It means only vehicles having two wheels can use this road.
Type 2 : Four Wheeler Road, It means only vehicles having four wheels can use this road.
Type 3 : Both two and four Wheeler Road, It means this road can be used by both type of vehicles.
The problem is to find the maximum number of roads that can be removed such that a path exists for every pair of cities for each two-wheeler and four-wheeler vehicle.

Try solving now

2. Minimum Number of Platform Needed

Easy
23m average time
85% success
0/40
Asked in companies
Thought WorksGoldman SachsIntuit

You are given the arrival and departure times of N trains at a railway station in a day. You need to find the minimum of platforms required for the railway station such that no train waits i.e No train should wait for the platform to be clear or free.

Problem approach

You are given the arrival and departure times of N trains at a railway station in a day. You need to find the minimum of platforms required for the railway station such that no train waits i.e No train should wait for the platform to be clear or free.

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

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 6 problems
Interviewed by Mercer Mettl
852 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Mercer Mettl
1199 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Mercer Mettl
1170 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Mercer Mettl
1165 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes