Wireframe
WireframeWireframe

Breadth First Search

May 05, 2019

How does it work?Take a node:Add each adjacent to a queuegoing through the queue, visit, add each of the neighbors to queue

Read more

Binary Search Trees

May 05, 2019

What's the deal with BST?Node definitionIn Order Tree WalkFinding successorYou want to find the successor! The next value in the tree!If the…

Read more

Minimum Spanning Tree

April 22, 2019

Minimum spanning trees are all about finding the shortest paths between things in a weighted graph. You want to:Touch every vertexHave the…

Read more

Graphs

April 17, 2019

Graphs! We keep them in memory either as an adjacency list or an adjacency matrix. The implication here is that we care about the things…

Read more

Greedy Algorithms

April 08, 2019

Greedy algorithms follow a simple pattern: Choose the best of all immediate choices, that gives you the most immediate benefit, and you'll…

Read more

Huffman Encoding

April 08, 2019

Variable length encoding! How do we do it?You gotta know when you're teminating! In this case, think of it kinda as start and stop bits…

Read more

Dynamic Programming

April 01, 2019

Four stepsCharacterize the structure of an optimal solution.Recursively define the value of an optimal solution.Compute the value of an…

Read more

Extreme Programming

March 31, 2019

I listened to a bit of a lecture on Extreme Programming. It really re-enforced how important TDD and writing unit tests can be. I went and…

Read more