1
Given an array of non-negative integers, your task is to only keep certain elements of it, as described below.
Let's say the array is [1, 3, 2, 4, 11, 5, 2, 0, 13, 10, 1].
First get the first element of the array, n. Keep the first n elements and discard the next one (discard the n+1th). The n...