Print the number between 30 to 3000.
Constraint:
The number should not contain digits either in increasing or decreasing order.
Followings not allowed:
##123, 234, 345, 1234 ##increasing order
## 32, 21, 321, 432, 3210 ## decreasing order
Following Allowed:
243, 27, 578, 2344, etc.
Constraint:
The number should not contain digits either in increasing or decreasing order.
Followings not allowed:
##123, 234, 345, 1234 ##increasing order
## 32, 21, 321, 432, 3210 ## decreasing order
Following Allowed:
243, 27, 578, 2344, etc.
No comments:
Post a Comment