I’ve tried by removing backtracking and adding sort function also,but still not giving expected output
Why test cases are not passing?
@uthyasani
hello puspita,
generate all valid strings and put them in vector ,then sort the vector and print it .
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.