Unable to pass any test case
hey @haseebshaik00 you have not understood the question properly what it means. in this question you have to output all the strings which are greater then the string which you have given in input .
@haseebshaik00 by rearranging the characters of this string which are in dictionary order larger than the given string.
read these lines carefully .
you are just printing the first string in your vector .
sorry my bad! just read the question got the ouput!
@haseebshaik00 i have corrected your code and now it is passing every test case .
please mark this doubt as resolved if your query is cleared .
Happy Learning !!