Cp-notes
-
Evolution of Fibonacci
I was watching SICP recently — it was a lot of pressure to let go of my old worldview and methods, but totally worth it. For example, I learned the 0(log(n)) Fibonacci algorithm and got a big...
read article -
00xx const
I want to compare five things: char ** a; const char ** b; char * const * c; const char * const * d; const char * const * const e; What are these things? Explained with 5 small programs. Skip to the...
read article -
Kruskals Greedy Algorithm for MST
The code that follows was already written before. To do it, I created a straightforward linked list + insert using a queued linked list and then sorting it was my original plan, but it seemed to be...
read article