Skip to content

clyver/Anagrams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Anagrams

Given a list of strings, return how many anagrams are present

Time complexity:

In the order of O(n (q log q)), where n is the size of the list and q is the length of the longest string. This is due to the fact that my heaviest opperation sorts the letters in a string, while itterating over all the strings. I'm sure I can do better. In particular, I want to see of I can reduce the number of times I iterate over our list of words. TODO: Decrease O() time complexity

About

Given a list of strings, return how many anagrams are present

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages