Sachin Handiekar

Recent Posts


Recent Comments


Archives


Categories


Meta


Java10

10038 Jolly Jumpers

Problem E: Jolly Jumpers A sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference between successive elements take on all the values 1 through n-1. For instance, 1 4 2 3 is a jolly jumper, because the absolutes differences are 3, 2, and 1 respectively. The definition [...]

Sachin HandiekarSachin Handiekar