Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Data Science Interview Questions & Answers

License: MIT PRs Welcome Questions Count

Welcome to the ultimate, comprehensive Data Science & AI Interview Preparation Repository! 🎯

This repository is designed as a one-stop hub for data science, machine learning, deep learning, MLOps, and Generative AI aspirants. It covers over 1,300+ curated interview questions and detailed answers across mathematics, machine learning theory, system design, coding, and production engineering.

🌐 Webpage Version: Ajit Singh - Data Science Interview Prep


📚 Curriculum & Topic Modules

All topics are organized into 4 core pillars. Click any module below to dive straight into the questions:

1. 📐 Mathematics & Statistics

Module Focus Areas Question Count
🧮 Linear Algebra: Vectors & Matrices Linear Algebra, Eigenvalues, SVD, Matrix Decompositions 51
📚 Calculus & Algorithmic Differentiation Gradients, Jacobians, Hessians, Automatic Differentiation 41
🗂️ Information Theory Entropy, Cross-Entropy, KL Divergence, Mutual Information 31
📊 Descriptive Statistics Summary Statistics, Variance, Skewness, Kurtosis 52
🎲 Probability Bayes Theorem, Random Variables, Distributions, Expectation 106
🔍 Inferential Statistics Hypothesis Testing, p-values, z/t-tests, Confidence Intervals 58
🧪 A/B Testing & Experimentation Power Analysis, MDE, CUPED, Network Effects, Peeking 2 (New)

2. 🤖 Machine Learning Core

Module Focus Areas Question Count
🧠 Machine Learning Fundamentals Supervised/Unsupervised, Bias-Variance, ERM, Cross-Validation 72
🛠️ Feature Engineering & Selection Categorical Encoding, Scaling, Imputation, SHAP/LIME 1 (New)
📈 Linear Regression & Regularization OLS, Ridge, Lasso, ElasticNet, Regression Diagnostics 62
📉 Logistic Regression & Classification Logistic Regression, Decision Boundaries, Odds Ratio, LDA 32
🕸️ Support Vector Machines Hard/Soft Margin, Kernel Trick, Dual Formulation 39
🌲 Tree-Based Methods & Ensembles Decision Trees, Random Forest, GBDT, XGBoost, LightGBM 91
🔮 Unsupervised Learning K-Means, Hierarchical, DBSCAN, PCA, t-SNE, UMAP 98
🎲 Probabilistic Graphical Models Naive Bayes, GMMs, EM Algorithm, Markov Chains 49
🎯 Performance Metrics ROC-AUC, PR-AUC, Precision/Recall, Log-Loss, MAE/RMSE 118
📈 Time Series Analysis & Forecasting ARIMA, Stationarity (ADF), Autocorrelation, Prophet 150
🎮 Reinforcement Learning MDPs, Q-Learning, DQN, Policy Gradients, Bandits 1 (New)

3. 🧠 Deep Learning, Vision & NLP

Module Focus Areas Question Count
Deep Learning Fundamentals Activations, Backpropagation, Optimizers (Adam/SGD), Init 134
🖼️ Convolutional Neural Networks Convolutions, Pooling, ResNet, Object Detection, ViT 46
🔄 Sequence Models & Transformers RNNs, LSTMs, GRUs, Seq2Seq, Attention, Transformers 9
🗣️ Natural Language Processing & LLMs Tokenization, TF-IDF, Word2Vec, BERT, Language Models 7
🤖 Generative AI & LLMs LLM Architectures, LoRA/QLoRA, RAG, RLHF, DPO 59

4. ⚙️ Engineering, SQL & System Design

Module Focus Areas Question Count
⚙️ ML System Design Two-Tower Models, Feature Stores, Real-time Serving, Drift 7
📜 SQL for Data Science Aggregations, Joins, Window Functions, CTEs, Subqueries 47
🖥️ Computer Science & Coding Algorithms, Big-O, Python Data Structures, Recursion, DP 8

🌟 Features of this Repository

  • 💡 Seamless GitHub Navigation: All questions feature standardized Markdown headers (### Q: ...), generating direct clickable section anchors.
  • 🙈 Interactive Collapsible Answers: Answers are hidden inside <details> tags so you can self-test before revealing the solution.
  • 📐 Clean Math Rendering: Formulas are formatted with native MathJax ($ and $$) for clean rendering on GitHub web and mobile.
  • 🚀 Zero Broken Links: All navigation links use robust relative repository paths.

🤝 Contributing

Contributions are warmly welcome! If you'd like to add new questions, correct typos, or improve existing answers:

  1. Fork the Repository
  2. Create a Feature Branch (git checkout -b feature/AddQuestions)
  3. Commit your Changes (git commit -m 'Add new LLM questions')
  4. Push to the Branch (git push origin feature/AddQuestions)
  5. Open a Pull Request

📧 Contact & Feedback

Found an error or have suggestions? Reach out via:


Happy Learning & Good Luck with your Data Science Interviews! 🎓🚀