about | help | code help+videos | done | prefs |
Given a list of data points, transform the data according to the following rules:
weird_transformation([1, 2, 3, 4]) → [1, 1, 5, 1] weird_transformation([0, 5, 6]) → [0, 4, 8] weird_transformation([0, 0, 0, 0, 0, 0]) → [0, -1, 2, -3, 4, -5] ...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: 150
Copyright Nick Parlante 2017 - privacy