修改分类

This commit is contained in:
whai 2023-12-31 19:39:18 +08:00
parent acc3ac725c
commit d9687332dc
17 changed files with 21 additions and 18 deletions

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.middle; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.middle; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,9 +1,7 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;
import java.text.Format;
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.middle; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.middle; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.Array;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.Array;
import org.junit.Test; import org.junit.Test;

View File

@ -2,6 +2,9 @@ package cn.whaifree.leetCode;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/** /**
* *
@ -29,6 +32,8 @@ import java.util.Map;
public class LeetCode001 { public class LeetCode001 {
/** /**
* map存储key为nums内的值value为下标 * map存储key为nums内的值value为下标
* @param nums * @param nums

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.LinkedList;
import cn.whaifree.leetCode.model.ListNode; import cn.whaifree.leetCode.model.ListNode;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.easy; package cn.whaifree.leetCode.LinkedList;
import cn.whaifree.leetCode.model.ListNode; import cn.whaifree.leetCode.model.ListNode;
import com.sun.jmx.remote.internal.ArrayQueue; import com.sun.jmx.remote.internal.ArrayQueue;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.middle; package cn.whaifree.leetCode.LinkedList;
import org.junit.Test; import org.junit.Test;
import cn.whaifree.leetCode.model.ListNode; import cn.whaifree.leetCode.model.ListNode;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.middle; package cn.whaifree.leetCode.LinkedList;
import org.junit.Test; import org.junit.Test;

View File

@ -1,4 +1,4 @@
package cn.whaifree.leetCode.middle; package cn.whaifree.leetCode.LinkedList;
import org.junit.Test; import org.junit.Test;