Sort the string challenge?

instead of using string tokenizer can’t we just make an array of vector and store them . ?

hello @mehulbhandari358
u can use vector in place of array.
but still u will need string tokenizer to extract values form each given line.

that’s what i am saying we can make array of vector ( like we did in the bucket sort algo ) and then extract by writing -
v[i][key] to extract the key from ith row .

yeah i think u can do that

can I do it ? are you sure?

yeah… … …

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.