Idiot-maker

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年1月13日

摘要: https://oj.leetcode.com/problems/unique-binary-search-trees/Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For... 阅读全文
posted @ 2015-01-13 19:25 NickyYe 阅读(360) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/single-number/Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your al... 阅读全文
posted @ 2015-01-13 13:34 NickyYe 阅读(214) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/maximum-depth-of-binary-tree/ Given a binary tree, find its maximum depth. The maximum depth is the number of nodes a 阅读全文
posted @ 2015-01-13 13:23 NickyYe 阅读(116) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/same-tree/ Given two binary trees, write a function to check if they are equal or not. Two binary trees are considere 阅读全文
posted @ 2015-01-13 13:19 NickyYe 阅读(436) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/excel-sheet-column-number/Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet... 阅读全文
posted @ 2015-01-13 13:07 NickyYe 阅读(341) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/linked-list-cycle/ Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using e 阅读全文
posted @ 2015-01-13 12:58 NickyYe 阅读(153) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list/ Given a sorted linked list, delete all duplicates such that each element appear o 阅读全文
posted @ 2015-01-13 12:49 NickyYe 阅读(207) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/Say you have an array for which theithelement is the price of a given stock on day... 阅读全文
posted @ 2015-01-13 12:38 NickyYe 阅读(155) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock/ Say you have an array for which the ith element is the price of a given stock on day 阅读全文
posted @ 2015-01-13 12:32 NickyYe 阅读(199) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/two-sum/Given an array of integers, find two numbers such that they add up to a specific target number.The function t... 阅读全文
posted @ 2015-01-13 12:21 NickyYe 阅读(196) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/reverse-words-in-a-string/ Given an input string, reverse the string word by word. For example,Given s = "the sky is 阅读全文
posted @ 2015-01-13 12:17 NickyYe 阅读(143) 评论(0) 推荐(0) 编辑

摘要: https://oj.leetcode.com/problems/reverse-integer/ Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 解题思路: 对输入 阅读全文
posted @ 2015-01-13 11:17 NickyYe 阅读(155) 评论(0) 推荐(0) 编辑