1 test is not passing. Kindly check
hello @igarg145

dont erase from vector because this will change indexing of remaining elements in the vector.
simply sort the vector using comparator and then print the required output.
hello @igarg145

dont erase from vector because this will change indexing of remaining elements in the vector.
simply sort the vector using comparator and then print the required output.