about | help | code help+videos | done | prefs |
Given an ArrayList of Integers return a new ArrayList containing 2 elements for each element in the original list doubleList([1, 2, 3]) → [1, 1, 2, 2, 3, 3] doubleList([]) → [] doubleList([1, 2]) → [1, 1, 2, 2] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy