utkarsh006 / LeetCode-Grind

This Repo is a one way solution to ace your Technical Interviews and crack your dream Job by upsolving LeetCode standard problems.
MIT License
50 stars 26 forks source link

Longest Repeating Character Replacement #271

Closed Jyotisaini-2001 closed 2 years ago

Jyotisaini-2001 commented 2 years ago

ISSUE NO:#268 DESCRIPTION

Longest Repeating Character Replacement You are given a string s and an integer k. You can choose any character of the string and change it to any other uppercase English character. You can perform this operation at most k times.

Return the length of the longest substring containing the same letter you can get after performing the above operations.

✔️ Check List (Check all the applicable boxes)

📄 Note to reviewers

       Added under Hacktoberfest 2022
      @utkarsh006 Please review my PR

📷 Output Screenshots

image

github-actions[bot] commented 2 years ago

Thanks for your contribution we will soon check your PR @Jyotisaini-2001 :)

Jyotisaini-2001 commented 2 years ago

hii, @utkarsh006 I have added my code. Please merge my pull request. thank you!!.

utkarsh006 commented 2 years ago

@Jyotisaini-2001 Create a separate branch using git and follow the guidelines.

Jyotisaini-2001 commented 2 years ago

@Jyotisaini-2001 Create a separate branch using git and follow the guidelines.

oh sorry. It's my first contribution.