上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页
摘要: ``` / Source : https://oj.leetcode.com/problems/reverse nodes in k group/ Created by lverpeng on 2017/7/12. Given a linked list, reverse the nodes of 阅读全文
posted @ 2017-08-21 08:13 lacker 阅读(219) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/swap nodes in pairs/ Created by lverpeng on 2017/7/12. Given a linked list, swap every two adjacent no 阅读全文
posted @ 2017-08-19 09:31 lacker 阅读(360) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.ArrayList; import java.util.List; import java.util.PriorityQueue; /** * Source : https://oj.leetcode.com/problems/merge-k-sorted-lists/ * * Created by lverpeng on 2017/7/11. ... 阅读全文
posted @ 2017-08-18 08:11 lacker 阅读(192) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Source : https://oj.leetcode.com/problems/generate-parentheses/ * * Created by lverpeng on 2017/7/11. * * Gi... 阅读全文
posted @ 2017-08-17 07:52 lacker 阅读(118) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.ArrayList; import java.util.List; / Source : https://oj.leetcode.com/problems/merge two sorted lists/ Created by lverpeng on 2017 阅读全文
posted @ 2017-08-16 21:27 lacker 阅读(122) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.Stack; / Source : https://oj.leetcode.com/problems/valid parentheses/ Created by lverpeng on 2017/7/11. Given a string containing 阅读全文
posted @ 2017-08-15 23:34 lacker 阅读(145) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/remove nth node from end of list/ Created by lverpeng on 2017/7/11. Given a linked list, remove the nt 阅读全文
posted @ 2017-08-14 22:18 lacker 阅读(169) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.Arrays; import java.util.HashSet; import java.util.Set; /** * Source : https://oj.leetcode.com/problems/4sum/ * * Created by lverpeng on 2017/7/10. * * Given an array S of n... 阅读全文
posted @ 2017-08-13 11:09 lacker 阅读(142) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.*; /** * Source : https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/ * * Created by lverpeng on 2017/7/10. * * Given a digit string, return all possible... 阅读全文
posted @ 2017-08-12 14:39 lacker 阅读(177) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.*; /** * Source : https://oj.leetcode.com/problems/3sum/ * * Created by lverpeng on 2017/7/10. * * Given an array S of n integers, are there elements a, b, c in S such that ... 阅读全文
posted @ 2017-08-10 23:12 lacker 阅读(113) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页