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

TCS Ninja

Tata Consultancy Services Limited (TCSL)
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I completed my B.Tech from Jaypee Institute of Information Technology, Noida, in 2025. Currently, I am working at Accenture. I started my journey in DSA and web development during my second year of college. In my fourth year, I received several offers, all in the range of 3–5 LPA. In 2025, I applied to NQT off-campus, aiming for a Prime role.
Why selected/rejected for the role?
I was not selected for the Prime role since I did not have any of the three—AI/ML, Blockchain, or Cloud—on my resume. I was only proficient in DSA and not much in development, which is why I got rejected for Prime and was offered the Ninja role instead.
Preparation
Duration: 1 month
Topics: Aptitude, Data Structures and Algorithms, Object Oriented Programming, Quant, English
Tip
Tip

Tip 1: If you are not able to qualify the aptitude round, even if you solve two coding questions, you won’t get any calls.
Tip 2: Aim to qualify the aptitude round and crack the two coding questions.

Application process
Where: Other
Eligibility: 6 CGPA, (Salary package: 3.6 LPA)
Resume Tip
Resume tip

Tip 1: AI/ML, Blockchain, or Cloud—one of these three technologies is a must in your resume.
Tip 2: Keep an achievements section as well.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration190 minutes
Interview date15 Mar 2025
Coding problem2

The test was conducted offline at a TCS ION Digital Centre in Delhi.
The systems were old, and the keyboard was not working properly.
The coding questions were also very poorly set.

The test was divided into two sections: Part A and Part B, with a total duration of 190 minutes.

Part A was the foundation section and it lasted for 75 minutes. It included three parts: Numerical Ability, Verbal Ability, and Reasoning Ability, and each of them was given 25 minutes.

After that, there was Part B, which was the advanced section and it lasted for 115 minutes. This section had Advanced Quantitative and Reasoning questions for 25 minutes, and then Advanced Coding, where we got 90 minutes to solve coding problems.

1. Make Array Elements Equal

Moderate
25m average time
75% success
0/80
Asked in companies
CIS - Cyber InfrastructureMakeMyTrip

You are given an array of integers of size ‘N’. You have to make the elements of the array equal, and the cost of changing the element ‘x’ to ‘y’ is abs(x -y). Your task is to find the minimum cost to make the elements of the array equal.

For example:
Consider ARR = [3, 4, 5] now suppose if we want to change every element value to 4, then the cost of changing 3 to 4 is |3 - 4| which is 1, and the cost of changing 5 to 4 is |5 - 4| which is 1, so the total cost is 1 + 1 = 2. The value 2 is the minimum cost to make all values in the array equal. Hence, the answer is 2.
Problem approach

I applied brute force and it worked, do the operation sort and repeat.

Try solving now

2. Range Sum

Moderate
10m average time
80% success
0/80
Asked in companies
MicrosoftAdobeGeeksforGeeks

You are given an array ‘arr’ of size ‘N’. You are provided with ‘Q’ queries, each containing two integers, ‘L’ and ‘R’. Your task is to return the sum of elements from the position ‘L’ to ‘R’ for each query.

For example:
You are given arr = [1, 3, 4, 5, 6, 9], and queries = [[1, 3], [5, 6] , [1, 6]].

For the first query [1, 3] sum of elements = 1 + 3 + 4 = 8. Hence the answer is 8

For the second query [5, 6] sum of elements = 6 + 9 = 15. Hence the answer is 15

For the third query [1, 6] sum of elements = 1 + 3 + 4 + 5 + 6 + 9= 28. Hence the answer is 28. 

Hence the final answer is [8, 15, 28]
Problem approach

I used prefix sum.

Try solving now
02
Round
Easy
Face to Face
Duration20 minutes
Interview date26 Jun 2025
Coding problem3

During the TCS interview round, the interviewer first asked me about my proficiency in Java.
They also asked me why I had not done any internship during college, and we discussed that briefly.
During the discussion, the interviewer mentioned that for the Prime role, they usually look for candidates who have projects related to AI/ML, Blockchain, or Cloud. Since I did not have projects in these areas, that became one of the main reasons for my rejection.
At one point, I also requested them to ask me some DSA questions, but they mentioned that DSA questions are generally asked for the Ninja role and not for the Prime role.
I also did not disclose the other offers I had at that time, which I later felt might have created a slightly negative impression during the discussion.

1. Java

  • Access specifiers in Java. (Learn)
  • Difference between Vector and List in Java. (Learn)
  • Difference between HashMap and HashTable. (Learn)

2. SQL

The interviewer asked whether I knew self join, and then told me to frame a problem statement myself and write a SQL query using a self join. (Learn)

3. NodeJS

  • How authentication is done in Node.js? (Learn)
  • Difference between authentication and authorization. (Learn)

Here's your problem of the day

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

Skill covered: Programming

Which data structure is used to implement a DFS?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
5027 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6697 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3720 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 4 problems
Interviewed by Tata Consultancy Services Limited (TCSL)
21 views
0 comments
0 upvotes