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 | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I started my CodeStudio journey in my third semester. Since then, I have solved more than 800 problems on CodeStudio. The Coding Ninjas interview experience helped me crack this job interview. I also regularly participated in various coding contests, which helped me succeed in the TCS CodeVita exam.
Application story
I applied in December on the TCS CodeVita website, took the exam in March, and received the result in April. After that, two technical interviews were conducted, each being an elimination round. In the first interview, they asked about bubble sort and some questions on Operating Systems and DBMS. In the second interview, they asked a question on checking palindromes and some questions on React and JavaScript.
Why selected/rejected for the role?
I selected it because I solved all the coding questions with the most optimal solutions, discussed the time and space complexity, and wrote very clean code. I also provided correct answers to all core subject questions.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, Algorithms, Dynamic Programming, Operating System, Computer Networks,DBMS.
Tip
Tip

Tip 1: Try to solve 1 or 2 DSA problems on a daily basis.
Tip 2: Make proper notes.
Tip 3: Try to participate in online coding contests.

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

Tip 1: Add two or three good projects.
Tip 2: Add a linked profile to your resume.

Interview rounds

01
Round
Easy
Face to Face
Duration45 minutes
Interview date15 Apr 2022
Coding problem2

One DSA question was asked.

1. Sort Array

Moderate
35m average time
65% success
0/80
Asked in companies
Dell TechnologiesTata Consultancy Services (TCS)Hexaware Technologies

You are given an array of size ‘n’ to find the minimum number of steps to either convert it into either non-decreasing or non-increasing array. In one step you can either increment or decrement the element of the array.

Problem approach

Run a nested for loop to traverse the input array using two variables i and j, such that 0 ≤ i < n-1 and 0 ≤ j < n-i-1.
If arr[j] is greater than arr[j+1] then swap these adjacent elements, else move on.
Print the sorted array.

Try solving now

2. OOPs

Explain Polymorphism and its types. (Learn)

What is an Access Modifier? (Learn)

02
Round
Easy
Face to Face
Duration30 minutes
Interview date15 Apr 2022
Coding problem2

Two DSA question were asked.

1. Check If The String Is A Palindrome

Easy
10m average time
90% success
0/40
Asked in companies
SamsungSterlite Technologies LimitedGrab

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.
Problem approach

Initialize low and high indexes as 0 and n-1 respectively. 
Do following while low index ‘l’ is smaller than high index ‘h’.
If str[l] is not same as str[h], then return false. 
Increment l and decrement h, i.e., do l++ and h–. 
If we reach here, it means we didn’t find a mis

Try solving now

2. Check Permutation

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

You have been given two strings 'STR1' and 'STR2'. You have to check whether the two strings are anagram to each other or not.

Note:
Two strings are said to be anagram if they contain the same characters, irrespective of the order of the characters.
Example :
If 'STR1' = “listen” and 'STR2' = “silent” then the output will be 1.

Both the strings contain the same set of characters.
Try solving now
03
Round
Easy
Online Coding Interview
Duration20 minutes
Interview date16 Apr 2022
Coding problem1

1. Basic HR Questions

Tell me about yourself

Why do you want to join TCS?

Why should we hire you over other candidates?

What are your hobbies?

What are you good at, apart from academics?

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)
1841 views
0 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
3 rounds | 6 problems
Interviewed by Tata Consultancy Services (TCS)
1473 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
1594 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