ann
Applied AI interview questions tagged ann, across every topic.
7 questions · 1 unlocked for you
Concepts behind "ann"
The curriculum that explains the ideas these questions test.
Foundational
kNN and the Curse of Dimensionalityk-nearest-neighbors is a lazy, instance-based learner that classifies a point by majority vote of its closest training examples under some distance metric. Interviews probe it because its failure mode, distance concentration in high dimensions, teaches why naive nearest-neighbor search breaks down and why production systems lean on approximate nearest-neighbor indexes instead.📊 Evaluation & ML Foundations
Core
Vector Search and ANN IndexesVector search finds the embeddings nearest to a query vector. Exact nearest-neighbor is O(n) per query and does not scale, so production uses Approximate Nearest Neighbor (ANN) indexes (HNSW, IVF, product quantization) that trade a little recall for massive speedups. The real-world challenges are the recall-vs-latency-vs-memory trade-off, metadata filtering, and handling updates. Applied-AI interviews probe it because it is the engine under RAG and semantic search, and its tuning directly sets retrieval quality and cost.🤖 Retrieval & AgentsSign in
