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

SDE - 1

RedBus
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
This opportunity came as On campus placement. It consist of four rounds of medium level. The first round was mcq+coding assessment, Second round was Technical interview and Third round was another Technical Interview,fourth interview was HR interview.
Application story
This Opportunity came as Oncampus Opportunity. They shortlisted students on the basis of resume and then those were allowed to sit in the coding assessment. Then on the basis on coding assessment result we were shortlisted for Interview
Why selected/rejected for the role?
My CGPA was above 9, so was shortlisted easily in the first round by college. Then I had two Full Stack Web development Projects in my resume also one hackathon winning certificate.
Preparation
Duration: 6 months
Topics: Data Structure and Algorithms, OOPS, Database Management System, Dynamic Programming, Operating System, Computer Network
Tip
Tip

Tip 1 : Start coding regularly on any platform.
Tip 2 : Start giving coding contest regularly
Tip 3 : Revise core subjects regularly

Application process
Where: Campus
Eligibility: 7 CGPA above, 75% + in 10 and 10+2
Resume Tip
Resume tip

Tip 1: Add at least two Web Development Projects
Tip 2: Resume should be short and precise

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date18 Jul 2022
Coding problem2

20 MCQ
3 coding problem

1. Min Jumps

Easy
15m average time
85% success
0/40
Asked in companies
IBMAmerican ExpressSamsung R&D Institute

You live in a Ninja town which is in the form of a N * M grid. In this town, people travel from one place to another by jumping over the buildings which are present in each cell of the grid. It is Christmas eve, and Santa wants to give gifts and chocolates to the kids who live in the building which is present at the cell (N - 1, M - 1). Initially, Santa is present on cell (0, 0). Since Santa is in a hurry, help him find a path from starting point to the endpoint with the least amount of time.

The Santa may go only from one building to any of its adjacent buildings which is present either to the right or to the bottom or bottom right cell i.e. if the current position is (x, y), he may go to (x + 1, y + 1) or (x + 1, y) or (x, y + 1) given that the new coordinates are in the grid. The time taken to reach from one building to another is equal to the absolute difference between the heights of buildings.

Note:

1. The heights of the buildings are positive.
2. Santa starts from the cell (0, 0) and he has to reach the building (N - 1, M - 1).
3. Santa cannot leave the grid at any point of time.
Problem approach

Suppose you are at third index , means you have 3 steps closer to the end and you can move according to the value, so check if (nums[i]+i>=n-1>) where n-1 is the index of last.

Now by chance you reached at an index where you can't move anymore i.e. you have nums[i]=0, keep a track of max index, that suppose nums[3,0,2] , so when you reach at i=1, the max_jump is 3, so you can move on.
If it is less than the index which has 0 value, then return false.

Try solving now

2. Largest Submatrix with Equal Number of 0's and 1's

Moderate
15m average time
85% success
0/80
Asked in company
RedBus

You have been given a non-empty grid ‘MAT’ consisting of only 0s and 1s. Your task is to find the area of the largest sub-matrix having an equal number of 0s and 1s.

If there is no such sub-matrix, print 0.

For example, for the following grid:

Input

The largest sub-matrix having an equal number of 0s and 1s in the above grid is shown below :

Output

The area of the largest sub-matrix having an equal number of 0s and 1s is 4(rows in highlighted image) * 2(columns in highlighted image) = 8.
Try solving now
02
Round
Medium
Video Call
Duration30 minutes
Interview date22 Jul 2022
Coding problem1

30 minutes of technical interview, started off with core subject questions then some complexity question.

1. Swap Nodes in Pairs

Moderate
40m average time
60% success
0/80
Asked in companies
OLX GroupAmazonMicrosoft

You are given a singly linked list of integers.

Your task is to swap every two adjacent nodes, and return the head of the modified, linked list.

For Example:

We have a linked list 1->2->3->4->5->6->7 and so on. You are supposed to swap pairs of a linked list like swap (1,2), (3,4), (5,6), and so on.
Note:
1. You may not modify the data in the list’s nodes; only nodes themselves may be changed. Because imagine a case where a node contains many fields, so there will be too much unnecessary swap.

2. If a pair of a node does not exist, then leave the node as it is.
Problem approach

Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i.e., only nodes themselves may be changed.)

Try solving now
03
Round
Medium
Face to Face
Duration120 minutes
Interview date10 Aug 2022
Coding problem1

The Environment was good , the interview started of With some Complexity Questions then core subjects Questions and then coding problems and you have solve the problem on paper and then some puzzle and project related problems

1. Count Distinct Subarrays With At Most K Odd Elements

Moderate
10m average time
90% success
0/80
Asked in companies
BNY MellonJio Platforms LimitedRedBus

You are given an array 'arr' of 'N' integers. Your task is to return the total number of distinct subarrays of 'arr' having 'k' odd elements.


Example :
If arr = [3,2,3], and k = 1 
then there are 4 subarrays with 1 odd elements:
[3], [3,2], [2,3] & [3].
Problem approach

From the problem statement we can identify its a sliding window question

Try solving now
04
Round
Medium
HR Round
Duration60 minutes
Interview date10 Aug 2022
Coding problem1

some HR Questions and puzzle and then one problem to design the resume as my resume contains full stack web development

1. Basic HR Questions

Asked what exactly the firm does and explain how exactly you fit in for this role

Asked hobbies, short term and long term goals.

how you keep yourself Motivated

Design your Resume in HTML in paper

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
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by RedBus
1509 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by RedBus
918 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 10 problems
Interviewed by RedBus
860 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by RedBus
662 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
58030 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35057 views
7 comments
0 upvotes