Mphasis pvt limited interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Mphasis pvt limited
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
Before applying for this role, I worked as a software developer at Expedia and Arcesium. I worked for many years in both companies and learned a lot by working there as a software developer. As soon as I saw a job opening for Mphasis, I started preparing for DSA again. I went through previous interview experiences and started giving mock interviews to master coding skills again.
Application story
I saw a job opening on the company's website. I reached out to a lot of people on LinkedIn for a referral. One of the employees agreed to give me a referral. So, I applied through his referral, and they called me for the interview rounds. The interviews went on smoothly, and I got selected.
Why selected/rejected for the role?
In the aptitude round, I had to answer multiple-choice questions on logical reasoning, verbal ability, and quantitative aptitude. I cleared this round with a good score and moved on to the technical round. In the technical round, I had to demonstrate my skills and knowledge in Core Java, Hibernate, Spring Boot and SQL. I was confident about my performance in this round as I have been learning and practicing these skills for a long time. The final round was the HR round, where I had to interact with the HR manager and discuss my career goals, expectations, strengths, and weaknesses. I tried to be honest and professional in this round and showcase my enthusiasm and passion for digital learning. I think what made me stand out from the other candidates was my ability to communicate effectively, work collaboratively, and learn new things quickly.
Preparation
Duration: 6 months
Topics: Data Structures, Algorithms, Database, System Design, Operating Systems
Tip
Tip

Tip 1 : Definitely practice DSA.
Tip 2 : Do some basic development.
Tip 3 : Be ready to explain your projects.

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

Tip 1 : Don't clutter skills section.
Tip 2 : To the point and precise.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date9 Feb 2023
Coding problem2

1. Minimum Cost Path

Moderate
25m average time
70% success
0/80
Asked in companies
OlaHCL TechnologiesHCL Technologies

You have been given a matrix of ‘N’ rows and ‘M’ columns filled up with integers. Find the minimum sum that can be obtained from a path which from cell (x,y) and ends at the top left corner (1,1).

From any cell in a row, we can move to the right, down or the down right diagonal cell. So from a particular cell (row, col), we can move to the following three cells:

Down: (row+1,col)
Right: (row, col+1)
Down right diagonal: (row+1, col+1)
Try solving now

2. Social Networking Graph

Moderate
15m average time
85% success
0/80
Asked in companies
AdobeIBM

You are given a graph with 'N' nodes numbered 1 to 'N', and 'E' edges, and you have to solve 'M' queries. Each query consists of two integers 'S' and 'T'. Your task is to find the count of nodes that are at a distance of 'T' from the node 'S'.

Two nodes that are directly connected with each other are considered to be at a distance of 1 unit. While two nodes having a common contact without having direct connectivity, are considered to be at a distance of 2 units. In a similar manner, we can calculate distances between nodes.

Note:

The graph may contain cycles.
Try solving now
02
Round
Easy
Face to Face
Duration60 Minutes
Interview date5 Apr 2023
Coding problem2

1. NINJA’S SHIKANJI

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

Ninja opened a shikanji’s stall to earn a living for him. In his stall, each shikanji drinks cost ‘5$’. Customers are standing in the form queue and each customer either pays ‘5$, 10$, 20$ ‘ so now Ninja has to give them change so that each customer exactly pays ‘5$’.

So now help the ninja to find out whether he is able to charge exactly ‘5$’ from each customer by providing them the change.

So your task is to write a code to check whether ninja can provide change to the customer if they paid extra to him. You will be provided with the ‘BILL_ARR’ array denoting the amount paid by each customer you have to return ‘True’ if it is possible else you have to return ‘False’.

Example:

Suppose given ‘BILL_ARR’ array is { 5, 5, 5, 10, 20 } so we return ‘True’ for this test case as from first ‘3’ customers we take ‘5$’ from each customer then ‘4th’ customer give ‘10$’ we give him ‘5$’ back now we have ‘2’, ‘5$’ note and ‘1’, ‘10$’ note than ‘5th’ customer give ‘20$’ so we give him back one ‘10$’ and one ‘5$’ note.
Try solving now

2. Convert Bst To The Greater Sum Tree

Moderate
30m average time
70% success
0/80
Asked in companies
CultfitMathworksIntuit

You have been given a Binary Search Tree of integers. You are supposed to convert it to a greater sum tree such that the value of every node in the given BST is replaced with the sum of the values of all the nodes which are greater than the value of the current node in the tree.

A Binary Search Tree is a tree, whose internal nodes each store a value greater than all the values in the node's left subtree and less than those in its right subtree.

Note :

You need to modify the given tree only. You are not allowed to create a new tree.
For example:
For the given binary search tree

Example

11 will be replaced by {15 + 29 + 35 + 40}, i.e. 119.
2 will be replaced by {7 + 11 + 15 + 29 + 35 + 40}, i.e. 137.
29 will be replaced by {35 + 40}, i.e. 75.
1 will be replaced by {2 + 7 + 11 + 15 + 29 + 35 + 40}, i.e. 139.
7 will be replaced by {11 + 15 + 29 + 35 + 40}, i.e. 130.
15 will be replaced by {15 + 29 + 35 + 40}, i.e. 104.
40 will be replaced by 0 {as there is no node with a value greater than 40}.
35 will be replaced by {40}, i.e. 40.
Try solving now
03
Round
Easy
HR Round
Duration60 Minutes
Interview date11 May 2023
Coding problem1

1. Basic HR Questions

Tell me something about yourself in brief

Tell me about your background.

What are your strengths and weaknesses?

You have not done your PG yet. This is not a drawback, but don’t you think you should get a PG degree ASAP?

You have changed jobs/jumped ship too many times already. Why so?

What are your strengths?

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 the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Mphasis pvt limited
1476 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Mphasis pvt limited
1853 views
0 comments
0 upvotes
SDE - 1
4 rounds | 5 problems
Interviewed by Mphasis pvt limited
1227 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Mphasis pvt limited
1414 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114869 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58031 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35057 views
7 comments
0 upvotes