about | help | code help+videos | done | prefs |
stackTail7
Ensure the stack's tail is 7. You may use one auxiliary stack. stackTail7([1, 4, 9]) → [7, 1, 4, 9] stackTail7([3, 4, 7, 9]) → [7, 3, 4, 7, 9] stackTail7([7, 9, 3, 4]) → [7, 9, 3, 4] ...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