---
title: "Discussion on \"LeetCode: Isomorphic Strings\" | Hashnode"
description: "Discussion on \"LeetCode: Isomorphic Strings\". Problem:\nhttps://leetcode.com/problems/isomorphic-strings/description/\nCode:\nclass Solution:\n    def map_check(self, txt1: str,txt2: str, char_map: dict)->bool:\n        for i in range(len(txt1)):\n            if txt1[i] not in char_map:\n              ..."
url: "https://hashnode.com/posts/leetcode-isomorphic-strings/693ea95ae6e76858032c7f9b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode: Isomorphic Strings](https://is-power-of-two.hashnode.dev/leetcode-isomorphic-strings?utm_source=hashnode&utm_medium=feed)

Problem: https://leetcode.com/problems/isomorphic-strings/description/ Code: class Solution: def map\_check(self, txt1: str,txt2: str, char\_map: dict)->bool: for i in range(len(txt1)): if txt1\[i\] not in char\_map: ...

Dec 14, 2025 · 2 min read · is-power-of-two.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#strings](https://hashnode.com/tag/strings)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#coding](https://hashnode.com/tag/coding)
-   [#coding-challenge](https://hashnode.com/tag/coding-challenge)
-   [#map](https://hashnode.com/tag/map)
-   [#hashmap](https://hashnode.com/tag/hashmap)
-   [#dictionary](https://hashnode.com/tag/dictionary)

## Written by

[Shahwar Alam Naqvi](https://hashnode.com/@shahwar01)

@shahwar01

  
[View profile](https://hashnode.com/@shahwar01)

Coder

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
