Cody

Problem 2848. Digital Neighbourhood

Given a natural number reorder its digits to create another number, closest to the given one.

Examples:

  • 123 gives 132,
  • 1 gives 10,
  • 1099 gives 991

Solution Stats

54.17% Correct | 45.83% Incorrect
Last solution submitted on Sep 19, 2019

Problem Comments

Recent Solvers21

Suggested Problems

More from this Author47