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



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



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



[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
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.
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.





1. The grid has 0-based indexing.
2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
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".
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.



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.
The Graph may not be connected i.e there may exist multiple components in a graph.



The traversal should proceed from left to right according to the input adjacency list.
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




(a, b) -> (a + b, b)
(a, b) -> (a, a + b)
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)
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.
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.
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.
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
What is the purpose of the return keyword?