Arrange into the Largest Number

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Given a list of non-negative integers, arrange them so that writing them one after another forms the largest possible number, and return it as text. Explain how you'd decide the order.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →