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

Software Engineer

RedBus
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
During my journey as an aspiring SDE-1 at RedBus, I've encountered numerous challenges and learning opportunities. I've dedicated myself to mastering programming languages, data structures, and algorithms, which bolstered my technical expertise. Additionally, I honed my problem-solving skills through personal projects and coding competitions. While facing the RedBus interview, I embraced the experience as a chance to grow and gain valuable insights. Although I didn't succeed this time, I remain enthusiastic about further improving my skills and aiming for success in future opportunities.
Application story
Applying for this role as an SDE-1 was a moment of excitement and determination. After meticulous research, I discovered the opportunity on Naukri.com and knew it aligned perfectly with my aspirations. With my resume polished and a tailored cover letter, I submitted my application, eager to showcase my skills and passion for software development. The anticipation of potentially joining the dynamic team at RedBus filled me with hope and eagerness to embark on this challenging and fulfilling journey.
Why selected/rejected for the role?
I was rejected for the SDE-1 role at RedBus in the second interview round. Although I possessed the necessary technical skills and qualifications, other candidates performed better during the interviews. Despite my best efforts, I may have lacked some specific expertise or failed to showcase my abilities effectively.
Preparation
Duration: 4 months
Topics: Data Structures, CN, DBMS, OS, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1: Focus on Core Concepts - Solidify your understanding of fundamental programming concepts, data structures, and algorithms.
Tip 2: Practice Coding - Regularly solve coding problems on coding platforms to enhance your problem-solving skills.
Tip 3: Mock Interviews - Conduct mock interviews with friends or join coding interview preparation groups to simulate real interview scenarios and receive feedback.

Application process
Where: Naukri
Eligibility: 7 CGPA and No Backlogs
Resume Tip
Resume tip

Tip 1: Tailor Your Resume for the specific job you are applying to
Tip 2: Keep it Concise, brief, and to the point, focusing on the most impactful achievements.
Tip 3: Use quantifiable metrics and specific accomplishments to demonstrate your contributions in previous roles (Internship if you are fresher)

Interview rounds

01
Round
Medium
Face to Face
Duration60 minutes
Interview date2 Sep 2022
Coding problem3

1. XOR Query

Moderate
10m average time
90% success
0/80
Asked in companies
Rubrik, Inc.Urban Company (UrbanClap)Uber

Assume you initially have an empty array say ‘ARR’.

You need to return the updated array provided that some ‘Q’ number of queries were performed on this array.

The queries are of two types:

1. 1 ‘VAL’, for this type of query, you need to insert the integer 'VAL' to the end of the array.
2. 2 ‘VAL’, for this type of query, you need to take the bitwise XOR of all the elements of the array with 'VAL' i.e each element of the array ‘ARR’ will be updated as ‘ARR[i]’ = ‘ARR[i]’ ^ ‘VAL’ ( ^ denotes the bitwise XOR operation).

Note:

1) Bitwise XOR operation takes two numbers and performs XOR operation on every bit of those two numbers. For example, consider two numbers 2 and 3 their bitwise XOR will be 1. Because the binary representation of 2 is '10' and the binary representation of 3 is '11'. And XOR of '10' and '11' will be '01'(because XOR evaluates to 0 if the corresponding bits are the same in both the operands, otherwise it evaluates to 1), which is equal to 1.

2) The first query will always be a type 1 query.

3) Note that the ith query should be performed on the array obtained after performing (i-1)th query on the array and so on i.e the changes of each query are updated on the original array itself.
Try solving now

2. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
SalesforceFreshworksWalmart

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Try solving now

3. OS Questions

What is the difference between a process and a thread in an operating system? (Learn)
How does virtual memory work, and what are its advantages? (Learn)
Explain the concept of deadlock in operating systems. How can it be prevented or resolved? (Learn)
What is the role of the file system in an operating system? How does it manage and organize data on storage devices? (Learn)
 

02
Round
Hard
Face to Face
Duration60 minutes
Interview date15 Sep 2022
Coding problem3

1. Maximum Coins

Hard
16m average time
78% success
0/120
Asked in companies
ZSPayPalSamsung

You are given a two-dimensional matrix of integers of dimensions N*M, where each cell represents the number of coins in that cell. Alice and Bob have to collect the maximum number of coins. The followings are the conditions to collect coins:

Alice starts from top left corner, i.e., (0, 0) and should reach left bottom corner, i.e., (N-1, 0). Bob starts from top right corner, i.e., (0, M-1) and should reach bottom right corner, i.e., (N-1, M-1).

From a point (i, j), Alice and Bob can move to (i+1, j+1) or (i+1, j-1) or (i+1, j)

They have to collect all the coins that are present at a cell. If Alice has already collected coins of a cell, then Bob gets no coins if goes through that cell again.

For example :
If the matrix is 
0 2 4 1
4 8 3 7
2 3 6 2
9 7 8 3
1 5 9 4

Then answer is 47. As, Alice will collect coins 0+8+3+9+1 = 21 coins. Bob will collect coins 1+7+6+8+4 = 26 coins. Total coins is 21+26 = 47 coins.
Try solving now

2. Palindrome Partitioning

Moderate
25m average time
75% success
0/80
Asked in companies
CultfitDunzoQuikr

You are given a string 'S'. Your task is to partition 'S' such that every substring of the partition is a palindrome. You need to return all possible palindrome partitioning of 'S'.

Note: A substring is a contiguous segment of a string.

For Example:
For a given string “BaaB”
3 possible palindrome partitioning of the given string are:
{“B”, “a”, “a”, “B”}
{“B”, “aa”, “B”}
{“BaaB”}
Every substring of all the above partitions of “BaaB” is a palindrome.
Try solving now

3. Valid Pairing of Numbers

Hard
50m average time
50% success
0/120
Asked in companies
AppleSamsungMAQ Software

You are provided with a list of numbers from ‘0’ to (2 * ’N’ - 1). You have to find the minimum number of swaps needed to make every even number ‘E’ (present in the list) adjacent to (‘E’ + 1).

For Example:
List = [3, 0, 2, 1]

We have to make ‘0’ adjacent to ‘1’ and ‘2’ to ‘3’. And, to achieve this we can swap ‘0’ with ‘2’.

New list = [3, 2, 0, 1].

Therefore, the answer (minimum number of swaps) is equal to 1.
Note:
There will be only distinct numbers present in the given list.
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

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
4 rounds | 4 problems
Interviewed by RedBus
1269 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 6 problems
Interviewed by RedBus
1330 views
0 comments
0 upvotes
company logo
Software Engineer
5 rounds | 12 problems
Interviewed by RedBus
1894 views
1 comments
0 upvotes
company logo
Software Engineer
4 rounds | 4 problems
Interviewed by RedBus
1621 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7977 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
10148 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4448 views
1 comments
0 upvotes