two testcase are not passing
Regarding the error
still getting the same error
inside vector store int in place of string.
using int testcases have passed but whatβs the error in using string ???
β¦
in string the comparison is done based on every character whereas in int the comparision is done on the basis of magnitude of number.
in output file they have sorted them on the basis of magnitude.
example->
β11β
β1011β
then using string β1011β will come first and then β11β
whichis clearly not in sorted 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.