aalhour/C-Sharp-Algorithms

IsAnagram logic needs to be fixed

Open

#11 创建于 2015年8月20日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)C# (5,736 star) (1,409 fork)batch import
buggood first issue

描述

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.

贡献者指南