Tata Consultancy Services (TCS) interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Tata Consultancy Services (TCS)
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
When I joined my engineering, I only came with a very little knowledge about CS, but had a 'kick' in my brain that I have to crack some big MNC. Coming from a family who have never been to field of IT, it was difficult to have a initial image of what this industry is and how it works. The only thing one has to remember is just being consistent. So, without thinking about results too early, I tweaked about various fields like Cloud, ML, Web... Today you wont be devoid of the resources available to do this type of R&D. So, Web Dev suited me a lot and so I made up my mind to go for it. Yes, once you decide, do not overthink and jump in.. Yes, you can make wrong choices, but believe me you will be adjusted to it when you listen to your brain. It was back in 2018 end, I was a lot fascinated by the powers of React, so I started reading about it. But it was not too easy for me to keep pace and learn. There are many resources you will find today about this field, but yes I took help from articles available at Coding Ninjas for web dev. This was smoothly going , then came time for placements, I grinded a lot of platforms for apti, and coding stuff, by the time I didn't tested my progess be it of apti, or coding questions, i considered my learning incomplete. I am not that type of 400, 500 -1000 leetcodes... and whatever. The thing I focussed was working on basics.. Yes it takes time, but you have to believe in youself and wait for results. Maybe today is not yours but tomorrow will definitely come when it will be yours day...
Application story
Our University had many companies visiting on Campus. As there is same story for campus placements like you cannot sit in other companies if you are placed in some... So, I clearly planned my goals, skipped non-tech companies or even attempted 2-3 rounds before interview for practice. I even got to interview rounds of 3 companies: TCS, Nagarro, Unthinkable. But, TCS interview came first and somehow I wanted to be in this company only.. Yaa this is how my application story went
Why selected/rejected for the role?
Yes, I was selected. According to me the major reason behind my selection for Digital Role was that firstly I had well knowledge of React and Node, I have been working in this stack for almost more than a year. The second round on TCS interview is Managerial Round, and is the most important round where they decide which role you will get ninja or digital. You will be asked a real life scenario based situation and you have to answer it accordingly. I was able to answer and the interview really liked my solution and thus I was able to have a positive impact
Preparation
Duration: 7 months
Topics: Data Structures, Operating System, Computer Networks, Binary Search, Trees, Stack
Tip
Tip

Tip 1 : Do not go behind numbers like doing 300 or 400 Leetcodes.
Tip 2 : Be Consistent
Tip 3 : First understand the topic well, do not mind if it takes more time, keep your base strong

Application process
Where: Campus
Eligibility: CGPA must be above 7 for safe side. Good to have development projects, but not mandatory if you are fresher
Resume Tip
Resume tip

Tip 1 : First go through JD of every company and modify resume according to requirements.
Tip 2 : Do not mention any technology that you are not 100% comfortable with.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration70 Minutes
Interview date6 Aug 2021
Coding problem2

1. Find Peak Element

Easy
15m average time
85% success
0/40
Asked in companies
GrabDunzoTata Consultancy Services (TCS)

You are given an array 'arr' of length 'n'. Find the index(0-based) of a peak element in the array. If there are multiple peak numbers, return the index of any peak number.


Peak element is defined as that element that is greater than both of its neighbors. If 'arr[i]' is the peak element, 'arr[i - 1]' < 'arr[i]' and 'arr[i + 1]' < 'arr[i]'.


Assume 'arr[-1]' and 'arr[n]' as negative infinity.


Note:
1.  There are no 2 adjacent elements having same value (as mentioned in the constraints).
2.  Do not print anything, just return the index of the peak element (0 - indexed).
3. 'True'/'False' will be printed depending on whether your answer is correct or not.


Example:

Input: 'arr' = [1, 8, 1, 5, 3]

Output: 3

Explanation: There are two possible answers. Both 8 and 5 are peak elements, so the correct answers are their positions, 1 and 3.


Try solving now

2. JUMP GAME

Moderate
40m average time
35% success
0/80
Asked in companies
Tata Consultancy Services (TCS)GrowwWalmart

Given an array of non-negative integers ‘ARR’ of length ‘N’, you are initially positioned at the array's first index.

Each element in the array represents your maximum jump length at that position.

Return the minimum number of jumps required to reach the last index.

If it is not possible to reach the last index, return -1.

Example:
Input:

‘N’ = 3
‘ARR’ = [ 2, 1, 1 ]

The shortest way to reach index 2 is
Index 0 => Index 2
that requires only 1 jump.
Try solving now
02
Round
Medium
Online Coding Interview
Duration50 minutes
Interview date10 Aug 2021
Coding problem2

25 mcq question was asked

1. Search In Rotated Sorted Array

Easy
12m average time
85% success
0/40
Asked in companies
OYOZSAmazon

You have been given a sorted array/list 'arr' consisting of ‘n’ elements. You are also given an integer ‘k’.


Now the array is rotated at some pivot point unknown to you.


For example, if 'arr' = [ 1, 3, 5, 7, 8], then after rotating 'arr' at index 3, the array will be 'arr' = [7, 8, 1, 3, 5].


Now, your task is to find the index at which ‘k’ is present in 'arr'.


Note :
1. If ‘k’ is not present in 'arr', then print -1.
2. There are no duplicate elements present in 'arr'. 
3. 'arr' can be rotated only in the right direction.


Example:
Input: 'arr' = [12, 15, 18, 2, 4] , 'k' = 2

Output: 3

Explanation:
If 'arr' = [12, 15, 18, 2, 4] and 'k' = 2, then the position at which 'k' is present in the array is 3 (0-indexed).


Try solving now

2. Aptitude Question

Two taps A and B can fill a cistern in 48 minutes and 64 minutes respectively. Tap C can empty the tank in 96 minutes. If all the taps are opened together, in how much time the cistern will get filled?

Problem approach

Tip 1 : you need to be familiar with tricks that can help you solve such questions fast and accurately
Tip 2 : be aware of time limit
Tip 3 : be aware of negative marking if any

03
Round
Easy
Telephonic
Duration50 minutes
Interview date15 Aug 2021
Coding problem2

This is main Interview round having panel of 3 interviewers: Technical, Managerial and HR

1. Technical Questions

Questions related to CS topics like DBMS, OS, Computer Networks.

Problem approach

Tip 1 : you have to go through core CS concepts
Tip 2 : have basic understanding of OSI model in Computer Networks.
Tip 3 : if you do not remember solution to any question, you can simply tell, :sorry, I didn't exactly remember the solution for this"

2. DBMS Question

Is NoSQl better or SQL?

Difference between DBMS, RDBMS.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Tata Consultancy Services (TCS)
1842 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 12 problems
Interviewed by Tata Consultancy Services (TCS)
1287 views
1 comments
0 upvotes
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
1283 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
1595 views
3 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6240 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Accenture
2487 views
0 comments
0 upvotes