Skip to content

Commit

Permalink
chore: update index
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 9, 2022
1 parent 9697b39 commit 628d6e4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.ja.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.ko.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.zh-CN.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions questions/14188-hard-run-length-encoding/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
<!--info-header-start--><h1>Run-length encoding <img src="https://img.shields.io/badge/-hard-de3d37" alt="hard"/> </h1><blockquote><p>by Hen Hedymdeith <a href="https://github.com/alfaproxima" target="_blank">@alfaproxima</a></p></blockquote><p><a href="https://tsch.js.org/14188/play" target="_blank"><img src="https://img.shields.io/badge/-Take%20the%20Challenge-3178c6?logo=typescript&logoColor=white" alt="Take the Challenge"/></a> </p><!--info-header-end-->

Given a `string` sequence of a letters f.e. `AAABCCXXXXXXY`. Return run-length encoded string `3AB2C6XY`.
Also make a decoder for that string.


<!--info-footer-start--><br><a href="../../README.md" target="_blank"><img src="https://img.shields.io/badge/-Back-grey" alt="Back"/></a> <a href="https://tsch.js.org/14188/answer" target="_blank"><img src="https://img.shields.io/badge/-Share%20your%20Solutions-teal" alt="Share your Solutions"/></a> <a href="https://tsch.js.org/14188/solutions" target="_blank"><img src="https://img.shields.io/badge/-Check%20out%20Solutions-de5a77?logo=awesome-lists&logoColor=white" alt="Check out Solutions"/></a> <!--info-footer-end-->
4 changes: 2 additions & 2 deletions questions/14188-hard-run-length-encoding/template.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace RLE {
export type Encode<S extends string> = any;
export type Decode<S extends string> = any;
export type Encode<S extends string> = any
export type Decode<S extends string> = any
}

0 comments on commit 628d6e4

Please sign in to comment.