Check If Two String Arrays are Equivalent | Leet code 1662 | Theory explained + Python code

preview_player
Показать описание
This video is a solution to Leet code 1662, Check If Two String Arrays are Equivalent. I explain the question, go over how the logic / theory behind solving the question and finally solve it using Python code.

Comment below if you have a better solution to this problem!

Let me know if you have any feedback and don't forget to subscribe for more videos!

Time stamps:
0:00 Question Explained
1:18 Solution 1
2:38 Solution 2

Code:

More leetcode questions solved:
Рекомендации по теме
Комментарии
Автор

Ahhh, that's a tricky edge case at the end to return i1 == len(word1) and i2 == len(word2), I would have naturally returned True. Thanks for sharing

edwardteach
Автор

Hi Anish,
Please do a video on beautiful arrangement question in leetcode

consistentthoughts
Автор

Nice videos man, just wanted to ask you about the song you used in your intro, Thanks~!

TirthRajeshTeraiya
Автор

Hi Anish, been watching your videos. really help me. thanks! Could you also include the big O notation as you go through the solution? Thanks!

darcyjones