数组交集
package baseMethod.algorithm.searchForm;
import org.junit.Test;
import java.util.*;
import java.util.stream.Collectors;
public class Intersect {
//nums1 = [1,2,2,1], nums2 = [2,2]
//输出:[2,2]
@Test
public void run() {
/* int[] nums
原创
2021-04-19 11:35:09 ·
87 阅读 ·
0 评论