about | help | code help+videos | done | prefs |
Given 3 strings that are not the same length, compare the all corresponding characters of all 3 strings and count the number of times that all three strings have the same character at the same index. countSimilarChars("ab", "ab", "ab") → 2 countSimilarChars("ab", "ac", "ad") → 1 countSimilarChars("a", "ab", "abc") → 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: 210
Copyright Nick Parlante 2017 - privacy