about | help | code help+videos | done | prefs |
You are given an array of integers as an argument. Return an ArrayList that consists of n copies of any number n, in the order in which n appears. getRepeatedNumList([0]) → [] getRepeatedNumList([1]) → [1] getRepeatedNumList([2]) → [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
Difficulty: 100
Copyright Nick Parlante 2017 - privacy