This is the continuation to the last blog post. As promised I will show the implementation of the union-find data structure in Python and Java including the solution to the exercise. Continue reading
Monthly Archives: September 2014
Union-find data structure (disjoint set data structure)
Abstract
In this post I will describe the union-find data structure that is used to maintain disjoint sets. Continue reading
Avoiding int overflow by using long (Java)
In this blog post we will have a look at the long data type that we will need if we have to handle large integers that don’t fit into the int data type. Continue reading