shouldnt the answer be bca the cba???
Doubt in Q10 of MCQ Algorithm
It should be bca -> cba as it is the next permutation of the string bca.
1 Like
but in options it is writen to cab
Yeah it would be cab first then cba. I wrote the first to last values.
1 Like