TCS Coding Interview Questions: 118 Tagged Problems

118 coding problems tagged TCS — 111 easy · 7 medium — with solutions in 13 languages. Plus a 4-week study plan by topic.

  • Problems: 118
  • By difficulty: 111 easy · 7 medium
  • Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
  • Cost: Free on every plan; sign in to run and submit

118 problems the CodeKairo catalogue tags as commonly asked in TCS's coding rounds — 111 easy and 7 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (63), Math (37) and Strings (34). CodeKairo's TCS NQT — Foundation mock covers the Foundation section of the TCS National Qualifier Test (NQT), the aptitude gate that every candidate has to clear before any track opens. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by TCS, which CodeKairo is not affiliated with.

TCS study plan by topic

40 of the 118 problems tagged TCS over 4 weeks, about 13 h 50 min of solving, grouped by technique in the order they build on each other — Arrays, Strings, Hash Table and Counting and 13 more. It ends with the TCS NQT — Foundation mock.

Week 1: Arrays, Strings, Hash Table

9 problems on Arrays, Strings and Hash Table, easiest first within each topic.

Week 2: Counting, Math

9 problems on Counting and Math, easiest first within each topic.

Week 3: Two Pointers, Sliding Window, Prefix Sum +3

11 problems on Two Pointers, Sliding Window, Prefix Sum, Sorting, Binary Search and Matrix, easiest first within each topic.

Week 4: Simulation, Enumeration, Greedy +3

11 problems on Simulation, Enumeration, Greedy, Recursion, Bit Manipulation and Number Theory, easiest first within each topic.

Finally: the timed test

Sit the TCS NQT — Foundation mock under the clock — the coding problems are only one part of the round.

Take the TCS NQT — Foundation mock

TCS test patterns

All problems tagged TCS

Easy (111)

Medium (7)

Topics TCS asks most