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

Software Engineer

RedBus
upvote
share-icon
5 rounds | 12 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structures, Algorithms, DBMS, Operating Systems, Computer Networks, UNIX, Compilers, Machine Learning
Tip
Tip

Tip 1 : Aptitude- RS Agarwal, Lofoya, IndiaBix, Technical MCQs- IndiaBix, GeeksForGeeks
Tip 2 :  C / C++ - The Complete Reference - C++ by Herbert Schildt, Geeks For Geeks , Data Structures/Algorithms - Data Structures and Algorithms Made Easy by Narasimha Karumanchi , Operating Systems- Sanchit Jain and Easy Engineering Classes videos on YouTube , Database Management System - Fundamentals of Database Systems by Elamsri & Navathe, Geeks For Geeks 

Application process
Where: Campus
Eligibility: Above 7.5 CGPA
Resume Tip
Resume tip

Tip 1 : Make sure that you know everything on your resume. Your resume is your syllabus.
Tip 2 : You should have thorough knowledge about the projects on your resume.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration90 minutes
Interview date5 Aug 2019
Coding problem3

The test was conducted in the evening at 4 pm in one of the computer science labs under strict invigilation. Coding questions were asked to be focussed on more by the redBus HRs since it was a core developer role.

1. Count Frequency

Easy
15m average time
85% success
0/40
Asked in companies
Hewlett Packard EnterpriseSprinklrAmazon

You are given a string 'S' of length 'N', you need to find the frequency of each of the characters from ‘a’ to ‘z’ in the given string.

Example :

Given 'S' : abcdg
Then output will be : 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
Try solving now

2. Shortest substring with all characters

Moderate
18m average time
85% success
0/80
Asked in companies
IntuitMicrosoftAmazon

You have been given a string 'S' which only consists of lowercase English-Alphabet letters.

Your task is to find the shortest(minimum length) substring of 'S' which contains all the characters of 'S' at least once. If there are many substrings with the shortest length, then find one which appears earlier in the string i.e. substring whose starting index is lowest.

For example-
If the given string is S = "abcba", then the possible substrings are "abc" and "cba". As "abc" starts with a lower index (i.e. 0, "cba" start with index 2), we will print "abc" as our shortest substring that contains all characters of 'S'.
Try solving now

3. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
FacebookDisney + HotstarAmazon

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Try solving now
02
Round
Easy
Face to Face
Duration30 minutes
Interview date6 Aug 2019
Coding problem3

My interviewer went through my resume and asked me to introduce myself. Since the company is working a lot on ML right now and it had vacancies for both, she asked me my domain of interest, if I want to go for a Full Stack Developer kind of role or something related to Machine Learning and Artificial Intelligence. This question was probably asked to me due to a lot of Machine Learning projects on my resume. Then, she asked me to explain my DBMS project in detail which was a payment application with a lot of other options like bus booking, movie booking, recharge, etc.

1. System Design Question

She asked me to design an entire database for booking a room. Then she asked me to write a query to book a room based on the different details provided by the user like room type, capacity, location, time, etc (I had used these attributes in the database). I wrote a nested query using Join and NOT IN Clause.

2. Binary Array Sorting

Easy
20m average time
85% success
0/40
Asked in companies
OptumAthenahealthPolicyBazaar.com

A binary array is an array consisting of only 0s and 1s.

You are given a binary array "arr" of size ‘N’. Your task is to sort the given array and return this array after sorting.

Try solving now

3. Rotting Oranges

