| about | help | code help+videos | done | prefs |
Information has been compressed as follows: data[] = {1,2,3}
repeat[] = {1,4,2}yields the array:result[] = {1,2,2,2,2,3,3}decompress([1, 2, 3], [1, 4, 2]) → [1, 2, 2, 2, 2, 3, 3] decompress([1, 2, 3], [1, 1, 1]) → [1, 2, 3] decompress([42], [1]) → [42] ...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: 250
Copyright Nick Parlante 2017 - privacy