Using BFS, generate the largest number <= n whose adjacent digits differ by 1.
Unlock detailed company stats for this questionUpgrade
Examples: 121, 210, 343.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
