Question 5

Given two numbers m and n. Find all numbers between these two numbers such that difference between adjacent digit is 1

For ex m =0 n =22

O/p – 0,1,2,3,4,5,6,7,8,9,10,12,21

New Report

Close