发布时间:2015-09-26 15:19:05
<br /><br />import java.util.ArrayList;<br />import java.util.LinkedList;<br />import java.util.List;<br />import java.util.Queue;<br /><br /><br />public class BinaryTreeZigzagLevelOrderTraversal {<br /><br /><br />public static void main(String[] args) {<br />// TODO Auto-generated met.........【阅读全文】
发布时间:2015-09-26 15:18:39
//Unique Binary Search Trees II My Submissions Question Solution <br />//Total Accepted: 39624 Total Submissions: 139751 Difficulty: Medium<br />//Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.<br />//<br />//For example,<br />//Given n = 3, .........【阅读全文】
发布时间:2015-09-26 15:17:40
<br /><br />import java.util.ArrayList;<br />//Restore IP Addresses My Submissions Question Solution <br />//Total Accepted: 40984 Total Submissions: 191711 Difficulty: Medium<br />//Given a string containing only digits, restore it by returning all possible valid IP address combinations..........【阅读全文】
发布时间:2015-09-21 16:51:40
//Reverse Linked List II My Submissions Question Solution <br />//Total Accepted: 50939 Total Submissions: 195918 Difficulty: Medium<br />//Reverse a linked list from position m to n. Do it in-place and in one-pass.<br />//<br />//For example:<br />//Given 1->2->3->4->5->NUL.........【阅读全文】
发布时间:2015-09-20 10:42:15
import java.util.ArrayList;<br />import java.util.Arrays;<br />import java.util.HashSet;<br />import java.util.List;<br />import java.util.Set;<br /><br /><br />//Subsets II My Submissions Question Solution <br />//Total Accepted: 47526 Total Submissions: 169953 Difficulty: Medium<br /.........【阅读全文】