This week’s algorithm was another “Easy” one for most, but always a learning experience for me! I refreshed my memory about .join() and the beautiful things it can do!
Problem
Please click the link below to view the Problem Statement
Solution
My initial solution was the following:
However, upon discussing it with my study group, we were able to find a more optimal one line solution.
Conclusion
Thank you so much for stopping by! Stay tuned for more Algorithm Content!
Please checkout my online portfolio and feel free to connect with me on Linkedin!