Questions / Amazon

House Robber

Asked at Amazon · Coding Questions · Difficulty: Easy

Given non-negative house values, return the maximum total you can rob without robbing two adjacent houses.

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
  • RLHF: PPO vs GRPO vs GSPO
All Amazon questions