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

System Engineer

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

Interview preparation journey

expand-icon
Preparation
Duration: 9 - 12 months
Topics: Data Structures and Algorithms, OOPS, DBMS, C++, Operating Systems, Web-Development.
Tip
Tip

Tip 1 : Data Structures is must. Solve as much as you can but make sure you solve standard problems first.
Tip 2 : Have good knowledge about your project and what challenges you faced.
Tip 3 : If you do not know the answer of a question just say No! Don't shoot arrow in the dark.

Application process
Where: Campus
Eligibility: 60% Minimum percentage
Resume Tip
Resume tip

Tip 1 : Do not write about you. It is not necessary
Tip 2 : Prepare you resume oriented towards the job you're applying for

Interview rounds

01
Round
Medium
Video Call
Duration70 minutes
Interview date3 Oct 2021
Coding problem3

My interview was scheduled for 2 PM in the afternoon. I joined 5 minutes early and waited for my turn in virtual lobby. The interviewer came and introduced himself. He then asked me to introduce myself, which I did confidently. He then asked me to choose between C++ and Java. I chose C++ as I used to solve DS Algo problems in it and was comfortable with it. And then he asked me following questions.

What are virtual functions? (Answered)
What are OOPS principle? (Answered)
Coding question, find duplicate elements in array? (Solved)
What is Normalization in DBMS? (Answered)
Difference between 2NF and 3NF? (Partly answered)
SQL Problem regarding Grouping? (Solved)
SQL Problem regarding Joins and grouping (Unsolved)?
What is JK and SR flip flop? (From Analog electronics as I was from ECE, Answered)

1. Find Duplicate in Array

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

You are given an array of integers 'ARR' containing N elements. Each integer is in the range [1, N-1], with exactly one element repeated in the array.

Your task is to find the duplicate element. The duplicate element may be repeated more than twice in the error, but there will be exactly one element that is repeated in the array.

Note :

All the integers in the array appear only once except for precisely one integer which appears two or more times.
Problem approach

First I gave the brute force solution. 
Brute Force : We will pick one element from array and match it against all other and see if it is duplicate or not.
Time Complexity - O(N*N)
Space Complexity - O(1)

Time optimized and Space optimized - We will put all elements in map and while inserting we will check if it already exists or not.
Time Complexity - O(N)
Space Complexity - O(N)

I explained one more approach where we will sort the array and the duplicate elements will become adjacent and can easily identify them.
Time Complexity - O(N*log(N))
Space Complexity - O(1)

Try solving now

2. DBMS Questions

What is Normalization in DBMS?

Difference between 2NF and 3NF?

SQL Problem regarding Grouping.

SQL Problem regarding Joins and grouping.

 

3. OOPS Questions

What are virtual functions? 
What are OOPS principle? 

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
System Engineer
3 rounds | 5 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
System Engineer
4 rounds | 10 problems
Interviewed by Tata Consultancy Services (TCS)
999 views
0 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
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
330 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Cognizant
4964 views
5 comments
0 upvotes
company logo
System Engineer
2 rounds | 4 problems
Interviewed by HCL Technologies
1369 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 3 problems
Interviewed by Accenture
906 views
0 comments
0 upvotes