Questions / Amazon

BFS and LFU Cache Variant

Asked at Amazon · Coding & Leetcode-style Questions · Difficulty: Medium

Design a variant of an LFU cache that supports the following operations:

Loading the problem…

More Amazon interview questions

  • LLM conceptual questions
  • Compare PPO, DPO, and GRPO
  • Morse Code Decoder
  • Design a Lab-Wide Experiment Platform for Embodied AI
  • Debugging a Seeded-Bug Repository with an AI Assistant
  • DeepSeek-V3 Technical Report: Defend Its Design Choices
All Amazon questions