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

Assistant System Engineer

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

Interview preparation journey

expand-icon
Journey
My journey from basics to TCS offers: Started with fundamentals, embraced challenges, and sought growth through projects and learning. Persevered through setbacks, stayed updated with industry trends, and honed technical and soft skills. Prepared thoroughly, remained authentic, and secured TCS offer through dedication and resilience.
Application story
I applied for the TCS Ninja role through their official website. After submitting my application, I received an email confirming my application and providing details about the recruitment process. This included an online test followed by interviews.
Why selected/rejected for the role?
My selection for the TCS Ninja role was attributed to my solid academic background, relevant projects showcased on my resume, and performance in the online tests and interviews. I demonstrated a strong understanding of key concepts and effectively communicated my problem-solving approach during the interview process.
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, Object-Oriented Programming, JavaScript, React
Tip
Tip

Tip 1: Practice problem-solving daily to strengthen algorithmic thinking.

Tip 2: Create as many projects as possible.

Tip 3: Participate in coding contests or on platforms to enhance speed and accuracy.

Application process
Where: Campus
Eligibility: No backlog
Resume Tip
Resume tip

Tip 1: Highlight key achievements and experiences relevant to the role.

Tip 2: Ensure clarity, brevity, and accuracy in presenting information.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration180 minutes
Interview date8 Feb 2023
Coding problem1

There were two sections: the first was the MCQ round, followed by the coding round which included 2 hard coding questions.

1. Longest Palindromic Substring

Moderate
35m average time
78% success
0/80
Asked in companies
Paytm (One97 Communications Limited)AmazonMicrosoft

Given a string s, find the length of the longest palindromic substring in s.

Problem approach

Understanding the problem: Recognize that a palindromic substring reads the same backward as forward. The problem asks to find the longest palindromic substring in a given string.

Brute force approach: Start with each character in the string and expand outwards to check if the substring is a palindrome. Track the longest palindrome found.

Optimized approach: Utilize dynamic programming to optimize the solution. Create a boolean table dp[i][j] where dp[i][j] is true if the substring from index i to j is a palindrome.

Initialize base cases: Set dp[i][i] to true for all single characters, and dp[i][i+1] to true for all adjacent characters if they are the same.

Dynamic programming recurrence: Use the recurrence relation dp[i][j] = (s[i] == s[j] && dp[i+1][j-1]) to check if the substring from i to j is a palindrome based on the characters at indices i and j.

Update the maximum length: Keep track of the maximum length of palindromic substrings found during the process.

Try solving now
02
Round
Easy
Video Call
Duration20 minutes
Interview date18 Feb 2023
Coding problem2

1. Operating System

1. What is the difference between process and thread in an operating system? (Learn)
2. Explain the concept of deadlock and how it can be prevented in an operating system. (Learn)

2. DBMS

1. Define ACID properties in the context of database transactions. Why are they important? (Learn)
2. Explain the differences between the terms database, table, record, and field.
3. What is a primary key and a foreign key in a relational database? How do they differ? (Learn)

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
company logo
Assistant System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1055 views
0 comments
0 upvotes
company logo
Assistant System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
814 views
0 comments
0 upvotes
company logo
Assistant System Engineer
2 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
953 views
0 comments
0 upvotes
company logo
Assistant System Engineer
4 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
721 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Assistant System Engineer
2 rounds | 4 problems
Interviewed by Accenture
1093 views
0 comments
0 upvotes
company logo
Assistant System Engineer
3 rounds | 4 problems
Interviewed by Accenture
0 views
0 comments
0 upvotes