TCS coding interview prep

TCS hires most freshers through the National Qualifier Test (NQT). Your NQT score decides the role you are offered: Ninja, Digital or Prime. The coding part rewards clean array, string and math logic first; Prime questions add greedy and dynamic programming.

Reported coding round

  • Foundation section: numerical, verbal and reasoning ability (about 75 minutes)
  • Advanced section: advanced aptitude, then coding
  • Coding: usually 2 questions in about 90 minutes (reports range from 1 to 3)
  • Digital is Easy to Medium; Prime is Medium to Hard

Patterns to practise

  • arrays-hashing
  • two-pointers
  • bits-math
  • greedy-intervals
  • dp-1d

Formats change every year. Check the company's official careers page before your test.

Take a timed TCS-style practice test