摘要: ``` / Source : https://oj.leetcode.com/problems/remove duplicates from sorted list/ Given a sorted linked list, delete all duplicates such that each e 阅读全文
posted @ 2017-10-27 08:33 lacker 阅读(130) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Source : https://oj.leetcode.com/problems/word-search/ * * * Given a 2D board and a word, find if the word ex... 阅读全文
posted @ 2017-10-27 08:31 lacker 阅读(126) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Source : https://oj.leetcode.com/problems/subsets/ * * * Given a set of distinct integers, S, return all poss... 阅读全文
posted @ 2017-10-27 00:14 lacker 阅读(117) 评论(0) 推荐(0) 编辑
摘要: ``` import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Source : https://oj.leetcode.com/problems/subsets-ii/ * * * Given a collection of integers that might contain... 阅读全文
posted @ 2017-10-27 00:14 lacker 阅读(211) 评论(0) 推荐(0) 编辑