While reading this book (http://www.amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/0262033844) will try to realise the algorithms and data types on haskell. May be on something else.