LeetCode 205 - Isomorphic Strings | Java Solution [EASY]

preview_player
Показать описание
Today I solve and explain a LeetCode Algorithm called "205. Isomorphic Strings"

If you found this helpful Like and Subscribe! I solve LeetCode Algorithms and Database/ SQL Problems daily!

#leetcode #mysql #sql #tutorial #SQLinterviewQuestions #LeetCodeSQL #FAANG #coding #programming
Рекомендации по теме
Комментарии
Автор

Comment below any questions you need help with! 😄

codewithcarter
Автор

Your code fails when the character is unicode 0.(Which is one of the testcase that failed)
s = u0000\u0000
t = \u0000c
To fix the issue I updated the code to initialize the arrays with -1 and then check for -1.

a.yashwanth
Автор

Bro can you please explain how did you insert an character into an integer type array?

tomkhan