Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures

A series working through Sedgewick's Algorithms, Part I in C++, one post at a time. The blog and the code it talks about live in the same repo, so a post and its code are always in the same commit.

Layout

  • site/ — the Astro blog that gets deployed
  • code/ — one folder per post, each buildable on its own

Posts

# Post Code
02 Analysis of algorithms code/02-analysis-of-algorithms

Building the code

Any post folder builds the same way:

cd code/02-analysis-of-algorithms
cmake -S . -B build
cmake --build build --config Release   # --config is required on Windows/Xcode
./build/three_sum                      # build/Release/three_sum.exe on Windows

Release is not optional — these programs are benchmarks, and debug timings are meaningless.

Running the site

cd site
npm install
npm run dev          # preview at localhost:4321

About

A series working through Sedgewick's Algorithms, Part I in C++, one post at a time. The blog and the code it talks about live in the same repo, so a post and its code are always in the same commit.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages