上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页
摘要: ``` / Source : https://oj.leetcode.com/problems/reverse linked list ii/ Reverse a linked list from position m to n. Do it in place and in one pass. Fo 阅读全文
posted @ 2017-11-02 22:25 lacker 阅读(153) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://leetcode.com/problems/reverse linked list/ Reverse a singly linked list. click to show more hints. Hint: A linked list can be r 阅读全文
posted @ 2017-11-02 22:24 lacker 阅读(125) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/decode ways/ A message containing letters from A Z is being encoded to numbers using the following map 阅读全文
posted @ 2017-11-02 22:23 lacker 阅读(180) 评论(0) 推荐(0) 编辑
摘要: ``` import org.lep.leetcode.groupanagrams.GroupAnagram; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Source : https://oj.leetcode.com/problems/gray-code/ * * ... 阅读全文
posted @ 2017-10-31 08:24 lacker 阅读(109) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.Arrays; /** * Source : https://oj.leetcode.com/problems/merge-sorted-array/ * * * Given two sorted integer arrays A and B, merge B into A as one sorted array. * * Note: * ... 阅读全文
posted @ 2017-10-31 08:23 lacker 阅读(116) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.Arrays; / Source : https://oj.leetcode.com/problems/scramble string/ Given a string s1, we may represent it as a binary tree by p 阅读全文
posted @ 2017-10-31 00:03 lacker 阅读(164) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/partition list/ Given a linked list and a value x, partition it such that all nodes less than x come b 阅读全文
posted @ 2017-10-31 00:02 lacker 阅读(139) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/remove duplicates from sorted array ii/ Follow up for "Remove Duplicates": What if duplicates are allo 阅读全文
posted @ 2017-10-30 08:22 lacker 阅读(157) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.Arrays; / Source : https://oj.leetcode.com/problems/remove duplicates from sorted array/ Given a sorted array, remove the duplica 阅读全文
posted @ 2017-10-30 08:21 lacker 阅读(103) 评论(0) 推荐(0) 编辑
摘要: ``` / Source : https://oj.leetcode.com/problems/remove duplicates from sorted list ii/ Given a sorted linked list, delete all nodes that have duplicat 阅读全文
posted @ 2017-10-29 22:56 lacker 阅读(111) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 25 下一页