Coding Fundamentals

Question
  • Given a number represented in string format, find the next greatest permutation or next greater number. Example: Input 12345, Output: 12354
0
Shloka Reddy Lakka 55 years 0 Answers 325 views Great Grand Master 0

Leave an answer

Browse
Browse