edword1996 / lose-data Goto Github PK
View Code? Open in Web Editor NEWTask: find the lost data. The input receives 2 arrays of numbers of one frame. The program should determine the dependency between the two arrays. The dependency will be extremely linear. The input will receive a new number from the array x, and the output will receive a new number from y. for example: x = [1, 2, 3, 4, 5] y = [1, 4, 6, 8, 10] input: 6 output: 12