Refactoring interview questions
Improve code without changing behavior: identifying smells, safe incremental refactors, and keeping tests green as you go.
13 questions4 free to practice9 company-verified (Pro)
Free to practice
Company-verified Pro
Real Refactoring questions reported from interviews at 50+ AI companies, with the golden answer and full production scoring. Unlock with Pro →
- Token Budget Manager for Multi-turn LLM Applications
- Document chunking for vector databases with sentence-boundary preservation
- LLM Cache Bug: Same Response Returned Regardless Model Parameter
- TDD — Tests First for a Sliding-Window Rate Limiter
- Conversation history manager fails to truncate old messages properly
- Trim conversation context to a token budget
- Stream Aggregator Batches LLM Tokens Into Complete Sentences
- Semantic cache using embeddings for similarity matching
- Conversation History Compression for Long-Running Agents
Ready to practice Refactoring?
Answer real questions in the browser and get scored on correctness, architecture, token efficiency, and security against a golden answer — not just pass/fail. Free to start.
Start practicing free →