A premium, open-source interview preparation platform for aspiring AI/ML engineers — built with Astro, Tailwind CSS, and TypeScript.
AI Interview Prep is a comprehensive, free interview preparation website covering everything an AI/ML engineer needs to crack top-tier interviews — from Python fundamentals to LLM fine-tuning, from SQL queries to HR behavioral questions.
Built by Ashutosh Roy (B.Tech CSE AI, CSVTU Bhilai | IIT Delhi Research Intern) as a personal project to organize and share structured interview preparation material.
- 700+ Interview Questions — Python, ML, Deep Learning, NLP, LLMs, RAG, SQL, HR
- Company-wise Preparation — Google, Amazon, Meta, OpenAI, NVIDIA, TCS, Infosys
- Quick Revision Cheatsheets — Python, ML Formulas, SQL, Flashcards
- Mock Interviews — Full simulations for AI/ML Engineer, Python Developer, Startup roles
- Most Asked Questions — Research-backed questions from real interviews
- 12-Week Roadmap — Structured preparation plan with daily schedules
- Dark / Light Mode — Seamless theme toggle with system preference support
- SEO Optimized — Sitemap, robots.txt, Open Graph, Schema.org markup
- Fully Responsive — Works on mobile, tablet, and desktop
- Fast — Static site, 95+ Lighthouse score
| Section | Topics | Questions |
|---|---|---|
| 🐍 Python | Basics, OOP, Advanced, DSA, NumPy/Pandas, Output-based | 200+ |
| 🤖 Machine Learning | Fundamentals, Algorithms, Evaluation, Feature Engineering | 100+ |
| 🧠 Deep Learning | CNNs, RNNs, Transformers, Attention, Training | 175+ |
| 💬 NLP & LLMs | BERT/GPT, Fine-tuning, RAG, Embeddings, Vector DBs | 100+ |
| 👁️ Computer Vision | YOLO, OCR, Image Classification, OpenCV | 40+ |
| 🗄️ SQL & Databases | Queries, Joins, Window Functions, NoSQL, Firebase | 50+ |
| 💼 HR Interview | General, Project-specific, Situational, Behavioral | 150+ |
| 🏢 Company-wise | FAANG, AI Companies, Indian IT patterns | 10+ companies |
| Technology | Purpose |
|---|---|
| Astro | Static site framework (zero-JS by default) |
| Tailwind CSS | Utility-first styling |
| TypeScript | Type safety |
| MDX | Markdown with components |
| @astrojs/sitemap | Auto-generated sitemap |
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/ashutoshroy02/InterviewPrep.git
cd InterviewPrep
# Install dependencies
npm install
# Start dev server
npm run devOpen http://localhost:4321 in your browser.
npm run buildOutput goes to the ./dist/ folder — ready to deploy to Vercel, Netlify, or any static host.
interview-prep-site/
├── public/
│ ├── favicon.svg
│ └── robots.txt
├── src/
│ ├── components/
│ │ ├── Navbar.astro # Sticky navbar with dark/light toggle
│ │ ├── Footer.astro # Site footer with links
│ │ └── TopicCard.astro # Reusable topic card component
│ ├── layouts/
│ │ └── BaseLayout.astro # Base HTML layout with SEO meta tags
│ ├── pages/
│ │ ├── index.astro # Homepage
│ │ ├── docs.astro # Documentation index
│ │ ├── topics/ # Topic pages (Python, ML, SQL, HR...)
│ │ ├── cheatsheets/ # Quick revision pages
│ │ ├── about.astro
│ │ ├── contact.astro
│ │ ├── privacy.astro
│ │ ├── terms.astro
│ │ ├── disclaimer.astro
│ │ └── cookies.astro
│ └── styles/
│ └── global.css # CSS variables for dark/light themes
├── astro.config.mjs
├── tailwind.config.mjs
└── tsconfig.json
The site uses a CSS variable-based design system for seamless dark/light mode switching:
/* Dark mode (default) */
:root {
--color-background: #09090b;
--color-surface: #18181b;
--color-primary: #2563eb;
--color-text-primary: #fafafa;
}
/* Light mode */
:root.light {
--color-background: #ffffff;
--color-surface: #f4f4f5;
--color-primary: #1d4ed8;
--color-text-primary: #09090b;
}| Route | Description |
|---|---|
/ |
Homepage with hero, stats, topic grid |
/docs |
Full documentation index |
/topics |
Browse all topics |
/topics/python |
Python questions hub |
/topics/ml |
Machine Learning hub |
/topics/sql |
SQL & Databases hub |
/topics/hr |
HR Interview questions |
/topics/companies |
Company-wise preparation |
/cheatsheets |
Quick revision cheatsheets |
/about |
About the project |
/contact |
Contact form |
/privacy |
Privacy Policy |
/terms |
Terms & Conditions |
/disclaimer |
Disclaimer |
/cookies |
Cookie Policy |
- Dynamic
<title>and<meta description>per page - Open Graph and Twitter Card tags
- JSON-LD structured data (Schema.org)
- Auto-generated XML sitemap via
@astrojs/sitemap robots.txt- Semantic HTML throughout
- Canonical URL support
Ashutosh Roy
- B.Tech CSE (AI) — CSVTU Bhilai
- Research Intern — IIT Delhi (OCR & Document AI)
- Skills: Python, PyTorch, LLMs, RAG, YOLO, OpenCV, Flutter, Firebase
This project is open source under the MIT License.
Contributions, issues, and feature requests are welcome!
- Fork the repository
- Create your feature branch (
git checkout -b feature/add-dsa-questions) - Commit your changes (
git commit -m 'Add 20 DSA questions') - Push to the branch (
git push origin feature/add-dsa-questions) - Open a Pull Request
If this project helped your interview prep, give it a ⭐ on GitHub — it means a lot!
Built with ❤️ for aspiring AI engineers everywhere.