Efficient Algorithms To Compute Topological Entities