Quantcast
Viewing all articles
Browse latest Browse all 40121

Chef and Digit Jump JUNE14 Challenge

What does this mean??? i - 1 (Si-1) and i + 1 (Si+1)

Can somebody explain the 2nd test case
Input: 012134444444443

Output: 4

The jump sequence mentioned is 1-2-4-5-15. I am not able to understand how we got this sequence... Thanks :D


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>