2014年5月1日

Convert Sorted List to Binary Search Tree

摘要: http://oj.leetcode.com/problems/convert-sorted-list-to-binary-search-tree/Example:Input: Linked List 1->2->3Output: A Balanced BST 2 / \ ... 阅读全文

posted @ 2014-05-01 23:59 Atlas-Zzz 阅读(127) 评论(0) 推荐(0) 编辑

Add Two Numbers

摘要: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ... 阅读全文

posted @ 2014-05-01 12:30 Atlas-Zzz 阅读(140) 评论(0) 推荐(0) 编辑

Median of Two Sorted Arrays

摘要: Original Blog:http://leetcode.com/2011/03/median-of-two-sorted-arrays.html#comment-1053 阅读全文

posted @ 2014-05-01 08:00 Atlas-Zzz 阅读(77) 评论(0) 推荐(0) 编辑

Two Sum

摘要: Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu... 阅读全文

posted @ 2014-05-01 07:30 Atlas-Zzz 阅读(88) 评论(0) 推荐(0) 编辑

导航