← All companies

Previous year questions

TCS

Description, solution and explanation. Curated from reported interview rounds β€” 66 questions with the prompt, the intended approach, explanation steps and a full solution.

66 questions66 with solution code9 topic areas
Service-based

66 questions β€” the complete bank, grouped by topic area.

Arrays12

Trees11

Dynamic Programming7

Stacks5

Strings4

Linked Lists4

Queues3

Graphs2

Backtracking1

General17

Recommended resourcesAffiliate links Β· may earn us a commission

Recommended for learners

Classic DSA interview booksThe reference books interviewers themselves learned from β€” great next to the visualizers.See the books Structured coding coursesVideo courses that pair well with visual practice β€” pick one language and go deep.Browse courses Cloud hosting for side projectsShip the portfolio project that gets you hired β€” free credits for new accounts.Claim credits