Skip like a rabbit! – codegolf.stackexchange.com

Given a list of non-negative integers in any reasonable format, iterate over it, skipping as many elements as every integer you step on says. Here is a worked example: [0, 1, 0, 2, 5, 1, 3, 1, 6, 2] ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Skip like a rabbit! – codegolf.stackexchange.com"