Questions / Amazon

Fruit Crush Minimum Remaining

Asked at Amazon · Coding Questions · Difficulty: Easy

In each move you delete two fruits of **different** types (values). Return the minimum number of fruits that can remain.

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