Online Workshop
Online Workshop Every Week

Join our free weekly interactive learning sessions.

Master AI/ML with instant feedback and personalized learning

"Cogito, ergo sum" (I think, therefore I am)

β€” RenΓ© Descartes

RenΓ© Descartes
Free Problems
CHAPTER 13: DESIGN A SEARCH AUTOCOMPLETE SYSTEM (SDIIG)
This problem set covers the key concepts from Chapter 13 on designing a search autocomplete system. The problems test understanding of trie data structures, system architecture, performance optimizations, and scalability considerations for building a production-ready autocomplete system. Questions progress from fundamental concepts to advanced design trade-offs.
19 pts Medium 103 trie-data-structure autocomplete frequency-ranking +7
CHAPTER 8: DESIGN A URL SHORTENER (SDIIG)
This problem set covers key concepts from Chapter 8 on designing a URL shortener service. The problems test understanding of system design principles, hash functions, API design, data modeling, and scalability considerations for building services like TinyURL. Questions progress from fundamental concepts to advanced analytical challenges.
14 pts Medium 104 api-design rest url-shortener +7
CHAPTER 6: DESIGN A KEY-VALUE STORE (SDIIG)
This problem set covers the fundamental concepts and design principles of distributed key-value stores as presented in Chapter 6. The problems test understanding of CAP theorem, consistent hashing, data replication, consistency models, failure handling, and system architecture components used in modern key-value storage systems.
21 pts Medium 101 cap-theorem distributed-systems consistency +7
CHAPTER 5: DESIGN CONSISTENT HASHING V2 (SDIIG)
This problem set covers key concepts from Chapter 5 on Consistent Hashing, including the rehashing problem, hash rings, virtual nodes, and key redistribution. These problems test your understanding of how consistent hashing solves the limitations of traditional modular hashing in distributed systems.
12 pts Medium 99 rehashing-problem modular-hashing distributed-systems +7
17 Design a dashboard of top 10 products on Amazon by sales volume
This problem set covers key concepts from the O'Reilly chapter on designing a dashboard for top 10 products by sales volume. The problems test understanding of Lambda vs. Kappa architecture, aggregation techniques, count-min sketch, and distributed system design for handling large-scale data streams.
26 pts Medium 96 lambda-architecture data-processing streaming +7
16 Design a news feed
This problem set covers key concepts from the O'Reilly chapter "16 Design a news feed" focusing on system design principles for building scalable news feed systems. The problems test understanding of architecture decisions, validation strategies, content moderation, and tradeoffs in distributed systems design.
24 pts Medium 96 requirements-analysis system-design functional-requirements +7
Premium Problems
Python I/O and Data Pipeline Assessment - Part 4
20 questions focused on PyTorch Dataset/DataLoader design: map/iterable datasets, transforms, custom collate/padding, worker seeding/sharding, num_workers/pin_memory/prefetch_factor, caching, memmap/shared memory, batching by size, profiling, and performance tuning.
10.00 60 pts Medium 98 torch.utils.data.dataset pytorch dataset +7
Chapter 02 - Numeric Python
This problem set covers key concepts from Chapter 2: Vectors, Matrices, and Multidimensional Arrays. The problems test understanding of NumPy array fundamentals, including array creation, indexing, slicing, operations, and vectorized computing. Each question is designed to reinforce the core concepts presented in the chapter.
5.00 26 pts Medium 97 numpy-arrays array-attributes shape +7
USAAIO 2025 R1P3 - Logistic Regression Implementation
This problem focuses on implementing logistic regression from scratch using the Titanic dataset. You will work through data pre-processing, mathematical derivations, and implement both gradient descent and Newton's method for logistic regression. The dataset contains passenger information from the Titanic, and your goal is to predict survival based on various features.
10.00 48 pts Easy 93 data-loading pandas data-exploration +7
USAAIO 2025 R1P2 - Basics of Neural Network - From Linear Regression to DNN Training
This problem is about the basics of neural network. Each part has its particular purpose to intentionally test you something. Do not attempt to find a shortcut to circumvent the rule. And all coding tasks shall run on CPUs, **not GPUs**.
10.00 36 pts Easy 96 learning-rate-scheduler pytorch optimization +12
USAAIO 2025 R1P1 - Fibonacci Matrix Form
Let us consider the following sequence: $$ F_n = F_{n-1} + F_{n-2},\ \forall\ n \ge 2. $$
8.00 27 pts Medium 96 fibonacci sequence linear algebra matrix form +7
IAIO 2024 Part 2 - Machine Learning Algorithms and Deep Learning
This problem covers the remaining categories of the 2024 International Artificial Intelligence Olympiad (IAIO), focusing on machine learning algorithms and deep learning. You'll work through practical implementations of k-means clustering, deep learning architectures, and advanced machine learning theory including kernel methods and the Perceptron algorithm. The problems cover: - K-means clustering algorithm implementation and convergence - Deep learning architectures (DALL-E, Transformers) - Perceptron algorithm and kernel methods - Mathematical proofs and theoretical analysis - Parameter counting and computational complexity
10.00 44 pts Hard 99 k-means clustering euclidean distance machine learning +7

Knowledge Graphs

USA AI Olympiad

Explore competitive programming and AI contest preparation concepts

Grade 5 Math

Discover elementary mathematics concepts and learning paths

Featured PDFs

View All PDFs
Cover of System Design Interview: An Insider's Guide Volume 2
System Design Interview: An Insider's Guide Volume 2
116 questions 348 pts
Cover of System Design Interview: An Insider's Guide
System Design Interview: An Insider's Guide
108 questions 317 pts
Cover of UNICALLI: A UNIFIED DIFFUSION FRAMEWORK FOR COLUMN-LEVEL GENERATION AND RECOGNITION OF CHINESE CALLIGRAPHY
UNICALLI: A UNIFIED DIFFUSION FRAMEWORK FOR COLUMN-LEVEL GENERATION AND RECOGNITION OF CHINESE CALLIGRAPHY
10 questions 38 pts
Cover of The Principles of Deep Learning Theory
The Principles of Deep Learning Theory
107 questions 418 pts

Featured Books

View All Books
Cover of Acing the System Design Interview
Acing the System Design Interview
153 questions 456 pts
Cover of Numerical Python: Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib
Numerical Python: Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib
190 questions 543 pts
Cover of Hands-On Machine Learning with Scikit-Learn and PyTorch
Hands-On Machine Learning with Scikit-Learn and PyTorch
200 questions 554 pts
Cover of Deep Reinforcement Learning Hands-On - Third Edition
Deep Reinforcement Learning Hands-On - Third Edition
222 questions 720 pts

Featured Videos

View All Videos
Cover of Flow-Matching vs Diffusion Models explained side by side
Flow-Matching vs Diffusion Models explained side by side
10 questions 29 pts
Cover of Attention in transformers, step-by-step | Deep Learning Chapter 6
Attention in transformers, step-by-step | Deep Learning Chapter 6
10 questions 30 pts
Cover of Knowledge Distillation: How LLMs train each other
Knowledge Distillation: How LLMs train each other
10 questions 27 pts
Cover of Diffusion Model
Diffusion Model
10 questions 32 pts