about | help | code help+videos | done | prefs |
Write a method that compares the elements in two different integer arrays for matches. A match is when you have the same value in the same position of each array. Note that the arrays might not be the same length. poolCountMatches([5, 7, 2, 3], [5, 4, 1]) → 1 poolCountMatches([7, 9, 2, 5, 1, 3, 8], [7, 9, 2, 5, 1, 3, 8]) → 7 poolCountMatches([], []) → 0 ...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: 290
Copyright Nick Parlante 2017 - privacy