SDE1 Interview Questions at TCS

Published July 22, 2026 · Updated July 22, 2026

16 real SDE1 interview questions asked at TCS. Covers Technical, Screening rounds. Sourced from engineers who cleared the loop.

16 questions
732 upvotes
Rounds: 2
Top topic: dsa

Interview Signals — What TCS Asks SDE1s

Frequently Asked Topics
dsa3x
java3x
sql3x
react3x
domain2x
Interview Rounds
Technical6q
Screening10q
Experience Level
1-3 years14q

All SDE1 Questions Asked at TCS

TCS Easy Technical round 1-3 years

Implement a function that checks if a string of brackets is valid. Brackets: (), [], {}. Must handle nested brackets.

↑ 84 upvotes · 32 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

What is the difference between useEffect with no dependency array, empty array, and with dependencies?

↑ 78 upvotes · 26 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

What is the difference between controlled and uncontrolled components? When would you choose uncontrolled?

↑ 74 upvotes · 22 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

Explain the difference between a use case diagram and a user story. When would you use each?

↑ 70 upvotes · 48 engineers asked this · SDE1
TCS Easy Technical round 1-3 years

Write a function that checks if two strings are anagrams of each other. Handle Unicode characters.

↑ 58 upvotes · 26 engineers asked this · SDE1
TCS Medium Technical round Java

Explain the difference between ArrayList and LinkedList in Java. For a TCS banking project, you need to insert records at the front of a list frequently. Which would you choose and why?

↑ 55 upvotes · 34 engineers asked this · SDE1
TCS Medium Technical round Java

Write a Java program to rotate a matrix 90 degrees clockwise in-place. Explain the transpose-then-reverse approach and why it is O(n2) time with O(1) extra space.

↑ 49 upvotes · 30 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

Explain the difference between UNION and UNION ALL. In what scenario does UNION ALL perform significantly better?

↑ 47 upvotes · 25 engineers asked this · SDE1
TCS Medium Screening round 1-3 years

Explain the difference between __repr__ and __str__. When is each called? Write a class where they return different things.

↑ 44 upvotes · 22 engineers asked this · SDE1
TCS Easy Technical round 1-3 years

Implement a function to check if a number is a power of 2 without using loops or recursion.

↑ 41 upvotes · 49 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

What is the difference between ArrayList and LinkedList performance? When would you ever choose LinkedList?

↑ 36 upvotes · 44 engineers asked this · SDE1
TCS Medium Technical round 1-3 years

A developer uses List<Object> to store mixed types and casts on retrieval. What are the problems and how would you fix this with Java generics?

↑ 34 upvotes · 12 engineers asked this · SDE1
TCS Medium Screening round 1-3 years

Explain why String is immutable in Java. What problem would occur if String were mutable? Give a concrete security example.

↑ 30 upvotes · 8 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

What is the difference between WHERE and HAVING clauses? Can you use aggregate functions in WHERE?

↑ 17 upvotes · 15 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

Explain the difference between INNER JOIN, LEFT JOIN, and FULL OUTER JOIN. When does the choice affect the result count?

↑ 8 upvotes · 6 engineers asked this · SDE1
TCS Easy Screening round 1-3 years

What is the difference between var _default_ = and named exports in React? What's the impact on tree shaking?

↑ 7 upvotes · 25 engineers asked this · SDE1

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

More at TCS

All TCS questions TCS interview process Prepare for TCS

Frequently asked questions

What topics does TCS ask SDE1s?
Common topics: dsa, java, sql, react, domain.
What rounds are there in TCS SDE1 interview?
Reported rounds: Technical, Screening.
What experience level does TCS hire SDE1s at?
Most reported experience: 1-3 years.