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

Help Understanding TCs for MAXPR

$
0
0

Do indices matter in case of sub-sequences in the problem? Suppose "1 1 1 1 2" is a sequence then, only "1 1 2" is not an AP. But is it counted only once or all the combinations of the same sub-sequence need to be counted in answer?


Viewing all articles
Browse latest Browse all 40121

Trending Articles



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