about | help | code help+videos | done | prefs |
getFirstThreeElements
Return the first three elements of a String array in a new String array. If the input array is of size less than 3, then return itself. getFirstThreeElements([""]) → [""] getFirstThreeElements(["a"]) → ["a"] getFirstThreeElements(["a", "b"]) → ["a", "b"] ...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: 100
Copyright Nick Parlante 2017 - privacy