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: 1 month
Topics: Object Oriented Programming, Data Structure, Software Testing, Java, Java Collections
Tip
Tip

Tip 1 : Pick a single coding language through which you can all the basic concepts of programming.
Tip 2 : When you learn a whole concept, practice the same by making small code snippet projects.
Tip 3 : Practice Daily. Consistency is important.

Application process
Where: Other
Eligibility: Above 60% throughout the education qualification
Resume Tip
Resume tip

Tip 1 : Mention all the projects you did by yourself, even if they are small.
Tip 2 : Only and only mention the things that are true, because there is always a good discussion about any of the things that you might mention.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date21 Sep 2019
Coding problem1

1. Number with maximum probability

Easy
10m average time
90% success
0/40
Asked in companies
Tata Consultancy Services (TCS)AmazonCapegemini Consulting India Private Limited

One day Ninja Misha and Ninja Andrew (students of the Ultimate Ninja Ankush) were playing a very simple game. First, each player chooses an integer in the range from 1 to ‘N’. Let's assume that Ninja Misha chose the number ‘numMisha’, and Ninja Andrew chose the number ‘numAndrew’.

Then, by using a random generator they choose a random integer ‘C’ in the range between 1 and ‘N’ (any integer from 1 to ‘N’ is chosen with the same probability), after which the winner is the player whose number was closer to ‘C’. The boys agreed that if ‘numMisha’ and ‘numAndrew’ are located on the same distance from ‘C’, Misha wins.

Andrew wants to win very much, so he asks you to help him. You know the number selected by Ninja Misha, and the number ‘N’. You need to determine which value Ninja Andrew must choose, so that the probability of his victory is the highest possible.

More formally, you need to find such integer ‘numAndrew’ (1 ≤ ‘numAndrew’ ≤ n), that the probability that

| ‘C’ - ‘numAndrew’| < | ‘C’ - ‘numMisha’ | is maximal, where ‘C’ is the equi-probably chosen integer from 1 to ‘N’ (inclusive).

For example:

Given ‘N’ = 4, ‘numMisha’ = 2.
The options available to us are 1, 3, and 4. In this case, choosing 3 would be most optimal because the probability that Andrew wins is 2 / 4, whereas if he chooses 1 or 4 it would be 1 / 4.
Try solving now
03
Round
Medium
HR Round
Duration30 minutes
Interview date5 Oct 2019
Coding problem1

1. Basic HR Questions

Why do I want to join TCS?
Why development?
Where do I see myself in 5 years?

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)
1849 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1744 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
Companies with similar interview experiences
company logo
Software Developer
3 rounds | 3 problems
Interviewed by HCL Technologies
3360 views
1 comments
0 upvotes
company logo
Software Developer
3 rounds | 6 problems
Interviewed by Arcesium
1671 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 5 problems
Interviewed by HCL Technologies
4023 views
0 comments
0 upvotes