Mobile Premier League (MPL) interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Mobile Premier League (MPL)
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2.5 months
Topics: Data Structures Algorithms1. Arrays, Strings, Queues, Stack, HashMap, HashSet, and Heap.2. LinkedList and Trees.System Design1. Vertical Scaling vs Horizontal Scaling, NoSQL vs SQL, Distributed System, Caching, CAP theorem.Java TheoryMultiThreading, Collections, Memory Management, and OOPS,
Tip
Tip

Tip 1 : Solved Leetcode Top Interview Questions(145 questions).
Tip 2 : Learn the Basic System design. 
Tip 3 : Focus on Data Structures and their Implementation.

Application process
Where: Linkedin
Eligibility: 1 year of experience in Java
Resume Tip
Resume tip

Tip 1 : Projects should be well defined.
Tip 2 : Mention your current role in your org.

Interview rounds

01
Round
Easy
Video Call
Duration60 Minutes
Interview date11 Apr 2022
Coding problem3

It was on Google meet.
Duration 60 mins.
The interviewer asked me to introduce myself. It was mandatory to turn on the camera.

1. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
OracleAmerican ExpressPayPal

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .


Return true if the given string 'S' is balanced, else return false.


For example:
'S' = "{}()".

There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Problem approach

I solved it by using the stack data structure.
1. if the current element of the string will be opening bracket then we will just simply push it into the stack.
2. if control comes to the else part, it means that the current element is a closing bracket, so check two conditions current element matches with the top of the stack, and the stack must not be empty.

Try solving now

2. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
Chegg Inc.FacebookAmazon

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Problem approach

The key to the problem is that there is ALWAYS only 1 pair of numbers that satisfy the condition of adding together to be the target value.
We can assume that for all the numbers in the list (x1, x2, ... xn) that there exists a pair such that xa + xb = target
To solve this with a single pass of the list we can change the equation above to xa = target - xb and since we know the target as long as we maintain a record of all previous values in the list we can compare the current value (xa) to it's ONLY pair, if it exists, in record of all previous values (xb)

To keep a record of the previous values and their indices I have used a dictionary. Commonly known as a map in other languages. This allows me to record each previous number in the dictionary alongside the indice as a key value pair (target-number, indice)

Try solving now

3. Number Of Pairs With Given Sum

Moderate
39m average time
60% success
0/80
Asked in companies
Goldman SachsAmazonSamsung

You have been given an integer array/list(arr) and a number 'Sum'. Find and return the total number of pairs in the array/list which when added, results equal to the 'Sum'.

Note:
Given array/list can contain duplicate elements.

(arr[i],arr[j]) and (arr[j],arr[i]) are considered same.
Problem approach

1. Create a map to store frequency of each number in the array. (Single traversal is required)
2. In the next traversal, for every element check if it can be combined with any other element (other than itself!) to give the desired sum. Increment the counter accordingly.
3. After completion of second traversal, we’d have twice the required value stored in counter because every pair is counted two times. Hence divide count by 2 and return.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date21 Apr 2022
Coding problem2

It was 60 mins round with the engineer manager in MPL

1. System Design Question

We need to design a system that can retrieve and post the game history data. We will receive the timestamps and we have to retrieve all the games played during this time interval in the quickest way possible.
E.g Retrieve the Games played in the last 7 days.

Problem approach

Tip 1 : Get the requirement clarified by asking some questions like how much data will be in the system.
Tip 2 : Don't Jump directly on using Redis cache or NoSQL.
Tip 3 : Start with a basic Data structure that could be used here example hashtables or SortedMap.

2. System Design Question

Design the Login of Amazon.

Problem approach

Tip 1 : Lot of users will log in daily. Caching can be used.
Tip 2 : What database could be used NoSQL or SQL.
Tip 3 : Database schemas

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
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2581 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