about | help | code help+videos | done | prefs |
Write a method that accepts an array of positive integers, then returns an array of the same length. Each element in the new array will match the value of the two least significant digits of the corresponding element in the original array. Look at the test data for examples. Note: You are NOT allowed to use strings or string methods to help solve this problem! test2024_04_16_APP1SLHL_twoDigits([]) → [] test2024_04_16_APP1SLHL_twoDigits([2715125]) → [25] test2024_04_16_APP1SLHL_twoDigits([347, 235, 78976, 12, 463, 457]) → [47, 35, 76, 12, 63, 57] ...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: 210
Copyright Nick Parlante 2017 - privacy