Sunday, December 6, 2009

Psuedocode for algorithms

I am not following any book when it comes to algorithms or psuedocode.

a good resource is wikipedia to get the details about the algorithms, for example, the psuedocode for merge sort that i explained in the class is present here. You can use whatever resource you find is good for your understanding.

Till now, we have covered:

merge sort
insertion sort
selection sort and
bubble sort

Thursday, December 3, 2009

Algorithm animations

A very good animation of all the sorting algorithms can be found here.

Sunday, November 22, 2009

Algorithms and Complexity Analysis

A very good document about complexity analysis can be obtained from here. You must read it as it is very well written.

The slides for the first lecture are present here

Sunday, November 15, 2009

Assignment 2

The assignment 2 can be obtained from here.

Saturday, October 31, 2009

Assignment 1 Solution

The solution for the first assignment can be obtained from here

Friday, October 30, 2009

Priority Queue

The code for the priority queue can be obtained from here.

Recursion

The code of all the recursion functions can be obtained from here: