mirror of
https://github.com/TheAlgorithms/Ruby
synced 2025-01-14 08:01:05 +01:00
Update anagram_checker.rb
This commit is contained in:
parent
ad959fcfb0
commit
6b8529a1a6
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
||||||
#
|
#
|
||||||
# Approach: Hash table
|
# Approach: Hash table
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
# Complexity analysis:
|
# Complexity analysis:
|
||||||
#
|
#
|
||||||
# Time complexity: O(n). Time complexity is O(n) since accessing the counter
|
# Time complexity: O(n). Time complexity is O(n) since accessing the counter
|
||||||
|
|
Loading…
Reference in a new issue