码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
Find Minimum in Rotated Sorted Array
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
SPOJ COT3 Combat on a tree(Trie树、线段树的合并)
题目链接: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
SPOJ COT2 Count on a tree II(树上莫队)
题目链接: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
LeetCode-Binary Tree Level Order Traversal II
题目链接: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
[Leetcode][Python]32: Longest Valid Parentheses
# -*- 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
leetcode-Uniqe Paths
题目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
Merge Two Sorted Lists
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
Convert Sorted Array to Binary Search Tree
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
Edit Distance
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
TOP 100 MISSPELT/MISSPELLED WORDS IN ENGLISH
Here are the 100 English words which many people have problems spelling!
分类:其他好文   时间:2015-01-31 15:56:16    阅读次数:104
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!