Skip to content

Commit d6f5a78

Browse files
authored
Update 1356.根据数字二进制下1的数目排序.md
remove TODO for comparator
1 parent adafd39 commit d6f5a78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

problems/1356.根据数字二进制下1的数目排序.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ class Solution {
139139
.sorted(new Comparator<Integer>(){
140140
@Override
141141
public int compare(Integer o1, Integer o2) {
142-
// TODO Auto-generated method stub
143142
int cnt1 = cntInt(o1);
144143
int cnt2 = cntInt(o2);
145144
return (cnt1 == cnt2) ? Integer.compare(o1, o2) : Integer.compare(cnt1, cnt2);

0 commit comments

Comments
 (0)