原文:[leetcode]Search Insert Position @ Python

原题地址:https: oj.leetcode.com problems search insert position 题意: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were ...

2014-06-06 15:14 0 3380 推荐指数:

查看详情

[leetcode]Search for a Range @ Python

原题地址:https://oj.leetcode.com/problems/search-for-a-range/ 题意: Given a sorted array of integers, find the starting and ending position of a given ...

Sun Jun 08 18:42:00 CST 2014 0 2806
[leetcode]Word Search @ Python

原题地址:https://oj.leetcode.com/problems/word-search/ 题意: Given a 2D board and a word, find if the word exists in the grid. The word can ...

Thu Jun 05 18:23:00 CST 2014 0 5016
[leetcode]Insert Interval @ Python

原题地址:https://oj.leetcode.com/problems/insert-interval/ 题意: Given a set of non-overlapping intervals, insert a new interval into the intervals ...

Wed Jun 11 23:17:00 CST 2014 0 2715
[leetcode]Unique Binary Search Trees @ Python

原题地址:https://oj.leetcode.com/problems/unique-binary-search-trees/ 题意: Given n, how many structurally unique BST's (binary ...

Fri May 23 23:26:00 CST 2014 0 3290
[leetcode]Search a 2D Matrix @ Python

原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/ 题意: Write an efficient algorithm that searches for a value ...

Thu Jun 05 20:11:00 CST 2014 0 2503
[leetcode]Unique Binary Search Trees II @ Python

原题地址:https://oj.leetcode.com/problems/unique-binary-search-trees-ii/ 题意:接上一题,这题要求返回的是所有符合条件的二叉查找树,而上一题要求的是符合条件的二叉查找树的棵数,我们上一题提过,求个数一般思路是动态规划,而枚举的话 ...

Mon May 26 17:39:00 CST 2014 1 3773
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM