I’m getting 8/10 and not able to get all my answers right. Plz help.
Not able to find the wrong answers
Which question are you having doubt in?
I’m not sure. But maybe 9th and 10th
For 9th answer is
Algorithm is correct and uses O(N) time and O(N) extra space.
o(N) is because we are copying the string into rev
and algorithm is correct
For 10th answer is
bca cab cba abc
it is just printing next_permutation
My answers were same. Can you give me a list of all the answers only.
Clarify my doubt here, plz
6 a
7 d
8 d
5 b
1 d
2 b
3 c
4 c
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.