practicalli / practicalli/clojure
Exercise - simple compression
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 117
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
Given a large collection of colours that represent a picture, compress the size of that data by grouping continuous sections of colours
Starting data
Green, green, green, blue, blue, red, red, red, black, black
Results in something like this
3 green, 2 blue, 3 red, 2 black
Include a simple way to show the colours, the size of the data (so the level of compression is known).
Convert a compressed image back to a normal one and display.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points, so first locate the existing exercise structure and its way of displaying values. The work is done when continuous colour runs can be compressed, the original and compressed data sizes can be shown, and the compressed form can be expanded and displayed again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100