An open API service indexing awesome lists of open source software.

https://github.com/likweitan/stutter

Write a method stutter that accepts a queue of integers as a parameter and replaces every element of the queue with two copies of that element for example [1, 2, 3] becomes [1, 1, 1, 2, 2, 2, 3, 3, 3].
https://github.com/likweitan/stutter

data-structures

Last synced: 3 months ago
JSON representation

Write a method stutter that accepts a queue of integers as a parameter and replaces every element of the queue with two copies of that element for example [1, 2, 3] becomes [1, 1, 1, 2, 2, 2, 3, 3, 3].

Awesome Lists containing this project