Archive for January, 2015

C

I made a few implementations of useful/interesting things in C to illustrate different algorithms such as hashing, use of data structures, multi-threading, etc. Here are some of the examples:

Binary Search of an Array.
Breadth First and Depth First search on a tree.
Counting the number of occurrences in an array. (Example of hashing).
Finding the longest “run” of consecutive numbers in an array.
Merge Sort.
Multi-threaded programing in C.
Reversing a linked list.