Maximum Number of Non-Overlapping Substrings
Given a lowercase alphabet string s, return the maximum number of non-overlapping substrings that satisfy the following conditions:
The substrings are non-empty and non-overlapping. A substring can be included multiple times in the result if it satisfies condition 1. The characters of each substring must be the same.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)