Moderate
20m average time
78% success
0/80
Asked in companies
SliceSamsung R&D InstituteSalesforce

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - representing a fresh orange.
  • Value 2 - representing a rotten orange.
  • Every second, any fresh orange that is adjacent(4-directionally) to a rotten orange becomes rotten.

    Your task is to find out the minimum time after which no cell has a fresh orange. If it's impossible to rot all the fresh oranges then print -1.

    Note:
    1. The grid has 0-based indexing.
    2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
    
    Try solving now
    03
    Round
    Easy
    Group Discussion
    Duration25 minutes
    Interview date6 Aug 2019
    Coding problem0

    My group of 10 was given a topic for the discussion. The discussion timer was set to 20 minutes with an additional thinking time of 30 seconds before the GD started. Our topic was "As humans, should we invest more in saving the Earth that is already degraded or on the technology to find a new planet".

    04
    Round
    Medium
    Face to Face
    Duration30 Minutes
    Interview date6 Aug 2019
    Coding problem3

    After all the students had 1 technical interview and GD, the scores were added. Based on the scores, around 12 people were rejected and 17 went to the next round, i.e., TECHNICAL INTERVIEW 2. Everyone is this round was asked either graphs or trees. My interviewer asked me graphs.

    1. DFS Traversal

    Moderate
    35m average time
    65% success
    0/80
    Asked in companies
    SamsungIntuitGoldman Sachs

    Given an undirected and disconnected graph G(V, E), containing 'V' vertices and 'E' edges, the information about edges is given using 'GRAPH' matrix, where i-th edge is between GRAPH[i][0] and GRAPH[i][1]. print its DFS traversal.

    V is the number of vertices present in graph G and vertices are numbered from 0 to V-1. 
    
    E is the number of edges present in graph G.
    
    Note :
    The Graph may not be connected i.e there may exist multiple components in a graph.
    
    Try solving now

    2. 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

    Try solving now

    3. Reach the destination

    Easy
    15m average time
    85% success
    0/40
    Asked in companies
    HCL TechnologiesSamsungAmerican Express

    Given a source point (sx, sy) and a destination point (dx, dy), the task is to check if it is possible to reach the destination point using the following valid moves:

    (a, b) -> (a + b, b)
    (a, b) -> (a, a + b)
    

    Your task is to find if it is possible to reach the destination point using only the desired moves or not.

    For example:
    For the coordinates, source point = (1, 1) and destination point = (3, 5)
    The output will be true as the destination point can be reached using the following sequence of moves:
    (1, 1) -> (1, 2) -> (3, 2) -> (3, 5)
    
    Try solving now
    05
    Round
    Easy
    HR Round
    Duration15 minutes
    Interview date6 Aug 2019
    Coding problem3

    General and common HR questions were asked in this round. I was asked to introduce myself. I was told that every round has a separate cutoff and results would be announced the next day.

    1. Basic HR Question

    The interviewer asked me about my entrance to this college and why I chose SJCE. I was also asked my COMEDK rank and it was noted down.

    2. Basic HR Question

    The interviewer asked me about my choice of profile, Full Stack Developer or Machine Learning Engineer. I was asked about my achievements and my role models. The interviewer also asked about my family.

    3. Basic HR Question

    Other questions like the reason why I would like to work for RedBus and also if I had any plans for further studies were asked.

    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
    Software Engineer
    4 rounds | 4 problems
    Interviewed by RedBus
    1258 views
    0 comments
    0 upvotes
    company logo
    Software Engineer
    4 rounds | 6 problems
    Interviewed by RedBus
    1320 views
    0 comments
    0 upvotes
    company logo
    Software Engineer
    4 rounds | 4 problems
    Interviewed by RedBus
    1602 views
    0 comments
    0 upvotes
    company logo
    Software Engineer
    2 rounds | 6 problems
    Interviewed by RedBus
    871 views
    0 comments
    0 upvotes
    Companies with similar interview experiences
    company logo
    Software Engineer
    3 rounds | 7 problems
    Interviewed by Optum
    7923 views
    1 comments
    0 upvotes
    company logo
    Software Engineer
    5 rounds | 5 problems
    Interviewed by Microsoft
    10070 views
    1 comments
    0 upvotes
    company logo
    Software Engineer
    2 rounds | 4 problems
    Interviewed by Amazon
    4395 views
    1 comments
    0 upvotes