| about | help | code help+videos | done | prefs |
Given an array of integers, return the result of shifting each value one position to the right (wrapping around). You may allocate a new array or return the same one. shiftRight([]) → [] shiftRight([1]) → [1] shiftRight([1, 2, 3]) → [3, 1, 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: 266
Copyright Nick Parlante 2017 - privacy