Skip to content
No description, website, or topics provided.
C C++ CMake
Branch: master
Clone or download
hutusi Use Huffman tree to encode and decode
encode and decode with huffman tree, using BitMap, HashTable, etc.
Latest commit c5f65b1 Aug 23, 2019

README.md

RETHINK C

Relearn and rethink C Programming Language, including some of data structures and algorithms.

The code is licensed under the MIT license, copyright by hutusi.com.

Some of the code inspired (copied) by Simon Howard's c-algorithms, like ArrayList, etc. This project also reused his alloc-testing framework for memory testing.

RETHINK-C aims to build a reuseable codebase for C Programming Language.

How to build & test

Requirements:

  • Editor/IDE: VS Code is recommended.
  • GCC on Mac, Linux or Windows. (Recommend msys2 + MingW on Windows.)
  • CMake.
  • Clang-Format.

build & test:

  • build
cd build
cmake ..
make
  • test:
make test

Goals / Achievements

Basic Data Structures

Trees

Graphs

String, Text.

Sorting

Math

  • Matrix multiplication
  • Eratosthenes sieve (prime numbers) prime.h prime.c
  • Carmichael Numbers (prime number)
You can’t perform that action at this time.