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.

貢獻者指南