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

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Data Structures, Algorithms, System Design, Aptitude, OOPS, Java
Tip
Tip

Tip 1 : To prepare for Codevita, start preparing the basic DSA topics.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Prepare a good project & learn OOPS and DBMS.

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

Tip 1 : Single page resume should be prepared with key pointers. 
Tip 2 : Mention your Internship and extracurricular experiences to show your proactiveness.

Interview rounds

01
Round
Medium
Online Coding Test
Duration360 minutes
Interview date12 Sep 2018
Coding problem2

The first round of TCS Codevita is a 6-question, 6 hours round. I fully solved 2 ques. out of 6 and one partially. Both of the questions were of a basic level related to arrays and strings.

1. Encode The String

Easy
10m average time
80% success
0/40
Asked in companies
Goldman SachsTata Consultancy Services (TCS)Deloitte

You are given a string ‘S’ of length ‘N’. The string can be encoded using the following rules:

1) If the ‘i-th’ character is a vowel, change it to the next character in the alphabetical sequence. For example, the next character of ‘o’ is ‘p’.

2) If the ‘i-th’ character is a consonant, change it to the previous character in the alphabetical sequence. For example, the previous character of ‘h’ is ‘g’.

3) The next character of ‘z’ is ‘a’.

4) The previous character of ‘a’ is ‘z’.

Find the encoded string.

Example :
‘N’ = 4, ‘S’ = “code”

Character ‘c’ gets changed to ‘b’.
Character ‘o’ gets changed to ‘p’.
Character ‘d’ gets changed to ‘c’.
Character ‘e’ gets changed to ‘f’.

Encoded string = “bpcf”
Try solving now

2. Sum Of Infinite Array

Moderate
35m average time
70% success
0/80
Asked in companies
Zensar TechnologiesHexaware TechnologiesTata Consultancy Services (TCS)

Given an array “A” of N integers and you have also defined the new array “B” as a concatenation of array “A” for an infinite number of times.

For example, if the given array “A” is [1,2,3] then, infinite array “B” is [1,2,3,1,2,3,1,2,3,.......].

Now you are given Q queries, each query consists of two integers “L“ and “R”(1-based indexing). Your task is to find the sum of the subarray from index “L” to “R” (both inclusive) in the infinite array “B” for each query.

Note :

The value of the sum can be very large, return the answer as modulus 10^9+7.
Try solving now
02
Round
Easy
Video Call
Duration50 minutes
Interview date15 Sep 2021
Coding problem4

There were three panellists, so it was a combination of Technical Round, Managerial Round & HR in one round itself.
First, they asked for the documents they mentioned in the mail to show during the interview, so I shared the screen and showed them. Then the interview started.

First, they asked me to introduce myself after that there was a brief discussion about my projects that I had mentioned in my resume. Then I was asked some questions related to Java, OOPS and Machine Learning (as I did a project on it). This was followed by a simple coding question marking the end of the interview. Overall this round went pretty well.

1. Factorial of a Number

Moderate
25m average time
70% success
0/80
Asked in companies
Wells FargoTata Consultancy Services (TCS)Squadstack

You are given an integer ‘N’. You have to print the value of Factorial of ‘N’. The Factorial of a number ‘N’ is defined as the product of all numbers from 1 to ‘N’.

For Example:
Consider if ‘N’ = 4, the Factorial of 4 will be the product of all numbers from 1 to 4, which is 1 * 2 * 3 * 4 = 24. Hence, the answer is 24.
Try solving now

2. Java Question

  • What are the advantages of Packages in Java?
  • How would you differentiate between a String, StringBuffer, and a StringBuilder?
  • Why Java is platform-independent and JVM platform-dependent?

3. Machine Learning Question

Differentiate between Supervised learning, Unsupervised learning, & Reinforcement learning.

4. OOPS Question

  • What is meant by Interface?
  • Explain the difference between Abstract class and Interface.

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
Assistant System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1296 views
0 comments
0 upvotes
company logo
Assistant System Engineer
2 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
1315 views
1 comments
0 upvotes
company logo
Assistant System Engineer
4 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
1019 views
0 comments
0 upvotes
company logo
Assistant System Engineer
2 rounds | 3 problems
Interviewed by Tata Consultancy Services (TCS)
901 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Assistant System Engineer
2 rounds | 4 problems
Interviewed by Accenture
1331 views
0 comments
0 upvotes
company logo
Assistant System Engineer
3 rounds | 4 problems
Interviewed by Accenture
0 views
0 comments
0 upvotes