Topological Sort Using Decrease Size Of Image Without Color