摘要:
import java.util.HashMap; import java.util.Map; public class Solution { public int GetNumberOfK(int [] array , int k) { Map map = new HashMap(); if(array.length==0){ re... 阅读全文
posted @ 2019-05-20 21:14
紫色的雪
阅读(134)
评论(0)
推荐(0)
摘要:
/* public class ListNode { int val; ListNode next = null; ListNode(int val) { this.val = val; } }*/ import java.util.Stack; public class Solution { public ListNode FindF... 阅读全文
posted @ 2019-05-20 20:15
紫色的雪
阅读(140)
评论(0)
推荐(0)
摘要:
public class Solution { public int InversePairs(int [] array) { if(array.length==0){ return 0; } int[] copy = new int[array.length]; for(int i = 0;i =... 阅读全文
posted @ 2019-05-20 14:58
紫色的雪
阅读(361)
评论(0)
推荐(0)