?? Day2 of #100DaysOfPython ??
Today, we're diving into String manipulation! ??
Let's try out this HackerRank challenge: https://www.hackerrank.com/challenges/the-minion-game/problem?isFullScreen=true
This logic - although correct - failed to generate results for longer strings due to the for loops iterating for as many as ~10k loops for difference combination of patterns for both vowels and consonants independently.
The next snippet is the optimized version of the above code.
Stay tuned for more Python challenges and solutions! ??