TCS interview experience Real time questions & tips from candidates to crack your interview

Assistant System Engineer

TCS
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: C++, Java, Data Structures and Algorithms, Operating System, DBMS
Tip
Tip

Tip 1 : Learn one programming language extremely thoroughly.
Tip 2 : Practice aptitude and coding questions.
Tip 3 : Do atleast one major project and one minor project.

Application process
Where: Other
Eligibility: 60% in Graduation
Resume Tip
Resume tip

Tip 1 : One page resume is recommended for freshers.
Tip 2 : Keep your resume short and relevant.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration180 minutes
Interview date10 Mar 2021
Coding problem2

Round 1 : Aptitude + Coding Test

Total 5 sections were there
90 mcqs and 2 coding questions

1. Maximum Coins

Hard
16m average time
78% success
0/120
Asked in companies
ZSPayPalSamsung

You are given a two-dimensional matrix of integers of dimensions N*M, where each cell represents the number of coins in that cell. Alice and Bob have to collect the maximum number of coins. The followings are the conditions to collect coins:

Alice starts from top left corner, i.e., (0, 0) and should reach left bottom corner, i.e., (N-1, 0). Bob starts from top right corner, i.e., (0, M-1) and should reach bottom right corner, i.e., (N-1, M-1).

From a point (i, j), Alice and Bob can move to (i+1, j+1) or (i+1, j-1) or (i+1, j)

They have to collect all the coins that are present at a cell. If Alice has already collected coins of a cell, then Bob gets no coins if goes through that cell again.

For example :
If the matrix is 
0 2 4 1
4 8 3 7
2 3 6 2
9 7 8 3
1 5 9 4

Then answer is 47. As, Alice will collect coins 0+8+3+9+1 = 21 coins. Bob will collect coins 1+7+6+8+4 = 26 coins. Total coins is 21+26 = 47 coins.
Problem approach

Approach :We can generate any number using the combination of powers of 2.
1=2^0
2=2^1
3=2^0+2^1
4=2^2
5=2^2+2^0

The minimum number of denomination required are (log(N) base 2 ) + 1

Try solving now

2. N Queens

Hard
55m average time
35% success
0/120
Asked in companies
AmazonAdobeIntuit

You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard.

A queen can be killed when it lies in the same row, or same column, or the same diagonal of any of the other queens. You have to print all such configurations.

Try solving now
02
Round
Easy
Video Call
Duration30 minutes
Interview date1 Apr 2021
Coding problem1

Technical Round
This round primarily focused on the my technical knowedge and academic projects.

1. 0 1 Knapsack

Easy
15m average time
85% success
0/40
Asked in companies
DelhiveryTwitterWalmart

A thief is robbing a store and can carry a maximal weight of W into his knapsack. There are N items and the ith item weighs wi and is of value vi. Considering the constraints of the maximum weight that a knapsack can carry, you have to find and return the maximum value that a thief can generate by stealing items.

Problem approach

Solved by DP

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

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
Assistant System Engineer
2 rounds | 3 problems
Interviewed by TCS
1578 views
1 comments
0 upvotes
Assistant System Engineer
3 rounds | 7 problems
Interviewed by TCS
953 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 6 problems
Interviewed by TCS
1313 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 5 problems
Interviewed by TCS
958 views
0 comments
0 upvotes