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

Software Developer

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

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, Algorithms, Quantitative Aptitude, Logical Reasoning, Verbal Ability
Tip
Tip

Tip 1 : Practice as many questions as you can
Tip 2 : Practice variety of questions from different topics
Tip 3 : Try to solve more of intermediate and hard difficulty level questions and dont waste time on easy questions

Application process
Where: Campus
Eligibility: Above 6.5 CGPA and not more than one backlog ( which will have to be cleared before joining TCS)
Resume Tip
Resume tip

Tip 1 : Have some projects on your resume
Tip 2 : Make your resume specific to the role you are applying for

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 minutes
Interview date9 Oct 2020
Coding problem1

This round was online and take from home. The timings were in the day itself with 3 windows of 3 hours each. We could login in any of those specified time windows. The entire test was 180 mins duration consisting of MCQ sections of Quantitative Aptitude, Logical Reasoning and Verbal Ability. Also, it consisted of Programming Fundamentals MCQ section and advanced coding section at the end with two coding questions.

1. Binary Tree Zigzag Traversal

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

You have been given a Binary Tree of 'N' nodes, where the nodes have integer values. Your task is to print the zigzag traversal of the given tree.

Note:
In zigzag order, level 1 is printed from left to right fashion, level 2 is printed from right to left. and level 3 is printed from left to right again, and so on…..
For example:
For the given binary tree

1

The zigzag  traversal is [1, 4, 3, 5, 2, 7, 6]
Problem approach

1. I used a queue for level order traversal

2. I declared a flag variable to keep track of the alternate level to reverse the order of the corresponding level.

3. If flag = true, it means the elements have to be inserted from left to right in the arraylist or else if flag = false, it means the elements have to be inserted from right to left in the arraylist.

Try solving now
02
Round
Medium
Video Call
Duration40 minutes
Interview date23 Oct 2020
Coding problem1

This was the interview round which consisted of two sub rounds : technical and HR round. It was conducted on Google Meet video conference call online. The questions asked in the technical interview were about my introduction and my projects mentioned in my resume. Also, the asked few coding questions of string manipulation on Java and OOPs concepts. The technical round went very well and the interviewer was satisfied with my answers. In the HR round, the questions were related to cultural fit and location and relocation preferences. After few weeks of the interview, I got a job offer stating that I have been selected for the role of Software Developer at TCS.

1. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
ThalesDeutsche BankPaytm (One97 Communications Limited)

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Problem approach

1. The idea is to traverse the length of the string 
2. Extract each character while traversing 
3. Add each character in front of the existing string

Try solving now

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
Software Developer
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
1850 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1638 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1632 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Developer
3 rounds | 3 problems
Interviewed by HCL Technologies
3361 views
1 comments
0 upvotes
company logo
Software Developer
3 rounds | 6 problems
Interviewed by Arcesium
1672 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 5 problems
Interviewed by HCL Technologies
4024 views
0 comments
0 upvotes