about | help | code help+videos | done | prefs |
Given a number n, create an array with elements starting from 1 to n. e.g. 5 -> {1,2,3,4,5} getNumArray(1) → [1] getNumArray(2) → [1, 2] getNumArray(3) → [1, 2, 3] ...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