摘要:
博客园样式更改时间12月25日。 今天对博客园的主题进行修改,使用的是开源的博客园主题模板,样式修改方法文档在这 阅读全文
摘要:
题目:24.两两交换链表中的节点 思路:链表交换 代码: /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ListNode 阅读全文
摘要:
题目链接:455.分发饼干 思路:排序。 代码: class Solution { public int findContentChildren(int[] g, int[] s) { int cnt = 0; Arrays.sort(g); Arrays.sort(s); for(int i=0, 阅读全文