原文:Search for a Range leetcode java

题目: Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm s runtime complexity must be in the order of O log n . If the target is not found i ...

2014-07-21 08:31 0 3851 推荐指数:

查看详情

[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] Search for a Range

Given a sorted array of integers, find the starting and ending position of a given target value. Yo ...

Thu Nov 15 00:30:00 CST 2012 0 2971
Word Search leetcode java

题目: Given a 2D board and a word, find if the word exists in the grid. The word can be construct ...

Fri Aug 01 10:06:00 CST 2014 0 4767
Search a 2D Matrix leetcode java

题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the ...

Mon Jul 21 18:44:00 CST 2014 1 3941
Search in Rotated Sorted Array II leetcode java

题目: Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write ...

Tue Jul 22 08:40:00 CST 2014 0 3075
Unique Binary Search Trees leetcode java

题目: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total ...

Fri Aug 01 10:58:00 CST 2014 4 4717
Unique Binary Search Trees II leetcode java

题目: Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should ...

Fri Aug 01 11:47:00 CST 2014 0 5213
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM