What is the advantage of transitive compassion function?

Why is a transitive comparison function used and what are its advantages?
Add a comment

3 replies

One of the advantages of transitive comparison function to know that there will be a trade off between cost and time complexity heuristics.
Add a comment
If we have a transitive comparsion function then we can always sort the noods using it and it chooses the nood that is at the top
Add a comment