Mercurial > louis > peeves
view arrays/pack_values_at_beginning/question.rst @ 0:20fea762903e
Import some exercises and solutions
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Sat, 29 Jun 2013 19:30:31 -0700 |
parents | |
children |
line wrap: on
line source
Pack values =========== Given an array of integer and a specific integer value (e.g: 4) you need to move all the integer with that value (in the array) at the beginning of the array. The order of the other elements must not change. .. note:: Stéphane got this.