Given a string, return the count of the number of times that a substring length 2 appears in the string and also as the last 2 chars of the string, so "hixxxhi" yields 1 (we won't count the end substring).
...Save, Compile, Run (ctrl-enter)
Editor font size %:
Shorter output
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 215.0
Copyright Nick Parlante 2017 - privacy