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

SDE - 1

TCS
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: dsa, dbms, operating system, computer network, aptitude
Tip
Tip

Tip 1 : practice 150 questions
Tip 2 : practice daily

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : make it project oriented
Tip 2 : make it in simple way and clean

Interview rounds

01
Round
Medium
Online Coding Interview
Duration110 minutes
Interview date29 Aug 2021
Coding problem2

it had two parts to it. Part A was the Aptitude + Verbal section which was of medium difficulty level and Part B consisted of two coding questions. There is a section-wise cutoff so please make sure that you solve each section carefully.

1. Rotate Array ll

Moderate
0/80
Asked in companies
FloBizTCS

You are given an array ‘NUM’ containing ‘N’ integers, the direction of rotation ‘D’, and the number of rotations ‘R’.

You have to rotate the given array ‘R’ times. If the direction of rotation ‘D’ has a value equal to ‘f’ then you have to rotate the array forward else if it has a value equal to ‘b’ then rotate the array backward.

For Example :
If N = 3, num = [2, 4, 7], D = ‘f’, R = 1.
You have to rotate the array 1 time in the forward direction. Hence, the output will be [7, 2, 4].
Problem approach

store the array and rotate accordingly after that i optimized it

Try solving now

2. No Repeated Digits

Moderate
20m average time
80% success
0/80
Asked in companies
TCSTCS

Elon is a kid who just started learning about numbers, but he always gets afraid when he sees a number with repeated digits, as it becomes hard for him to remember it as it has the same digits repeating again.

So his teacher, knowing of his fear, gave him ‘N’ tasks to cheer him up, for each task Elon have to count the numbers that have no repeated digits in a given range of [‘L’, ‘R’]. The tasks are given by a 2d array ‘TASKS’.

But Elon is again afraid that while counting he may encounter a number with repeated digits, being his friend he asked you to help him. Can you help Elon to find the count of numbers having no repeated digits in the given range for each task?.

NOTE: Both ‘L’ and ‘R’ are included in the range.

Example :
Input: ‘N’ = 1, ‘TASKS = [ [1, 20] ]

Output: 19
For the first task, the given range consists of 20 numbers present out of which ‘11’ is the only number that has repeated occurrences of ‘1’ in its decimal representation.
Problem approach

firstly write find function then write main function to get results.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date26 Sep 2021
Coding problem2

Usually the interview is an hour-long where all the skills that you have put forward in your resume are tested by the panelists.

1. Operating System Based Question

explain deadlock

2. Computer Networking Question

explain virtual private network

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
2 rounds | 4 problems
Interviewed by TCS
0 views
0 comments
0 upvotes
SDE - 1
2 rounds | 2 problems
Interviewed by TCS
1097 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by TCS
1234 views
0 comments
0 upvotes
SDE - 1
2 rounds | 10 problems
Interviewed by TCS
1248 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes