What is a Jumper Number??

Photo by Nick Hillier on Unsplash

Out of Free Stories? Here is my Friend Link.

Find if the given number in a string, find if it is jumper number,

where the absolute difference between consecutive digits is 1

Input: 2345434321

Output: true

Input: 234534

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
House of Codes

Code -> Understand-> Repeat is my motto. I am a Data Engineer who writes about everything related to Data Science and Interview Preparation for SDE.