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

UpdatedCharRepeat.java #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 15, 2024

  1. UpdatedCharRepeat.java

    I have updated the program to ensure it accurately provides the expected output, as the previous version was not functioning as intended. The revised implementation now produces the correct results. For example:
    
    Input: aabbbcc → Output: a2b3c2
    Input: hassam → Output: h1a2s2m1
    This version handles the counting of consecutive characters efficiently, ensuring the desired format of output.
    
    Signed-off-by: Hassam Siddiqui <62291215+iamhassam143@users.noreply.github.com>
    iamhassam143 authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    baf6912 View commit details
    Browse the repository at this point in the history