aalhour/C-Sharp-Algorithms

IsAnagram logic needs to be fixed

已关闭

#11 创建于 2015年8月20日

 (1 条评论) (0 个反应) (1 位负责人)C# (1,409 个派生)batch import
buggood first issue

仓库指标

星标
 (5,736 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南