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

Graduate Engineer Trainee

Continental
upvote
share-icon
2 rounds | 11 Coding problems

Interview preparation journey

expand-icon
Journey
In my second year, I did the course of competitive programming from Coding Ninjas which helped me to deep dive into DSA and then I start practicing problem on online coding platforms.
Application story
It was an off-campus drive, and I managed to get a referral through LinkedIn. After one week, I received the test link, and there were four rounds in the recruitment process.
Why selected/rejected for the role?
I got rejected because I didn't prepare the CS fundamentals, which are a must for this company. So, make sure to prepare OOPS, OS, SQL, and DBMS in depth.
Preparation
Duration: 3 months
Topics: Dynamic Programming, Graph, DSA, OS, Networking, OOPS
Tip
Tip

Tip 1: DSA
Tip 2: CS Fundamentals (mainly OOPS, DBMS)

Application process
Where: Referral
Eligibility: 7 CGPA (Salary: 300000 per year)
Resume Tip
Resume tip

Tip 1: Don’t include false information on your resume.
Tip 2: Be prepared with your resume.
Tip 3: Learn SD.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration75 minutes
Interview date29 Apr 2023
Coding problem9

The test consists of APIT and CS fundamentals.

1. Operating System

Who needs a BIOS to function properly?

  • A mobile device
  • An operating system
  • Hardware devices
  • All of the above

2. Operating System

Which of the following is not considered a real-time operating system?

  • PSOS
  • LinuxRT
  • VRTX
  • Windows

3. DBMS

Which of the following refers to the number of attributes in a relation?

  • Degree
  • Row
  • Column
  • All of the above

4. Technical Question

What will be the output of the following C++ code?    

#include <iostream> 

#include <algorithm> 

using namespace std; 

int main() { 

string s = "spaces in text"; 

s.erase(remove(s.begin(), 

s.end(), ' '), 

s.end()); 

cout << s << endl; 

}

Problem approach

Just do a dry run.

Ans:- spacesintext

5. Technical Question

What will be the output of the following C++ code?

#include <iostream>

using namespace std;

int main(int argc, char const *argv[]) {    

char s1[6] = "Hello";    

char s2[6] = "World";    

char s3[12] = s1 + " " + s2;    

cout << s3;    return 0;

}

Problem approach

Answer: Hello World
Explanation: There is no operation defined for the addition of character arrays in C++, hence the compiler throws an error as it does not understand what to do with this expression.

6. Technical Question

Which of the following is not a type of queue? 

A) Priority Queue
B) Single-ended Queue
C) Circular Queue

7. Technical Question

A graph with an edge from each vertex to every other vertex is called a ___________.

The options remain the same:

a) Tightly Connected
b) Strongly Connected
c) Weakly Connected
d) Loosely Connected

Problem approach

Answer: a) Tightly Connected

8. Aptitude Question

A deck of 5 cards, each carrying a distinct number from 1 to 5, is shuffled thoroughly. Two cards are then removed one at a time from the deck. What is the probability that the two cards are selected, with the number on the first card being one higher than the number on the second card?

A) 1/5
B) 4/25
C) 1/4
D) 2/5

9. Aptitude Question

The probability that a given positive integer between 1 and 100 (both inclusive) is NOT divisible by 2, 3, or 5 is ______. 

A) 0.259 

B) 0.459 

C) 0.325 

D) 0.225

02
Round
Medium
Video Call
Duration50 minutes
Interview date4 May 2023
Coding problem2

Two coding problems were asked in the interview.

1. Sub Sort

Moderate
15m average time
85% success
0/80
Asked in companies
FreshworksAdobeAmazon

You are given an integer array ‘ARR’. You have to find the length of the shortest contiguous subarray such that, if you sort this subarray in ascending order, then the whole array will be sorted in ascending order.

An array 'C' is a subarray of array 'D' if it can be obtained by deletion of several elements(possibly zero) from the beginning and the end from array 'D'.

Example:

Let’s say we have an array 'ARR' {10, 12, 20, 30, 25, 40, 32, 31, 35, 50, 60}. Then we have to find the subarray {30 , 25 , 40 , 32 , 31 , 35} and print its length = 5 as our output. Because, when we sort this subarray the whole array will be sorted.
Problem approach

The idea is as follows:

  • From the left, for a number to remain unchanged, there must be no number smaller than it on the right-hand side.
  • From the right, for a number to remain unchanged, there must be no number larger than it on the left-hand side.

These two conditions can be easily checked by building two vectors:

  • The maximum value encountered so far from the left.
  • The minimum value encountered so far from the right.
Try solving now

2. Maximum Sum Circular Subarray

Moderate
10m average time
90% success
0/80
Asked in companies
UberalibabaHousing.com

You have been given a circular array/list ‘ARR’ containing ‘N’ integers. You have to find out the maximum possible sum of a non-empty subarray of ‘ARR’.

A circular array is an array/list in which the end of the array connects to the beginning of the array.

A subarray may only include each element of the fixed buffer of ‘ARR’ at most once. (Formally, for a subarray ‘ARR[i]’, ‘ARR[i+1]’, ..., ‘ARR[j]’, there does not exist ‘i’ <= ‘k1’, ‘k2’ <= ‘j’ with ‘k1’ % ‘N’ = k2 % ‘N’.)

For Example:

The ‘ARR’ = [1, 2, -3, -4, 5], the subarray [5, 1, 2] has the maximum possible sum which is 8. This is possible as 5 is connected to 1 because ‘ARR’ is a circular array.
Problem approach

Calculate the maximum subarray sum (maxSum) using Kadane's algorithm.
Calculate the minimum subarray sum (minSum) using Kadane's algorithm by using min() instead of max().
Calculate the sum of all the elements in nums, denoted as totalSum.
If minSum == totalSum, return maxSum; otherwise, return max(maxSum, totalSum - minSum).

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

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
Graduate Engineer Trainee
2 rounds | 11 problems
Interviewed by Continental
951 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes