Jupiter Money interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Jupiter Money
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Array, Graphs, Dynamic Programming, Operating System, Database Management System
Tip
Tip

Tip 1 : Practice 250+ standard quality questions.
Tip 2 : Do some good real-life projects in Front-end or Backend Development
Tip 3 : Try to find an internship that will not only enhance your development skills but also increase your resume selection chances.

Application process
Where: Other
Eligibility: Good PH score on Elitmus
Resume Tip
Resume tip

Tip 1 : Add quality projects (2 will be sufficient)
Tip 2 : Add your coding profile links.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date8 Oct 2021
Coding problem1

The online test was for 2 hrs in which 5 coding questions were asked. 3 questions were pretty easy and 2 were of medium difficulty level. I was able to solve all 5 questions.

1. Shortest path in an unweighted graph

Moderate
25m average time
70% success
0/80
Asked in companies
AmazonMicrosoftJP Morgan

The city of Ninjaland is analogous to the unweighted graph. The city has ‘N’ houses numbered from 1 to ‘N’ respectively and are connected by M bidirectional roads. If a road is connecting two houses ‘X’ and ‘Y’ which means you can go from ‘X’ to ‘Y’ or ‘Y’ to ‘X’. It is guaranteed that you can reach any house from any other house via some combination of roads. Two houses are directly connected by at max one road.

A path between house ‘S’ to house ‘T’ is defined as a sequence of vertices from ‘S’ to ‘T’. Where starting house is ‘S’ and the ending house is ‘T’ and there is a road connecting two consecutive houses. Basically, the path looks like this: (S , h1 , h2 , h3 , ... T). you have to find the shortest path from ‘S’ to ‘T’.

For example
In the below map of Ninjaland let say you want to go from S=1 to T=8, the shortest path is (1, 3, 8). You can also go from S=1 to T=8  via (1, 2, 5, 8)  or (1, 4, 6, 7, 8) but these paths are not shortest.

altImage

Problem approach

Start BFS traversal from source vertex.
While doing BFS, store the shortest distance to each of the other nodes and also maintain a parent vector for each of the nodes.
Make the parent of the source node as “-1”. For each node, it will store all the parents for which it has the shortest distance from the source node.
Recover all the paths using the parent array. At any instant, we will push one vertex in the path array and then call for all its parents.
If we encounter “-1” in the above steps, then it means a path has been found and can be stored in the paths array.

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date14 Oct 2021
Coding problem1

It started with the introduction and then we had a discussion on the projects I had made. He asked for several Backend and Database concepts like locking in DB, sessions, etc as I had mentioned backend internship in my resume. It took around half an hour.

Then he gave me a coding question based on the graph

1. Capture region

Moderate
10m average time
90% success
0/80
Asked in companies
MicrosoftSwiggyHSBC

You are given a matrix having ‘N’ rows and ‘M’ columns. Each cell of the matrix is either ‘X’ or ‘O’. You need to flip all those regions of ‘O’ which are surrounded by ‘X’ i.e. you need to change all ‘O’s which are present in the region to ‘X’.

Note
1. Surrounded regions shouldn’t be on the border, which means that any 'O' on the border of the matrix is not flipped to 'X'. 
2. Any ‘O’ or group of connected ‘O’ are said to be surrounded by ‘X’ when all cells touching the boundary of the group of ‘O’ must contain ‘X’.
For example

alt text

Problem approach

I first took some time to think of a solution then told him the DFS as well as BFS approach. Then he made me run through several test cases on the pseudo-code. Once he was satisfied with the approach then I coded it on the editor and ran several test cases which he gave.
Finally, He asked me about the Time-Complexity and Space-Complexity of the code.

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

Which array operation has O(n) worst-case time complexity?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
2 rounds | 2 problems
Interviewed by Jupiter Money
2145 views
2 comments
0 upvotes
company logo
SDE - 1
1 rounds | 3 problems
Interviewed by Jupiter Money
1064 views
0 comments
0 upvotes
company logo
Data Analyst
3 rounds | 3 problems
Interviewed by Jupiter Money
794 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 2 problems
Interviewed by Jupiter Money
638 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
14060 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
13403 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9306 views
2 comments
0 upvotes