https://oj.leetcode.com/problems/find-minimum-in-rotated-sorted-array/Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,...
分类:
其他好文 时间:
2015-02-02 00:37:13
阅读次数:
264
题目链接:http://www.spoj.com/problems/COT3/Alice and Bob are playing a game on a tree of n nodes.Each node is either black or white initially.They take tu...
分类:
其他好文 时间:
2015-02-01 23:19:06
阅读次数:
986
题目链接:http://www.spoj.com/problems/COT2/You are given a tree withNnodes.The tree nodes are numbered from1toN.Each node has an integer weight.We will as...
分类:
其他好文 时间:
2015-02-01 18:58:15
阅读次数:
170
题目链接:https://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/
题目:
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, l...
分类:
其他好文 时间:
2015-02-01 09:37:45
阅读次数:
155
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'32: Longest Valid Parentheseshttps://oj.leetcode.com/problems/longest-valid-parentheses/Gi...
分类:
编程语言 时间:
2015-02-01 01:52:20
阅读次数:
319
题目https://oj.leetcode.com/problems/unique-paths/A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The ro...
分类:
其他好文 时间:
2015-02-01 01:50:40
阅读次数:
214
https://oj.leetcode.com/problems/merge-two-sorted-lists/Merge two sorted linked lists and return it as a new list. The new list should be made by spli...
分类:
其他好文 时间:
2015-02-01 00:35:26
阅读次数:
147
https://oj.leetcode.com/problems/convert-sorted-array-to-binary-search-tree/Given an array where elements are sorted in ascending order, convert it to...
分类:
其他好文 时间:
2015-01-31 23:08:44
阅读次数:
196
https://oj.leetcode.com/problems/edit-distance/Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each o...
分类:
其他好文 时间:
2015-01-31 20:35:21
阅读次数:
203
Here are the 100 English words which many people have problems spelling!
分类:
其他好文 时间:
2015-01-31 15:56:16
阅读次数:
104