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

Frontend Developer

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structure , Algorithms ,DBMS , OOPs ,OS
Tip
Tip

Tip 1 : Good understanding of Data Structure and Algorithms 
Tip 2 : Be clear in your Core Subjects.
Tip 3 : Do at least 1 good Project .
Tip 4 : Be humble and speak truth .

Application process
Where: Other
Eligibility: Must be doing B.TECH
Resume Tip
Resume tip

Tip 1 : Simple and Crisp .
Tip 2 : Do host your project and mention the link in the resume .
Tip 3 : Single Page

Interview rounds

01
Round
Medium
Online Coding Test
Duration360 minutes
Interview date18 Jul 2019
Coding problem1

Basically TCS conduct its flagship event named as CODEVITA . And it offers Internship to prefinal (3rd )year students .

1. Allocate Books

Moderate
10m average time
90% success
0/80
Asked in companies
PayUIBMZS

Given an array ‘arr’ of integer numbers, ‘arr[i]’ represents the number of pages in the ‘i-th’ book.


There are ‘m’ number of students, and the task is to allocate all the books to the students.


Allocate books in such a way that:

1. Each student gets at least one book.
2. Each book should be allocated to only one student.
3. Book allocation should be in a contiguous manner.


You have to allocate the book to ‘m’ students such that the maximum number of pages assigned to a student is minimum.


If the allocation of books is not possible, return -1.


Example:
Input: ‘n’ = 4 ‘m’ = 2 
‘arr’ = [12, 34, 67, 90]

Output: 113

Explanation: All possible ways to allocate the ‘4’ books to '2' students are:

12 | 34, 67, 90 - the sum of all the pages of books allocated to student 1 is ‘12’, and student two is ‘34+ 67+ 90 = 191’, so the maximum is ‘max(12, 191)= 191’.

12, 34 | 67, 90 - the sum of all the pages of books allocated to student 1 is ‘12+ 34 = 46’, and student two is ‘67+ 90 = 157’, so the maximum is ‘max(46, 157)= 157’.

12, 34, 67 | 90 - the sum of all the pages of books allocated to student 1 is ‘12+ 34 +67 = 113’, and student two is ‘90’, so the maximum is ‘max(113, 90)= 113’.

We are getting the minimum in the last case.

Hence answer is ‘113’.
Try solving now
02
Round
Medium
Telephonic
Duration30 Minutes
Interview date25 Jun 2020
Coding problem0

Interviewer asked me some OOPS basic concept . Then he moved to DBMS . In DBMS he asked about Paging ,Faults , 
Transactions and Some SQL queries .

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
SDE - 1
2 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
1594 views
3 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
2956 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 3 problems
Interviewed by Tata Consultancy Services (TCS)
5200 views
1 comments
0 upvotes
company logo
Frontend Developer
3 rounds | 5 problems
Interviewed by Tata Consultancy Services (TCS)
88 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Frontend Developer
3 rounds | 7 problems
Interviewed by Cognizant
2407 views
0 comments
0 upvotes
Frontend Developer
2 rounds | 4 problems
Interviewed by Genpact
2267 views
0 comments
0 upvotes
Frontend Developer
3 rounds | 7 problems
Interviewed by Genpact
1715 views
0 comments
0 upvotes