From d6f5a785871fc8918da32f1727e92021f9ccba23 Mon Sep 17 00:00:00 2001 From: hailincai Date: Sun, 5 Sep 2021 09:45:39 -0400 Subject: [PATCH] =?UTF-8?q?Update=201356.=E6=A0=B9=E6=8D=AE=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E4=BA=8C=E8=BF=9B=E5=88=B6=E4=B8=8B1=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E7=9B=AE=E6=8E=92=E5=BA=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit remove TODO for comparator --- problems/1356.根据数字二进制下1的数目排序.md | 1 - 1 file changed, 1 deletion(-) diff --git a/problems/1356.根据数字二进制下1的数目排序.md b/problems/1356.根据数字二进制下1的数目排序.md index 40a49b9c..06c29500 100644 --- a/problems/1356.根据数字二进制下1的数目排序.md +++ b/problems/1356.根据数字二进制下1的数目排序.md @@ -139,7 +139,6 @@ class Solution { .sorted(new Comparator(){ @Override public int compare(Integer o1, Integer o2) { - // TODO Auto-generated method stub int cnt1 = cntInt(o1); int cnt2 = cntInt(o2); return (cnt1 == cnt2) ? Integer.compare(o1, o2) : Integer.compare(cnt1, cnt2);