https://www.codingame.com/training/easy/unique-prefixes
Send your feedback or ask for help here!
Created by @otpv,validated by @BigBart,@ItsAFeature and @Samsonov.
If you have any issues, feel free to ping them.
https://www.codingame.com/training/easy/unique-prefixes
Send your feedback or ask for help here!
Created by @otpv,validated by @BigBart,@ItsAFeature and @Samsonov.
If you have any issues, feel free to ping them.
cannot pass the final validators7: the incremental options, I try to pass all the other testcases, I cannot pass the 7th validators may be the reson I still cannot figure out this case:
verbose
verb
verbose
verb
verbose
why it outputs
verbo
verb
verbo
verb
verbo
in my thought it should not be accepted because they existed the same words, and how can I tell if the testcases have the same words? I think it’s the reason I cannot pass it.
any suggestion for me?
Because “verbo” is enough to match “verbose”.
I’m stuck at the same place as you. How did you solve it?
Found the issue - I wasn’t handling duplicates very well.
This was excellent and straight forward to solve, Thank You!