mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update is_isomorphic.py
This commit is contained in:
parent
7a44401e4c
commit
f374afd0c7
@ -1,3 +1,8 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# author: bt3gl
|
||||||
|
|
||||||
|
|
||||||
def is_isomorphic(s: str, t: str) -> bool:
|
def is_isomorphic(s: str, t: str) -> bool:
|
||||||
|
|
||||||
map_s_to_t = {}
|
map_s_to_t = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user