Questions / Amazon

Maximum Product of Three Numbers

Asked at Amazon · Coding Questions · Difficulty: Easy

Given an integer array `nums`, return the maximum product of any three of its elements.

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