about | help | code help+videos | done | prefs |
welcomeback_queue_backOfTheLine--Given a Queue of Integers, remove odds and tell evens to go back to the end of the line. welcomeback_queue_backOfTheLine([1, 2, 3, 4, 5, 6]) → [2, 4, 6] welcomeback_queue_backOfTheLine([1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 51, 56, 61, 66, 71, 76, 81, 86, 91, 96, 101, 106, 111, 116, 121, 126, 131, 136, 141, 146]) → [6, 16, 26, 36, 46, 56, 66, 76, 86, 96, 106, 116, 126, 136, 146] welcomeback_queue_backOfTheLine([1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111]) → [] ...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