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

SDE - 1

Rupeek
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I started preparing for this interview when the COVID-19 pandemic began. I have reviewed all the major topics and their sub-sections. Additionally, I have also developed some interpersonal skills for my managerial round.
Application story
Applied through the campus portal. The company visited the campus during placement day 2 in the evening shift. This opportunity was open to all branches.
Why selected/rejected for the role?
My DSA skills were very strong, which is the main skill companies look for in a fresher. I have good verbal communication skills. I explained the projects nicely.
Preparation
Duration: 4 months
Topics: Data structures, Pointers, Dynamic Programming, Graphs (BFS, DFS), Algorithms, OOPS
Tip
Tip

Tip 1: Practice DSA strongly (at least 300+ questions, mostly medium & some hard as well).

Tip 2: Always try to land upon the most optimal solution from time & space complexity.

Tip 3: In between practice, also participate in coding contests.

Tip 4: Add 2-3 technical projects to your resume to enhance it.

Application process
Where: Campus
Eligibility: 6 CGPA, Good CV (Projects & skills required)
Resume Tip
Resume tip

Tip 1: Have at least 2 projects on your resume.

Tip 2: Only mention the skills in which you are confident; otherwise, list them as elementary proficiency.

 

Interview rounds

01
Round
Medium
Coding Test - Pen and paper
Duration45 minutes
Interview date4 Dec 2020
Coding problem1

Walk-in round

1. Minimum Knight Moves

Hard
0/120
Asked in companies
MathworksAmazonRupeek

You are given an infinite chessboard (ie: the x-coordinates and y-coordinates can be anything between -infinity to +infinity).

You have a knight placed at coordinates ‘(0, 0)’. Find the minimum number of steps needed to move the knight to ‘(X, Y)’.

The knight has 8 possible moves, each move is two units in a cardinal direction, then one unit in an orthogonal direction.

For example :

As depicted in the photo below, the knight currently at (0, 0) can move to any of the 8 positions: (1, 2), (2, 1), (2, -1), (1, -2), (-1, -2), (-2, -1), (-2, 1), (-1, 2).

Example :
If X = 1 and Y = -1, then we need to find out the minimum number of steps to move the knight from (0, 0) to (1, -1).

We need at least 2 steps to move the knight to the desired position.

First move: (0, 0) -> (2, 1) 

Second move: (2,1) -> (1, -1)

Here we can see that there are many ways, but we need at least 2 steps. Therefore we will return the value 2.
Problem approach

It is a simple DFS traversal problem.

Try solving now
02
Round
Medium
Face to Face
Duration30 minutes
Interview date4 Dec 2020
Coding problem1

1. BFS in Graph

Easy
10m average time
90% success
0/40
Asked in companies
Morgan StanleySamsung R&D InstituteRubrik, Inc.

Given an adjacency list representation of a directed graph with ‘n’ vertices and ‘m’ edges. Your task is to return a list consisting of Breadth-First Traversal (BFS) starting from vertex 0.


In this traversal, one can move from vertex 'u' to vertex 'v' only if there is an edge from 'u' to 'v'. The BFS traversal should include all nodes directly or indirectly connected to vertex 0.


Note:
The traversal should proceed from left to right according to the input adjacency list.


Example:
Adjacency list: { {1,2,3},{4}, {5}, {},{},{}}

The interpretation of this adjacency list is as follows:
Vertex 0 has directed edges towards vertices 1, 2, and 3.
Vertex 1 has a directed edge towards vertex 4.
Vertex 2 has a directed edge towards vertex 5.
Vertices 3, 4, and 5 have no outgoing edges.

We can also see this in the diagram below.

BFS traversal: 0 1 2 3 4 5

example

Problem approach

The interview was checking how the candidate is approaching the problem.
Asked to write the code on paper.
Solution - Just apply BFS approach

Try solving now
03
Round
Hard
Face to Face
Duration45 minutes
Interview date4 Dec 2020
Coding problem1

1. Design Question

Write an optimal algorithm for Facebook friend suggestions. Write what data structure you will use to store the friends' information of all users.

Problem approach

I chose a graph as a data structure to store all the users & made an edge if the 2 users were friends.
Logically friend suggestions will be a list of friends of friends.
First, return the level 2 friends & so on.

04
Round
Easy
HR Round
Duration20 minutes
Interview date4 Dec 2020
Coding problem1

HR round (Behavioural).

1. Basic HR Questions

  1. Why do you want to choose a startup?
  2. You are from a non-cs background, Why do you want to be a developer?
  3. Why Rupeek?

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
4 rounds | 5 problems
Interviewed by Rupeek
2838 views
0 comments
0 upvotes
SDE - 1
4 rounds | 7 problems
Interviewed by Rupeek
1757 views
0 comments
0 upvotes
SDE - 1
2 rounds | 5 problems
Interviewed by Rupeek
2243 views
0 comments
0 upvotes
SDE - 1
4 rounds | 4 problems
Interviewed by Rupeek
982 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