Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Tata Consultancy Services (TCS) interview experience Real time questions & tips from candidates to crack your interview

TCS Ninja

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

Interview preparation journey

expand-icon
Journey
When TCS announced their National Qualifier Test (NQT) for freshers, I saw it as a golden opportunity. I dedicated myself to rigorous preparation, focusing on strengthening my knowledge of Data Structures and Algorithms (DSA) and practising mock tests to improve my speed and accuracy. After successfully clearing the NQT, I was called for an interview. The interview process was challenging, but my preparation and determination paid off. I answered the questions confidently, demonstrating my technical skills and problem-solving abilities. Clearing the interview and receiving the Ninja offer was a moment of immense pride and joy for me.
Application story
My application journey with Tata Consultancy Services (TCS) began when I applied through their National Qualifier Test (NQT) on the company’s portal. Recognizing TCS as a leading IT services company, I was eager to take part in their hiring process. I registered for the NQT and prepared diligently, focusing on key areas such as Data Structures and Algorithms (DSA), Object-Oriented Programming (OOP), Database Management Systems (DBMS), SQL, and aptitude skills. After submitting my application, I was scheduled to take the NQT, which included sections on quantitative aptitude, programming logic, and coding. Following the successful completion of the test, I was called for an interview. The interview process was comprehensive and tested my technical knowledge, problem-solving abilities, and overall readiness for the role. Clearing the interview and receiving the Ninja offer was a proud moment for me, marking the culmination of my hard work and preparation. This application journey was a significant learning experience, and I am excited to start my career with TCS.
Why selected/rejected for the role?
I was selected for the Ninja role at TCS due to my strong foundation in core subjects like Data Structures and Algorithms (DSA), Object-Oriented Programming (OOP), and SQL. My practical experience through projects and internships, coupled with my aptitude skills and consistent academic performance, demonstrated my readiness and fit for the role. This selection highlighted the importance of thorough preparation, practical experience, and continuous learning in achieving career goals.
Preparation
Duration: 1 month
Topics: Data Structures, Algorithms, OOPS, DBMS, SQL, Aptitude
Tip
Tip

Tip 1: Practice both basic and medium-level Data Structures and Algorithms (DSA) questions to build a strong foundation and enhance your problem-solving skills.

Tip 2: Prepare thoroughly for Object-Oriented Programming (OOP), Database Management Systems (DBMS), and SQL concepts to handle technical interview questions confidently.

Tip 3: Work on your aptitude skills, as they are crucial for clearing the National Qualifier Test (NQT) and are often a significant part of the selection process.

Application process
Where: Company Website
Eligibility: Minimum 60% or 6 CGPA throughout academics and in the highest qualification, no backlogs or ATKT, Maximum of 2 years of experience, Candidates should be in the age group of 18 to 28, Applicants with a gap of up to 2 years are allowed.
Resume Tip
Resume tip

Tip 1: Highlight relevant projects and internships to showcase practical experience and skills.

Tip 2: Ensure your resume is clear, concise, and free of any false information. Use bullet points to make it easy to read.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 minutes
Interview date5 Jun 2024
Coding problem2

Timing: The National Qualifier Test (NQT) was scheduled during the day, ensuring a comfortable time for all candidates.

Environment: The test was conducted in a well-organized and structured manner, providing a conducive environment for focus and concentration. It was held online, allowing candidates to take the test from their preferred locations.

Significant Activity: The NQT consisted of multiple sections, including quantitative aptitude, programming logic, and coding. Each section was timed, and the questions were designed to test a candidate’s problem-solving abilities and technical knowledge.

Interviewer: There was no interviewer for the NQT as it is an online test. However, the test was proctored to ensure fairness and prevent any malpractice.

The entire process was smooth and efficient, allowing me to demonstrate my skills effectively

1. Search an Element in an Array

Easy
15m average time
80% success
0/40
Asked in companies
Tata Consultancy Services (TCS)OracleCurefit

A chocolate factory is packing chocolates into the packets. The chocolate packets here represent an array of N number of integer values. The task is to find the empty packets(0) of chocolate and push them to the end of the conveyor belt(array).

Problem approach

Step 1: Input Reading

I started by reading the integer value n, which represents the number of elements in the array.
I then read the n integer values into an array.

Step 2: Processing Non-Zero Elements

I initialized a variable count to keep track of the position where the next non-zero element should be placed.
I iterated through the array and for each non-zero element found, I placed it at the index indicated by count and incremented count.

Step 3: Placing Zeros

After placing all non-zero elements at the beginning of the array, I filled the remaining positions with zeros. This was done by iterating from the index count to the end of the array.

Step 4: Output the Result

Finally, I printed the array with non-zero elements followed by zeros.

Try solving now

2. Sort Array

Moderate
15m average time
85% success
0/80
Asked in companies
SprinklrTata Consultancy Services (TCS)BNY Mellon

Airport security officials have confiscated several items of the passengers at the security checkpoint. All the items have been dumped into a huge box (array). Each item possesses a certain amount of risk[0,1,2]. Here, the risk severity of the items represents an array[] of N number of integer values. The task here is to sort the items based on their levels of risk in the array. The risk values range from 0 to 2.

