Introduction
It is an easy level algorithm called positions of large groups. But I found it is very challenging one.
My C# practice
Here is my C# practice, I wrote one algorithm to fit into the requirement of lexicographic order. But it is not required by Leetcode online judge.
Here is my second submission without lexicographic order, using order showing up in original string.
Here is the link on Leetcode discuss. I like to learn something by sharing on discuss panel.
No comments:
Post a Comment