New update is available. Click here to update.
SDE - 1
Tata Consultancy Services (TCS)
3 rounds | 7 Coding problems
55 views
Interview preparation journey
Preparation
Duration: 10 months
Topics: Aptitude, OOPS, OS, DBMS, CN, SQL, Data structures and Algorithms
Tip

Tip 1 : Prepare aptitude if you are applying for TCS
Tip 2 : Have strong knowledge of DSA

Application process
Where: Company Website
Eligibility: above 7 CGPA
Resume tip

Tip 1 : Have projects in your resume
Tip 2 : Be real about your knowledge

Interview rounds
01
Round
Hard
Online Coding Interview
Duration180 minutes
Interview date16 Aug 2021
Problems2
Nth Fibonacci Number

#### Nth term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

``````    F(n) = F(n-1) + F(n-2),
Where, F(1) =  1,
F(2) = 1
``````
view more
Problem approach

Step 1 : Think of brute force method
Step 2 : Further optimised in DP
Step 3 : Did more space optimisation

Longest Common Subsequence

#### Given two strings, 'S' and 'T' with lengths 'M' and 'N', find the length of the 'Longest Common Subsequence'.

view more
Problem approach

Step 1 : The call of recursive will return the LCS (largest common subsequence) of s.substring(i) and t.substring(j), where s.substring(i) is the suffix of s starting at index i.
If the indexes are large enough, at least one of the strings is empty. So no common subsequence exists. Return 0.
Step 2 : If s.charAt(i) == t.charAt(j), then we have found a common character. So whatever subsequ...

view more
02
Round
Medium
Face to Face
Duration30 minutes
Interview date1 Sep 2021
Problems4
Second largest element in the array

#### You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.

##### Note:
view more
Problem approach

Step 1 : I give brute force answer which required O(n^2) time complexity.
Step 2 : I further give o(n) approach which required two variables solution.

Swap Two Numbers

#### Take two numbers as input and swap them and print the swapped values.

##### Input Format:
``The first line of input contains a single integer 't', representing the total number of te...``
view more
Problem approach

Step 1 : I took little time for doing pen paper.
Step 2 : After that my solution is ready I tell the interviewer about my code.

DBMS Question

What is Joins?

What are Natural Joins?

SQL Questions

Do you know SQL commands?

Write a SQL Query to obtain the employee list which have more than 4 leaves in one month?

03
Round
Easy
HR Round
Duration20 minutes
Interview date7 Sep 2021
Problems1
Basic HR Questions

Introduction and Projects

Location Preference

Able to work in night shift?

Are you aware of bond?

Why do you want to join TCS?

Start a Discussion
Similar interview experiences
SDE - 1
2 rounds | 12 problems
Interviewed by Tata Consultancy Services (TCS)
17 views
System Engineer
2 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
17 views
System Engineer
3 rounds | 5 problems
Interviewed by Tata Consultancy Services (TCS)
8 views
SDE - 1
2 rounds | 7 problems
Interviewed by Tata Consultancy Services (TCS)
10 views
Companies with similar interview experiencs
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
56808 views