码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
解题报告 之 HDU5328 Problem Killer
You are a "Problem Killer", you want to solve many problems. Now you have problems, the -th problem's difficulty is represented by an integer (). For some strange reason, you must choose some integer and (), and solve the problems between the -th and...
分类:其他好文   时间:2015-08-27 15:23:47    阅读次数:193
LeetCode 3 Longest Substring Without Repeating Characters 区间,想法 难度:1
https://leetcode.com/problems/longest-substring-without-repeating-characters/思路:从某点结束所能取到的最早开头是到目前出现倒数第二次的字符的最末位置后一位如图:(S代表起点,T代表终点)abcabcab**S*T假设现在在...
分类:其他好文   时间:2015-08-27 13:11:45    阅读次数:153
LeetCode 2 Add Two Numbers 模拟,读题 难度:0
https://leetcode.com/problems/add-two-numbers/You are given two linked lists representing two non-negative numbers. The digits are stored in reverse o...
分类:其他好文   时间:2015-08-27 12:33:04    阅读次数:96
LeetCode:Add Digits - 非负整数各位相加
1、题目名称 Add Digits (非负整数各位相加) 2、题目地址 https://leetcode.com/problems/add-digits 3、题目内容 英文:Given a non-negative integer num, repeatedly add all its digits until the result ...
分类:其他好文   时间:2015-08-27 00:52:11    阅读次数:217
[LeedCode OJ]#46 Permutations
【 声明:版权所有,转载请标明出处,请勿用于商业用途。  联系信箱:libin493073668@sina.com】 题目链接:https://leetcode.com/problems/permutations/ 题意: 给定一个数组,要求返回其所有全排列的情况 思路: 对于一个特定排列我们有一个求下一个全排列的函数,那就是n...
分类:其他好文   时间:2015-08-26 18:03:16    阅读次数:126
[LeedCode OJ]#59 Spiral Matrix II
【 声明:版权所有,转载请标明出处,请勿用于商业用途。  联系信箱:libin493073668@sina.com】 题目链接:https://leetcode.com/problems/spiral-matrix-ii/ 题意: 给出一个n,返回一个n*n的螺旋矩阵 思路: 按照螺旋矩阵的特点,使用四个循环来模拟其行走的过程就...
分类:其他好文   时间:2015-08-26 17:54:36    阅读次数:156
LeetCode 177 Nth-Highest Salary mysql,取第n条数据,limit子句 难度:1
https://leetcode.com/problems/nth-highest-salary/ATTENTION:limit 子句只能接受int常量,不能接受运算式CREATE FUNCTION getNthHighestSalary(N INT) RETURNS INTBEGINSET N =...
分类:数据库   时间:2015-08-26 17:13:16    阅读次数:244
Solutions for common Android development problems with the Eclipse IDE- Tutorial
Table of Contents 1. Solving typical Android development problems1.1. Clean Project 1.2. android.content.ActivityNotFoundException 1.3. Problems with ...
分类:移动开发   时间:2015-08-26 17:09:41    阅读次数:173
LeedCode OJ]#171 Excel Sheet Column Number
【 声明:版权所有,转载请标明出处,请勿用于商业用途。  联系信箱:libin493073668@sina.com】 题目链接:https://leetcode.com/problems/excel-sheet-column-number/ 题意: 给定A~Z,分别代表1~26,AA-27,AB-28等等,现在给定一个由字母组成的字符串,要求将其转换为数字 思路...
分类:其他好文   时间:2015-08-26 14:02:22    阅读次数:128
LeetCode 175 Combine Two Tables mysql,left join 难度:0
https://leetcode.com/problems/combine-two-tables/Combine Two TablesTable: Person+-------------+---------+| Column Name | Type |+-------------+-----...
分类:数据库   时间:2015-08-26 08:17:26    阅读次数:232
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!