aalhour/C-Sharp-Algorithms

IsAnagram logic needs to be fixed

Fechada

#11 aberto em 20 de ago. de 2015

 (1 comentário) (0 reação) (1 responsável)C# (1.409 forks)batch import
buggood first issue

Métricas do repositório

Stars
 (5.736 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

I think the IsAnagram() method doesn't work as expected. For example, it would fail for the below string combinations ("abc","bbb") or ("acdf", "bcde").

I think a simple LINQ implementation would be easy enough to implement here. If you like, I could do that and also implement unit tests for it.

Guia do colaborador