Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

Chef Digit Jump clarificiation: can chef jump back to more than one index if digit same

$
0
0

What is meant by Chef can't jump out from sequence, can he jump back to same same number

What is result for this test case

0 1 2 3 4 5 9 6 7 8 9 0 1 2 3 4 5

is it 5: 0 - 11 -> 10 -> 6 -> 5 -> 16

or 6

0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 16


Viewing all articles
Browse latest Browse all 39796

Trending Articles



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