This commit is contained in:
kkunkka
2025-03-31 11:31:59 +08:00
parent 671172ffc4
commit f9749da0e4
4 changed files with 65 additions and 0 deletions

View File

@@ -1,8 +1,18 @@
package com.dota;
import org.apache.commons.collections4.list.TreeList;
import java.util.HashMap;
public class Solution {
public static void main(String[] args) {
var a = new TreeList<Integer>();
a.add(1);
a.add(2);
a.add(1);
System.out.println(a.get(2));
Integer.bitCount(1231);
}
// 1423. 可获得的最大点数
public int maxScore(int[] cardPoints, int k) {
int max;