about | help | code help+videos | done | prefs |
A new grading period has started and one teacher would like to shift their seating arrangement so the students are sitting somewhere new. The teacher has numbered then chairs in the room from 0 to n − 1 so they can be represented as an array of size n. LASA_moveSeats([1, 2, 3, 4, 5]) → [5, 1, 2, 3, 4] LASA_moveSeats([4, 9, 16]) → [16, 4, 9] LASA_moveSeats([7, 3, 5, 9, 2, 0]) → [0, 7, 3, 5, 9, 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
Copyright Nick Parlante 2017 - privacy