about | help | code help+videos | done | prefs |
array_halfLife
Given an integer "n", return an integer array of size "n" that contains the values 100, 50, 25, 12, 6... array_halfLife(1) → [100] array_halfLife(2) → [100, 50] array_halfLife(3) → [100, 50, 25] ...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