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

Digital Technology Intern

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

Interview preparation journey

expand-icon
Journey
I Started coding in my 3rd year. started with leetcode easy problems then move on to medium, solved around 250 problems. This was an on-campus drive. TCS visited our campus in Aug 2021
Application story
We got an email from our college TPO about TCS and eligible students who can apply for the same. I immediately filled out the application form and got the confirmation mail and the online assessment details.
Why selected/rejected for the role?
I got rejected just because of face to face interview. The interviewer asked me mostly about my projects. At that time, I didn't prepare my projects, so I couldn't explain it.
Preparation
Duration: 4 months
Topics: OOPS, DBMS, Computer Networks, System Design, Operating systems, Dynamic Programming , Data Structures :- Trees and Graphs
Tip
Tip

Tip 1 : If you are fresher focus on core subjects as well.
Tip 2 : You should be aware of OOPS concepts.
Tip 3 : Practice DSA as much as possible.

Application process
Where: Campus
Eligibility: 70 percent
Resume Tip
Resume tip

Tip 1 : Prepare well what you write in your resume
Tip 2 : Make a decent project.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date12 Aug 2021
Coding problem2

This was the first round. There were 3 sections (Aptitude + verbal + coding test). The overall round was medium.

1. Rotate array

Easy
25m average time
80% success
0/40
Asked in companies
Dell TechnologiesThalesMicrosoft

Given an array 'arr' with 'n' elements, the task is to rotate the array to the left by 'k' steps, where 'k' is non-negative.


Example:
'arr '= [1,2,3,4,5]
'k' = 1  rotated array = [2,3,4,5,1]
'k' = 2  rotated array = [3,4,5,1,2]
'k' = 3  rotated array = [4,5,1,2,3] and so on.
Try solving now

2. The kth Permutation

Easy
0/40
Asked in companies
Tata Consultancy Services (TCS)Coforge

You are given a permutation of ‘N’ integers from 1 to ‘N’. You have to count the number of index ‘k’ such that on sorting these first ‘k’ indexes, you will get a subarray of ‘k’ integers having values from 1 to ‘k’.

For Example :
‘N’ = 5, ‘ARR’ = {3, 1, 2, 4, 5}.

Now in this example, There are three indexes 3, 4, 5(indexing starting from 1):
Sorted subarray(1, 3): 1, 2, 3.
Sorted subarray(1, 4): 1, 2, 3, 4.
Sorted subarray(1, 5): 1, 2, 3, 5.
Hence the answer is 3.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date28 Aug 2021
Coding problem4

There were three interviewers on the panel, one for technical, one for HR, and one for MR.

1. Merge Sort

Easy
15m average time
85% success
0/40
Asked in companies
Wells FargoThought WorksAccenture

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm -

Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

subsequence

The above illustrates shows how merge sort works.
Note :
It is compulsory to use the ‘Merge Sort’ algorithm.
Try solving now

2. Java Questions

Explain Final, Finally, and Finalize in Java (Learn)

3. Java Questions

How can we initialize the global variable in java? (Learn)

Problem approach

We can use static keyword

4. HR Questions

1. What are your strengths and weaknesses?
2. Will you be able 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

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
company logo
System Engineer
3 rounds | 5 problems
Interviewed by Tata Consultancy Services (TCS)
0 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
Associate Software Engineer
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
680 views
0 comments
0 upvotes