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

TCS Ninja

TCS
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
At that time, I was in my fourth year and had the opportunity to participate in the TCS NQT (National Qualifier Test), a competitive test held by Tata Consultancy Services (TCS). This test presented two appealing opportunities: the 'Ninja' role offering a package of 3.5 LPA and the 'Digital' role which came with a lucrative package of 7.5 LPA. The entire process was initiated by filling out a form on the official TCS website. This opportunity was made known to us through our college's CCPD cell, also known as the Placement Cell. The cell played a pivotal role in keeping us informed about such valuable opportunities, encouraging us to participate, and guiding us through the application process. This encapsulates my journey so far, a unique blend of hard work, learning, and achievement. This selection not only brings me pride but also motivates me to set higher goals for my future endeavors.
Application story
The entire process was initiated by filling out a form on the official TCS website. This opportunity was made known to us through our college's CCPD cell, also known as the Placement Cell. The cell played a pivotal role in keeping us informed about such valuable opportunities, encouraging us to participate, and guiding us through the application process.
Why selected/rejected for the role?
I guess: Relevant Skills and Experience Qualifications Impressive Cover Letter or Application Essay Confident(most Important)
Preparation
Duration: 1 month
Topics: Aptitude, English, Reasoning, DSA
Tip
Tip

Tip 1 : Practice DSA Regularly
Tip 2 : You should know a little about DBMS
Tip 3 : Practice Aptitude, Reasoning, and English a week before the exam.

Application process
Where: Campus
Eligibility: 60 percent throughout
Resume Tip
Resume tip

Tip 1 : Mention Projects
Tip 2 : Resume should be easy to read

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date19 Aug 2022
Coding problem2

1. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
SalesforceFreshworksWalmart

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Try solving now

2. Majority Element lll

Moderate
10m average time
90% success
0/80
Asked in companies
SamsungAdobeHCL Technologies

You are given an array ‘ARR’ and another integer number ‘K’. Your task is to find the all elements of ‘ARR’ which occur more than or equals to ‘N/K’ times in ‘ARR’ and ‘N’ is the length of array ‘ARR’.

For example:

Given array ‘ARR = { 1, 2, 3, 3, 3, 3, 4, 4, 4, 1, 2 ,0}’ and ‘K = 4’

Answer is {3, 4} because ‘3’ occurs ‘4’ times and ‘4’ occurs ‘3’ times which is more than or equals to ‘12/ 4 =3’.

Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date11 Sep 2022
Coding problem2

1. Find prime numbers

Easy
15m average time
80% success
0/40
Asked in companies
HSBCOptumIBM

You are given a positive integer ‘N’. Your task is to print all prime numbers less than or equal to N.

Note: A prime number is a natural number that is divisible only by 1 and itself. Example - 2, 3, 17, etc.

You can assume that the value of N will always be greater than 1. So, the answer will always exist.

Try solving now

2. N-th Fibonacci Number

Moderate
40m average time
70% success
0/80
Asked in companies
HCL TechnologiesHCL TechnologiesOracle

You are given an integer ‘N’, your task is to find and return the N’th Fibonacci number using matrix exponentiation.

Since the answer can be very large, return the answer modulo 10^9 +7.

Fibonacci number is calculated using the following formula:
F(n) = F(n-1) + F(n-2), 
Where, F(1) = F(2) = 1.
For Example:
For ‘N’ = 5, the output will be 5.
Try solving now
03
Round
Easy
HR Round
Duration20 minutes
Interview date15 Sep 2022
Coding problem1

1. Basic HR Questions

Your introduction.

Where do you see yourself in 5 years?

What do you know about TCS?

Are you willing to relocate?

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
TCS Ninja
2 rounds | 7 problems
Interviewed by TCS
1296 views
0 comments
0 upvotes
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
845 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 7 problems
Interviewed by TCS
953 views
0 comments
0 upvotes