███╗ ███╗ ██████╗ ██████╗ ███████╗██████╗ ███╗ ██╗ ██████╗██████╗ ██████╗
████╗ ████║██╔═══██╗██╔══██╗██╔════╝██╔══██╗████╗ ██║ ██╔════╝██╔══██╗██╔══██╗
██╔████╔██║██║ ██║██║ ██║█████╗ ██████╔╝██╔██╗ ██║ ██║ ██████╔╝██████╔╝
██║╚██╔╝██║██║ ██║██║ ██║██╔══╝ ██╔══██╗██║╚██╗██║ ██║ ██╔═══╝ ██╔═══╝
██║ ╚═╝ ██║╚██████╔╝██████╔╝███████╗██║ ██║██║ ╚████║ ╚██████╗██║ ██║
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝╚═╝ ╚═╝
- Just a repo of good C++ code I write and find useful.
-
My environment
g++ (GCC)
Ubuntu 20.04.2 LTS
Linux 5.8.0-53-generic x86_64
- Mostly
C++17
andC++20
- Docker with
Ubuntu 20.04.2 LTS
andg++ (GCC)
orclang++ (LLVM)
for uniform build and deployments
- Reference build and run
# Development
g++ -std=c++20 -o quicksort quicksort.cpp && ./quicksort
# Production
g++ -std=c++20 -O3 -o quicksort quicksort.cpp && ./quicksort
huffmanEncoding.cpp
- implementation of Huffman Encoding inC++20
using anUnbalanced Binary Tree
,std::map
,std::priority_queue
, andstd::bitset
.