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

System Engineer

TCS
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: DSA, Web Dev, OS, Computer Networks, Machine Learning
Tip
Tip

Tip 1 : Prepare the projects you did in your degree
Tip 2 : Prepare basic dsa
Tip 3 : Prepare something about machine learning

Application process
Where: Campus
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Mention projects in detail
Tip 2 : Keep it a single page

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date6 Feb 2020
Coding problem2

1. Car Class

Easy
0/40
Asked in company
TCS

Design a class Car having parameterized constructor that takes two arguments as an input i.e noOfGear and color and a printCarInfo method that prints the CarInfo i.e noOfGear and color.

Design another class RaceCar having parameterized constructor has an additional attribute maxSpeed and printRaceCarInfo method that prints the RaceCarInfo i.e noOfGear, color and maxSpeed.

Note: You have to create an object of class RaceCar and call the printRaceCarInfo method.

Try solving now

2. Hit Counter

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

You have to design a hit counter which supports the functionality of accepting a hit and returning the number of hits done in the last 5 minutes. Each call is made with a timestamp which is given in seconds.

It is possible to receive several hit arriving at the same time. All the calls are done in chronological order. The timestamp for a call is equal to or greater than the Timestamp for the call just before it. Timestamp at the start can be considered as 0.

For example:

The counter is hit at 'T'  = 1
The counter is hit at 'T' = 50
The getHit function at 'T' = 100 returns 2
The counter is hit at 'T' = 250
The getHit function at 'T' = 100 returns 2
Try solving now
02
Round
Medium
Face to Face
Duration45 minutes
Interview date6 Feb 2020
Coding problem2

1. Delete a Node from Linked List

Moderate
40m average time
67% success
0/80
Asked in companies
CIS - Cyber InfrastructureAmazonGroww

You have been given a linked list of integers. Your task is to write a function that deletes a node from a given position, 'POS'.

Note :
Assume that the Indexing for the linked list always starts from 0.

If the position is greater than or equal to the length of the linked list, you should return the same linked list without any change.
Illustration :
The following images depict how the deletion has been performed.

Image-I :

Alt txt

Image-II :

Alt txt

Try solving now

2. OOPS Questions

  • What is Inheritance?
  • Explain different kinds of inheritance
  • How do we implement multiple inheritance in Java?
  • What do you mean by method overriding?
  • What is the difference between compile time polymorphism and run time polymorphism?

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
System Engineer
2 rounds | 3 problems
Interviewed by TCS
1155 views
0 comments
0 upvotes
System Engineer
2 rounds | 3 problems
Interviewed by TCS
1222 views
0 comments
0 upvotes
System Engineer
2 rounds | 4 problems
Interviewed by TCS
1338 views
0 comments
0 upvotes
System Engineer
3 rounds | 6 problems
Interviewed by TCS
1277 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
System Engineer
2 rounds | 4 problems
Interviewed by HCL Technologies
1425 views
0 comments
0 upvotes
company logo
System Engineer
1 rounds | 3 problems
Interviewed by Microsoft
0 views
0 comments
0 upvotes
company logo
System Engineer
3 rounds | 6 problems
Interviewed by HCL Technologies
943 views
0 comments
0 upvotes