Skip to content

Solution#145

Open
Mishtal-Andrii wants to merge 1 commit into
mate-academy:masterfrom
Mishtal-Andrii:develop
Open

Solution#145
Mishtal-Andrii wants to merge 1 commit into
mate-academy:masterfrom
Mishtal-Andrii:develop

Conversation

@Mishtal-Andrii

Copy link
Copy Markdown

No description provided.

Comment thread src/rleCompress.js
Comment on lines +23 to +29
for (let i = 0; i < source.length; i++) {
let count = 1;

while (source[i] === source[i + 1]) {
count++;
i++;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

цикл в цикле можно избежать)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants