Placement season meant grinding TCS NQT prep across scattered PDFs and a dozen browser tabs. I pulled everything into one static study site: 172 C++ questions, each with a full solution, an explanation, and its time and space complexity.
#The problem: prep was scattered everywhere
Previous-year questions sat in one PDF, a fundamentals sheet lived somewhere else, and my own solutions were spread across random files. I wanted a single fast place to practice, read the approach, and copy a working solution when I got stuck.
#What's inside
- ▹72 TCS NQT PYQ — actual previous-year exam questions
- ▹100 Striver's questions for TCS NQT — a fundamentals sheet (not PYQ)
- ▹172 C++ questions in total, in one place
Every question card includes:
- ▹Problem statement and constraints
- ▹A full C++ solution with a one-click copy button
- ▹Explanation and approach notes
- ▹Time and space complexity
#Why a plain static site
No build step, no backend, no login. It loads instantly, works offline once cached, and deploys anywhere: GitHub Pages, Netlify, or just a folder on my laptop. For focused revision the day before a test, fast beats fancy.
Tip
#How I'd use it
- 1Open the site and pick a question from the PYQ set or the fundamentals sheet
- 2Read the statement and constraints, then attempt it yourself
- 3Reveal the approach notes if you get stuck on the idea
- 4Copy the C++ solution to compile and test against the constraints
- 5Check the time and space complexity so you can reason about trade-offs in the interview
It turned a messy pile of prep material into a single, searchable practice hub. The source is on GitHub if you want to fork it and add your own questions.