Update is_isomorphic.py

This commit is contained in:
bt3gl 2023-07-30 15:55:48 -07:00 committed by GitHub
parent 7a44401e4c
commit f374afd0c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,8 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# author: bt3gl
def is_isomorphic(s: str, t: str) -> bool:
map_s_to_t = {}