parent
adafd39931
commit
d6f5a78587
|
|
@ -139,7 +139,6 @@ class Solution {
|
|||
.sorted(new Comparator<Integer>(){
|
||||
@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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue