Open In App

Sabre Interview Experience for Associate Software Engineer | On Campus 2022

Recently, Sabre visited our college Thapar Institute of Engineering and Technology, Patiala, to recruit final year engineering students. The eligibility criteria were as follows:

 



Round 1 Coding Round + Aptitude 1.5 hour:  Around 235 students were allowed to take the test who satisfied the eligibility criteria.

Round 1 consists of (No Negative Marking)



2 coding questions (Languages Allowed: C, C++, Java, Python)

Coding Questions were of medium to hard level problems which were as follows:

  1. Given N strings find all the connections among the strings. Two strings are directly connected if they are of the same length and differ in exactly one alphabet. The connections also follow the Transitivity Rule, ie if string A is connected to string B and string B is connected to string C, then string A is also connected to string C
  2. Write a program that accepts N-words and print the chain of all words that can be created by following the above constraints print them in a single line if one chain can be formed else if multiple chains are possible then print them in separate lines in the order of input

Input Format:

The first line of input contains N, the number of strings. Next N lines contain N strings.

Output Format:

One or multiple lines of output contain the various connected strings. The connected strings are separated by a single white space. The sequence of output is according to the input.

Sample Input:

5
CAR
BET
BAR
BAT
BED

Sample Output: CAR BAR BAT BET BED

Explanation1:

All the strings have the same length. Here, CAR is connected to BAR as A and R have a match. Similarly, BAR is connected to BAT, BAT is connected to BET and BET is connected to BED. Due to the Transitivity Rule, as all are inter-connected, they are printed in the same line.

Similar Question

  1. https://leetcode.com/problems/word-ladder-ii/  
  2. https://www.codingninjas.com/codestudio/problem-details/count-nodes-within-k-distance_992849

18 students were shortlisted from round 1 to follow up for round 2.

Note: Candidates will be heavily filtered after this round. So, you need to solve a good no. of questions to get shortlisted for further rounds.  

Advice:  If you find the coding questions difficult, then try to solve the maximum no. of aptitude and cs fundamental questions. It will increase your chance to get shortlisted.

Round 2 (Technical Round 1 hour): Scheduled on Microsoft Teams.

We started by greeting each other. The interviewer was a senior software engineer.

Then, Interviewer asked me how was my coding round.

Then, she asked me whether I know Java. But, I usually code in C++ so, I said the same.

Thereafter, the following questions were asked from OOP:

  1. Explain all the four pillars of OOP i.e. Inheritance, Polymorphism, Encapsulation, and Abstraction with examples.
  2. What is an abstract class? Can we create an object of abstract class?  
  3. Write the syntax of pure virtual function.

Then, she asked me the question from Data Structures and Algorithms. I was asked the following dynamic programming coding question:

Note:  

14 students were shortlisted for the Managerial Round.

Round 3 (Managerial Round 30 minutes):  Scheduled on Microsoft Teams.

The interviewer was a senior engineering manager. He asked me to introduce myself and then we straight move towards the project.

Tips:

Round 4 (HR 20 minutes): Scheduled on Microsoft Teams.

Tips:

Finally, 8 were selected from our college for 6 months internship and full-time offer and I was one of them.

Verdict: Selected


Article Tags :