My code is - https://ide.codingblocks.com/s/340829
My test cases are failing while output is correct
Hey @sukritbansal01, you have to add endl after printing your answer in line number 23. Add count after your function call. Whereas keep output format in mind 
Can you check it out again i have made some changes
But now its now giving me substrings . Why is it so ?
You even changed your original code. The reason why you are not getting output is because of your output format and the way you are printing your output array.
I am unable to trace my error can you help me in correcting the code
Do you want me to give you a correct version of the code?
No i want you to correct my code
Use for loop to print your output array, it’s not a string. It’s an array. Maybe it will work.
By doing so i dont get the correct order of output
To get correct order, store them in a string of vectors, sort them and print it in main function.
Is there any way I can transfer my question to another TA .
And to what terms can i sort the string its random
Dont answer the query if you don’t know the answer
A total time waste it was from tomorrow
And also you said i cant print a character array without for loop , so for your knowledge we can
So please don’t provide wrong answers, and transfer my question to another TA
You can ask your doubt again, another TA will take it.
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.
