摘要:
Description:Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A... 阅读全文
posted @ 2015-06-19 23:11
Pickle
阅读(186)
评论(0)
推荐(0)
摘要:
Description:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example, "A man, a plan, ... 阅读全文
posted @ 2015-06-19 22:48
Pickle
阅读(173)
评论(0)
推荐(0)
摘要:
Description:Given an index k, return the kth row of the Pascal's triangle.For example, given k = 3, Return [1,3,3,1].public class Solution { public... 阅读全文
posted @ 2015-06-19 21:53
Pickle
阅读(207)
评论(0)
推荐(0)
摘要:
Description:Given numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5, Return[ [1], [1,1], [1,2,1], [1,3... 阅读全文
posted @ 2015-06-19 21:42
Pickle
阅读(182)
评论(0)
推荐(0)
摘要:
Description:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in whi... 阅读全文
posted @ 2015-06-19 11:57
Pickle
阅读(185)
评论(0)
推荐(0)
摘要:
Description:Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop(... 阅读全文
posted @ 2015-06-19 00:04
Pickle
阅读(208)
评论(0)
推荐(0)
浙公网安备 33010602011771号