Tata consultancy services Ltd interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Tata consultancy services Ltd
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 Months
Topics: Data Structures, Pointers, OOPS, Algorithms,Aptitude
Tip
Tip

Tip 1 - Practice RS aggarwal book
Tip 2 - Ex- Do atleast1 projects

Application process
Where: Leetcode
Eligibility: Need two development projects on Resume
Resume Tip
Resume tip

Tip 1 : Write only what is relevant
Tip 2 : Be confident on what you have written

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date5 Sep 2019
Coding problem1

During the day, 60 minutes, online

1. Merge Two Sorted Arrays

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonOlaTata Consultancy Services (TCS)

Ninja has been given two sorted integer arrays/lists ‘ARR1’ and ‘ARR2’ of size ‘M’ and ‘N’. Ninja has to merge these sorted arrays/lists into ‘ARR1’ as one sorted array. You may have to assume that ‘ARR1’ has a size equal to ‘M’ + ‘N’ such that ‘ARR1’ has enough space to add all the elements of ‘ARR2’ in ‘ARR1’.

For example:

‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’. 
‘ARR1’ = [3 4 6 9 10]
Problem approach

Standard question, solved using 2 pointer approach

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date1 Oct 2019
Coding problem1

Online, during the day, interviewer was a senior person

1. Two Sum

Easy
10m average time
90% success
0/40
Asked in companies
Hexaware TechnologiesCIS - Cyber InfrastructureIntuit

You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.

Note:

We cannot use the element at a given index twice.

Follow Up:

Try to do this problem in O(N) time complexity. 
Problem approach

Using two pointers

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

Which SQL clause is used to specify the conditions in a query?

Choose another skill to practice
Similar interview experiences
Software Engineer
3 rounds | 5 problems
Interviewed by Tata consultancy services Ltd
1221 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Tata consultancy services Ltd
0 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Tata consultancy services Ltd
1583 views
0 comments
0 upvotes
SDE - 1
2 rounds | 3 problems
Interviewed by Tata consultancy services Ltd
1122 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
113895 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57277 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34687 views
6 comments
0 upvotes