about | help | code help+videos | done | prefs |
Given 2 int arrays, a and b, of any length, return a new array with the first element of each array. If either array is length 0, ignore that array. front11([1, 2, 3], [7, 9, 8]) → [1, 7] front11([1], [2]) → [1, 2] front11([1, 7], []) → [1] ...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: 181.0
Copyright Nick Parlante 2017 - privacy