Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Longest Consecutive Duplicate String #398

Open
Monish-P opened this issue Oct 2, 2021 · 2 comments
Open

Longest Consecutive Duplicate String #398

Monish-P opened this issue Oct 2, 2021 · 2 comments
Assignees

Comments

@Monish-P
Copy link

Monish-P commented Oct 2, 2021

Hello !, I am a participant of hacktober fest 2021 , I would like to add this important question regarding strings.

Problem statement: Given a lowercase alphabet string s, return the length of the longest substring with same characters.

Constraints:
0<=n<=100000 , where n is length of string s.
Example cases:

Example 1:
s = "abbbba"
Output: 4
Explanation: The longest substring is "bbbb".

Example 2:
s = "aaabbb"
Output: 3
Explanation: The longest substring is either 'aaa' or 'bbb'.

Please assign me this issuse.

@shreyaa2410
Copy link

shreyaa2410 commented Oct 2, 2021

I would like to solve this problem.please assign this to me

@avinash201199
Copy link
Owner

They are not considering dsa,cp,algorithm repository :(
all the pr will not be considered in hacktoberfest but your contribution will be for lifetime, this will help many students to practice dsa .
Thank you for your contribution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants