LeetCode: Check If Two String Arrays are Equivalent

Written by Stephanie Segura | March 26, 2021

Stephanie Segura
1 min readMar 26, 2021

Thank you for visiting this post! Be sure to also take a look at my other work on LinkedIn, Github, and my website.

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!


Please click the link below to view the Problem Statement


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.


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!