-
Recent Posts
Recent Comments
Archives
Categories
Meta
Monthly Archives: August 2011
Bellman-Ford Algorithm
I just finished a script which executes the Bellman-Ford Algorithm on a randomly generated directed graph (possibly with negative arcs). It can be accessed here. The Bellman Ford algorithm is another shortest path algorithm. Unlike Dijkstra’s algorithm, though, this algorithm … Continue reading
Posted in Examples
Leave a comment
Dijkstra’s Algorithm
I’ve just added a script which executes Dijkstra’s algorithm on a randomly generated graph. It can be accessed here. Given a weighted graph G and a pair of vertices (s and d), the shortest path problem seeks to find a … Continue reading
Posted in Examples
Leave a comment
Kruskal’s Algorithm
I’ve just added a script which executes Kruskal’s algorithm on a randomly generated graph. You can access it here. Given a weighted graph, many times we are interested in finding a minimum spanning tree (MST) for that graph. Prim’s algorithm … Continue reading
Prim’s Algorithm
I have just written a script of this algorithm that can be accessed here. Given a weighted graph, many times we are interested in finding a minimum spanning tree (MST) for that graph. Prim’s algorithm is a greedy method which … Continue reading
Posted in Examples
Leave a comment
Gaussean Elimination
I have just written a script of this algorithm, which can be seen here When we have a collection of lines we wish to know if they all intersect at some point. Many times we are interested in determining what … Continue reading
Posted in Examples
Leave a comment
Euclid’s Algorithm
This program implements Euclid’s Algorithm to reduce a given fraction to lowest terms. This is done by finding the greatest common divisor (GCD) of the numerator and denominator. The GCD of two integers is the largest integer which divides them … Continue reading
Posted in Examples
2 Comments
Sieve of Eratosthenes
I added a program which implements the Sieve of Eratosthenes. This prints out all prime numbers less than a given number by first canceling out all multiples of 2, then all multiples of 3, then all multiples of 5 (multiples … Continue reading
Posted in Examples
Leave a comment
The Cost of Learning
I often hear phrases like “the value of a college education” or “the importance of a college education”. These are phrases that I grew up on. These and many similar others have been a part of my life for as … Continue reading
Posted in Blog
2 Comments
Examples Page
Sometimes, the most effective way to understand a new concept is to actually see it in action. Here I have laid the grounds to implement a variety of scripts to help teach many different concepts. Tweet
Flash Cards Page
One of the most effective ways I remember studying for vocabulary quizzes in high school was through flash cards. During my time in college, I wondered why a similar method was not used to help study for other things, particularly … Continue reading
Posted in Blog, Flash Cards
1 Comment
