码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
LeetCode:H-Index、H-Index II - H指数
1、题目名称 H-Index(H指数) 2、题目地址 https://leetcode.com/problems/h-index/ 3、题目内容 英文:Given an array of citations (each citation is a non-negative integer) of a researcher, write a func...
分类:其他好文   时间:2015-09-11 00:13:43    阅读次数:195
[LeetCode]题解(python):007-Reverse Integer
题目来源:https://leetcode.com/problems/reverse-integer/题意分析: 这道题目很简单,就是将一个数反转,123变321,-123变321.题目思路: 这题目很简单,先把数字求绝对值x,然后x%10取最后一位,然后ans = ans*10 + x%10,加上...
分类:编程语言   时间:2015-09-10 19:15:40    阅读次数:140
[LeetCode]题解(python):006-ZigZag Conversion
题目来源:https://leetcode.com/problems/zigzag-conversion/题意分析: 这道题目是字符串处理的题目。输入一个字符串和一个数字,将字符串填入倒Z形输入字符串,然后按照列读取字符,得到一个新的字符,输出这个字符。例如:字符串"PAYPALISHIRING",...
分类:编程语言   时间:2015-09-10 19:08:53    阅读次数:189
Scrum & Agile-in-srm
A framework within which people can address complex adaptive problems, while productively and creatively delivering products of the highest possible v...
分类:其他好文   时间:2015-09-10 17:28:11    阅读次数:159
[LeetCode] Perfect Squares
Well, after seeing the similar problems, you may have known how to solve this problem. Yeah, just to construct larger numbers from smaller numbers by ...
分类:其他好文   时间:2015-09-10 00:16:07    阅读次数:169
[LeedCode OJ]#147 Insertion Sort List
【 声明:版权所有,转载请标明出处,请勿用于商业用途。  联系信箱:libin493073668@sina.com】 题目链接:https://leetcode.com/problems/insertion-sort-list/ 题意: 给定一个链表,要求使用插入排序返回一个排好序的链表 思路: 建立新的链表,按照插入排序的特点,每次循环新链表找到...
分类:其他好文   时间:2015-09-08 20:19:11    阅读次数:176
[LeedCode OJ]#86 Partition List
【 声明:版权所有,转载请标明出处,请勿用于商业用途。  联系信箱:libin493073668@sina.com】 题目链接:https://leetcode.com/problems/partition-list/ 题意: 给定一个链表和一个x,要求在不改变其在原本链表中相对位置的情况下,将小于x的结点放在新链表的左边,大于等于x的结点放在新链表的...
分类:其他好文   时间:2015-09-08 20:18:23    阅读次数:167
Caused by: java.lang.Error: Unresolved compilation problems:
1、错误描述org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.Error: Unresolved compilation problems: sql cannot be resolved sql cannot be reso...
分类:编程语言   时间:2015-09-08 18:39:02    阅读次数:347
[LeetCode]题解(python):005-Longest Palindromic Substring
题目来源:https://leetcode.com/problems/longest-palindromic-substring/题意分析: 这道题目是输入一段不超过1000的字符串,输出最长的回文子字符串,输入的字符串有一个唯一的最长回文子字符串(个人觉得这个没什么用,还限制了一些输入,比如长度为...
分类:编程语言   时间:2015-09-08 12:20:13    阅读次数:195
[LeedCode OJ]#160 Intersection of Two Linked Lists
【 声明:版权所有,转载请标明出处,请勿用于商业用途。  联系信箱:libin493073668@sina.com】 题目链接:https://leetcode.com/problems/intersection-of-two-linked-lists/ 题意: 给定两个链表,要求找出这两个链表的交点 思路: 我们可以设定两个指针,分别...
分类:其他好文   时间:2015-09-07 22:54:50    阅读次数:286
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!