We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Came back only to have the same issue, my output in clion was correct, but incorrect in the online editor. I think there is a discrepency between me running it on clion and this online editor. It was fixed by changing the sort by distinct characters method to something similar to bin sort. Posting this answer because I don't think it's fair to not give a more detailed answer as to why test cases failed.
Sorting Array of Strings
You are viewing a single comment's thread. Return to all comments →
Came back only to have the same issue, my output in clion was correct, but incorrect in the online editor. I think there is a discrepency between me running it on clion and this online editor. It was fixed by changing the sort by distinct characters method to something similar to bin sort. Posting this answer because I don't think it's fair to not give a more detailed answer as to why test cases failed.