ques nos:-
4 8 9 10
of quiz
Cant understand y my answer is wrong
Hey @dhruv.mahajan.mait can you share the questions here with the answers you have opted, as question links are not available to me.

In q4, bool and 1, is the answer because return type of comp function is bool and for ascending values, item 1 should be less than item 2, (assuming that item1 occurs before item2) this is why item1 < item2 returns true.
Q.8 Yes there’s a pre defined function called max elements
Q.9 first stored string s in rev, then revere rev string. If rev == s then return true. O(n) to reverse it. O(n) to check if it’s equal or not
Q.10 Strings are sorted on basis of their length. If the length is same. Then they sorted on the basis of their lexographical order.
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.