Check if two strings have a common substring | GeeksforGeeks

preview_player
Показать описание

This video is contributed by Ishmeet Kaur.

Please Like, Comment and Share the Video among your friends.

Install our Android App:

If you wish, translate into local language and help us reach millions of other geeks:

Follow us on Facebook:

And Twitter:

Also, Subscribe if you haven't already! :)
Рекомендации по теме
Комментарии
Автор

Or we can use hashmap to match characters of one string to the bool true and if we get same char from another string mapped to true we return true else return false

akashverma-qxqh
visit shbcf.ru