about | help | code help+videos | done | prefs |
stackAdd1
Add 1 to every element in the stack. You may use one auxiliary stack. stackAdd1([1, 4, 9]) → [2, 5, 10] stackAdd1([3, 4, 7, 9]) → [4, 5, 8, 10] stackAdd1([]) → [] ...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: 300
Copyright Nick Parlante 2017 - privacy