Computing Convex Hull in Python

Geometric algorithms involve questions that would be simple to solve by a human looking at a chart, but are complex because there needs to be an automated process. One example is: given four points on a 2-dimensional plane, and the first three of the points create a triangle, determine if the…

Read more

Maximum Flow, Minimum Cut and the Ford-Fulkerson Method

Today I’m studying flow graphs and disjoint sets data structure. Maximum flow falls into the category of combinatoric optimization problems. The Ford-Fulkerson method, published in 1956, is a way of solving the computation of maximum flow through a flow graph, which could represent a network…

Read more

Finishing the Learning Phase

Back on August 8, I talked about how I was going to change up my study schedule for the interview. I discovered that it was difficult to interleave learning new things and practicing, and I wanted to get past the learning phase done so I can just practice all day long. The Remainder of the Learning…

Read more

Cryptography & Compression

Today I studied cryptography and compression, so I’m trucking along. These topics are not on the coaching docs I’ve seen, but I added them to round out my studies. I’m basically trying to compress a 4 year CS degree into less than 1 year. It’s lossy…

Read more

Tackling Entropy

I’ve heard the term “entropy” over the years and never understood it until now. I used to think entropy was randomness, and it’s kind of related. Entropy can be defined in a few ways, some more complicated than others. Entropy is a measure of how much information is gained…

Read more