上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2017-07-14 15:34 王大咩的图书馆 阅读(772) 评论(0) 推荐(0) 编辑
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2017-07-14 10:49 王大咩的图书馆 阅读(324) 评论(0) 推荐(0) 编辑
摘要: There are N gas stations along a circular route, where the amount of gas at station i isgas[i]. You have a car with an unlimited gas tank and it costs 阅读全文
posted @ 2017-07-13 17:02 王大咩的图书馆 阅读(344) 评论(0) 推荐(0) 编辑
摘要: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Pan 阅读全文
posted @ 2017-07-13 16:01 王大咩的图书馆 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: " 阅读全文
posted @ 2017-07-13 11:08 王大咩的图书馆 阅读(2874) 评论(0) 推荐(0) 编辑
摘要: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文
posted @ 2017-07-13 10:18 王大咩的图书馆 阅读(291) 评论(0) 推荐(0) 编辑
摘要: MySQL安装出现“不是内部或外部命令,也不是可执行程序” 一、这是应该是环境变量出问题了,设置如下: 1)右击我的电脑选择“属性”,找到“高级系统设置” 2)在系统属性下,选择“高级”中的“环境变量” 3)在环境变量中的用户变量选择“Path”,单击编辑,将MySQL中bin的安装路径,粘贴到此处 阅读全文
posted @ 2017-07-12 22:25 王大咩的图书馆 阅读(84133) 评论(2) 推荐(1) 编辑
摘要: Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character'.'. You may assume that there will be 阅读全文
posted @ 2017-07-12 09:34 王大咩的图书馆 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled wit 阅读全文
posted @ 2017-07-11 19:31 王大咩的图书馆 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Given a set of candidate numbers ( C ) and a target number ( T ), find all unique combinations in C where the candidate numbers sums to T . The same r 阅读全文
posted @ 2017-07-11 15:58 王大咩的图书馆 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Given a collection of candidate numbers ( C ) and a target number ( T), find all unique combinations in C where the candidate numbers sums to T . Each 阅读全文
posted @ 2017-07-11 15:44 王大咩的图书馆 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 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 inserted in or 阅读全文
posted @ 2017-07-11 15:02 王大咩的图书馆 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 本博客是我在做题和看书遇到各种情况的总结。 参考了书,邓俊辉老师编写的《数据结构(C++语言版)(第3版)》,同时还有网友的总结(以下会给出相应的链接)。 一、查找等于目标元素的位置(若是多个,只要求找到即可) 这里关于右边界hi的取值值得注意的有几点: 1)在while循环外面的hi=n,说明是前 阅读全文
posted @ 2017-07-11 13:43 王大咩的图书馆 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 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 or 阅读全文
posted @ 2017-07-10 18:46 王大咩的图书馆 阅读(319) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac 阅读全文
posted @ 2017-07-09 21:04 王大咩的图书馆 阅读(286) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页