Please correct my code
@Mudit809,
You need to pass a custom comparator, program doesn’t knows how to compare two Pairs(custom class objects made by you).
Or either just use the STL pair.
@Mudit809,
You need to pass a custom comparator, program doesn’t knows how to compare two Pairs(custom class objects made by you).
Or either just use the STL pair.