Problem approach

Step 1: Input Reading

I started by reading the integer value n, which represents the number of elements in the array.
I then read the n integer values into an array arr.

Step 2: Counting Occurrences

I initialized three counters: countZero, countOne, and countTwo to keep track of the number of 0s, 1s, and 2s in the array.
I iterated through the array, incrementing the respective counter based on the value of each element (0, 1, or 2).

Step 3: Constructing Sorted Array

Using the counts obtained in the previous step, I reconstructed the array by first placing all 0s, then all 1s, and finally all 2s.
I used a variable j to keep track of the current index where the next value should be placed.

Step 4: Output the Result

I printed the sorted array, where the elements are ordered from 0 to 2 based on their risk severity.

Try solving now
02
Round
Medium
Face to Face
Duration40 minutes
Interview date10 Jul 2024
Coding problem2

The interview round took place a couple of weeks after the Online Assessment and was conducted during the day to ensure convenience for candidates. The environment was professional and focused, with the interviews held virtually to provide a smooth experience. The process included two segments: a Technical Interview and an HR/MR Interview, both conducted on the same day.

The Technical Interview assessed candidates' technical skills and problem-solving abilities through coding problems and discussions on various technical topics. In contrast, the HR/MR Interview focused on evaluating communication skills, cultural fit, and career aspirations. The interviewers were professional, providing clear guidance and maintaining an engaging approach to evaluate both technical proficiency and personal attributes.

1. Check If The String Is A Palindrome

Easy
10m average time
90% success
0/40
Asked in companies
InfosysIntuitTata Consultancy Services (TCS)

You are given a string 'S'. Your task is to check whether the string is palindrome or not. For checking palindrome, consider alphabets and numbers only and ignore the symbols and whitespaces.

Note :

String 'S' is NOT case sensitive.

Example :

Let S = “c1 O$d@eeD o1c”.
If we ignore the special characters, whitespaces and convert all uppercase letters to lowercase, we get S = “c1odeedo1c”, which is a palindrome. Hence, the given string is also a palindrome.
Try solving now

2. DBMS

  • Rate yourself on SQL
  • Write a Query for Nth Lowest Salary
  • What is Table in Database
  • What is Schema (Learn)
  • Types of Keys (Learn)
  • What is Super Key? (Learn)
Problem approach

Tip 1: Read "Galvin for OS" thoroughly.

This book provides comprehensive coverage of operating system concepts, including semaphores and virtual memory.


Tip 2: Practice SQL queries.

Regular practice with SQL queries will enhance your ability to write complex queries and understand SQL performance.


Tip 3: Review database design and theory.

Understanding database tables, schemas, keys, and their relationships is crucial for effective database management and querying.

03
Round
Easy
HR Round
Duration10 Minutes
Interview date5 Jul 2024
Coding problem1

The HR Interview took place after a gap following the Technical Interview and lasted about 10 minutes. It was scheduled during regular working hours, ensuring a professional and efficient environment. The interview focused on key aspects of the candidate’s profile, including their background, willingness to relocate, academic performance, and reasons for choosing TCS. The interviewer was direct and professional, asking standard HR questions such as, "Give a brief introduction about yourself," "Are you ready for relocation?" "Do you have any active backlogs?" "How much did you score in your graduation?" and "Why TCS?" After addressing these questions, the candidate was informed that they would need to wait a week for the final results.

1. HR Questions

  • Give a brief introduction about yourself.
  • Are you ready for relocation?
  • Do you have any active backlogs?
  • How much did you score in your graduation?
  • Why TCS?
Problem approach

Tip 1. Give a brief introduction about yourself.
Tip: Focus on a concise summary of your background, including education, key experiences, and skills relevant to the role. Highlight accomplishments and key strengths that align with the job description. Practice a brief elevator pitch to ensure you can deliver it smoothly.

Tip 2. Are you ready for relocation?
Tip: Be honest about your willingness to relocate. If you are open to it, express your flexibility and eagerness to adapt to new locations for career growth. If you have reservations, explain them diplomatically while showing a willingness to discuss possible solutions.

Tip 3. Do you have any active backlogs?
Tip: Clearly state whether you have any active backlogs and, if so, explain the steps you are taking to address them. Emphasize your commitment to completing any outstanding academic requirements and your readiness to meet job requirements.

Tip 4. How much did you score in your graduation?
Tip: Provide your graduation score accurately. If your score is high, use it as a positive point to highlight your academic strength. If your score is average, focus on how your practical experiences and skills compensate and how you’ve grown since then.

Tip.5. Why TCS?
Tip: Research TCS thoroughly before the interview. Highlight specific aspects of the company that appeal to you, such as its values, work culture, growth opportunities, or specific projects. Connect these aspects to your career goals and how you see yourself contributing to and growing with TCS.

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 write a single-line comment in C++?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
TCS Ninja
3 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
907 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
1137 views
2 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
223 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 3 problems
Interviewed by Tata Consultancy Services (TCS)
3970 views
1 comments
0 upvotes