about | help | code help+videos | done | prefs |
sameMiddle
Given 3 arrays of ints with different odd lengths, return true if all 3 have the same element in the middle. Otherwise, it returns false. sameMiddle([1], [1, 2, 3], [3]) → false sameMiddle([1], [1], [1]) → true sameMiddle([1, 2, 3], [2], [1, 1, 2, 1, 1]) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy