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

SDE - Intern

TCS
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OS, OOPS, DBMS, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Practice as much questions as you can on daily basis
Tip 2 : Study DBMS, OS (core Engineering Subjects) As questions from these are frequently asked in the interviews
 

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

Tip 1 : Make it simple and clean

Tip 2 : Mention projects and their applications

Tip 3 : Add your coding profiles

Tip 4 : Add you achievements, internships in a crisp, don't write a full passage

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 minutes
Interview date29 Aug 2021
Coding problem2

TCS Programming Test 2021 Questions are not like a general Coding Round Questions with Solutions it is all together different from normal programming. I was little slow

1. Two and Four Wheeler Roads

Hard
48m average time
0/120
Asked in companies
Wells FargoGoldman SachsGartner

There is a country with 'N' cities and 'M' bidirectional roads of 3 types.

Type 1: Two Wheeler Road, It means only vehicles having two wheels can use this road.
Type 2: Four Wheeler Road, It means only vehicles having four wheels can use this road.
Type 3: Both two and four Wheeler Road, It means this road can be used by both type of vehicles.

The problem is to find the maximum number of roads that can be removed such that a path exists for every pair of cities for each two-wheeler and four-wheeler vehicle.

Note:
1. Roads may form a cycle.

2. The cities do not have multiple same roads i.e all the roads are unique.

3. If every city cannot be reached, then return -1.
Problem approach

find the the no of vehicles required and start coding

Try solving now

2. Valid String

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

You have been given a string 'S' containing only three types of characters, i.e. '(', ')' and '*'.

A Valid String is defined as follows:

1. Any left parenthesis '(' must have a corresponding right parenthesis ')'.
2. Any right parenthesis ')' must have a corresponding left parenthesis '('.
3. Left parenthesis '(' must go before the corresponding right parenthesis ')'.
4. '*' could be treated as a single right parenthesis ')' or a single left parenthesis '(' or an empty string.
5. An empty string is also valid.

Your task is to find out whether the given string is a Valid String or not.

Problem approach

Assign symbols according to numbers

Try solving now
02
Round
Medium
Video Call
Duration30 minutes
Interview date24 Oct 2021
Coding problem2

It was fairly easy round. It was based on Operating System and DBMS. Few questions of easy and moderate difficulties were asked from the same subjects

1. Operating System

  • Explain deadlock and memory management
  • What is the difference between paging and segmentation?
  • What do you mean by Sockets in OS?
  • What is SMP (Symmetric Multiprocessing)
Problem approach

Tip 1 : Read Galvin for OS thoroughly.
Tip 2 : Take the help from online resources for the preparation
Tip 3 : Read previous interview experiences

2. DBMS

  • Explain normalization
  • What do you mean by transparent DBMS
  • What is Relational Calculus?
  • What is functional Dependency?


 

Problem approach

Tip 1 : Read relational database management system 
Tip 2 : Focus on college lectures of DBMS
Tip 3 : Practice SQL Queries

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
SDE - 1
2 rounds | 4 problems
Interviewed by TCS
0 views
0 comments
0 upvotes
Digital Technology Intern
2 rounds | 2 problems
Interviewed by TCS
846 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 7 problems
Interviewed by TCS
953 views
0 comments
0 upvotes
TCS Ninja
3 rounds | 5 problems
Interviewed by TCS
1053 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15606 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15500 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes