AIInterviewTraining logoAIInterview/Training
📊 Evaluation & ML Foundations
Core

Multi-Armed Bandits

A multi-armed bandit selects among options to maximize reward while learning which is best, balancing exploration (try options to learn) against exploitation (use the best-known). Algorithms include epsilon-greedy, UCB, and Thompson sampling. Bandits beat fixed A/B tests when you want to minimize regret (stop wasting traffic on losers during the test) or have many options; A/B tests win when you need a clean, unbiased measured effect. AI, ML, and GenAI engineer interviews probe it because the explore-exploit trade-off shows up in ranking, recommendation, and as a simple form of reinforcement learning.

a free account unlocks the core curriculum tier · no card
RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS
COMPANIES THAT ASSUME THIS
NEXT IN EVALUATION & ML FOUNDATIONSBenchmarks and Their Limits