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

57.78% Correct | 42.22% Incorrect
Last solution submitted on Sep 16, 2019

Problem Comments

Recent Solvers21

Suggested Problems

More from this Author47