summaryrefslogtreecommitdiff
path: root/1_array_hashing/group_anagram.py
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-08-26 15:57:39 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-08-26 15:57:39 +0900
commit8225172fc086650ca5d49ec96d03d3bc22077ee1 (patch)
tree8558f31b8c2a611fec82897571d75cb32eba23d3 /1_array_hashing/group_anagram.py
parenta1b80e66b43ed77c34357af31686697322421995 (diff)
Init
Diffstat (limited to '1_array_hashing/group_anagram.py')
-rw-r--r--1_array_hashing/group_anagram.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/1_array_hashing/group_anagram.py b/1_array_hashing/group_anagram.py
index 2276799..f2085b2 100644
--- a/1_array_hashing/group_anagram.py
+++ b/1_array_hashing/group_anagram.py
@@ -64,8 +64,8 @@ url: https://neetcode.io/problems/anagram-groups
video: https://youtu.be/vzdNOK2oB2E
1. dictionary
-time:
-space:
+time: O(m*n*26) = O(m*n)
+space: O(m*n)
code:
```python
class Solution: