码迷,mamicode.com
首页 >  
搜索关键字:scheduling repeating    ( 957个结果
leetcode_3题——Longest Substring Without Repeating Characters(set,哈希表,两个指针)
Longest Substring Without Repeating CharactersTotal Accepted:62719Total Submissions:298285My SubmissionsQuestionSolutionGiven a string, find the lengt...
分类:其他好文   时间:2015-05-09 20:23:00    阅读次数:114
Fraction to Recurring Decimal
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeating, enclose the repeating part in parentheses.For exam...
分类:其他好文   时间:2015-05-07 20:32:14    阅读次数:162
Github上好的Android开源框架
1、volley项目地址 https://github.com/smanikandan14/Volley-demo(1) JSON,图像等的异步下载;(2) 网络请求的排序(scheduling)(3) 网络请求的优先级处理(4) 缓存(5) 多级别取消请求(6) 和Activity和生命周期的联动...
分类:移动开发   时间:2015-05-07 16:38:05    阅读次数:190
LeetCode (29) Fraction to Recurring Decimal
题目描述Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is repeating, enclose the repeating part in parentheses.For...
分类:其他好文   时间:2015-05-07 14:32:56    阅读次数:152
Longest Substring Without Repeating Characters
public class Solution { public int lengthOfLongestSubstring(String s) { int max = 0; if (s == null || s.length() == 0...
分类:其他好文   时间:2015-05-07 07:36:02    阅读次数:143
[LeetCode] Longest Substring Without Repeating Characters 最长无重复子串
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-05-06 06:53:51    阅读次数:135
LeetCode 3 Longest Substring Without Repeating Characters
Problem: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the lengt...
分类:其他好文   时间:2015-05-05 21:56:58    阅读次数:134
Oj练习42——T3 Longest Substring Without Repeating Characters
求一个字符串中不含重复字母的最大子串的长度。【思路】1.用临时tmp记录长度,遇到重复字母把tmp当前值赋给要返回的length,tmp归零比较tmp和length,当tmp>length时,更新length。2.每个字母向前遍历是否有重复字母,用哈希表。3.反复提交代码不能通过后看了题目tag,知...
分类:其他好文   时间:2015-05-05 19:15:55    阅读次数:156
CSU 1603 Scheduling the final examination(贪心)
1603: Scheduling the final examination Time Limit: 10 Sec  Memory Limit: 128 MB Submit: 58  Solved: 18 [Submit][Status][Web Board] Description For the most of the university students,what t...
分类:其他好文   时间:2015-05-05 08:53:31    阅读次数:126
UVa 202 Repeating Decimals【模拟】
题意:输入整数a和b,输出a/b的循环小数以及循环节的长度学习的这一篇http://blog.csdn.net/mobius_strip/article/details/39870555因为n%m的余数只可能是0到m-1中的一个,根据抽屉原理,当计算m+1次时至少存在一个余数相同发现看了题解理解起来...
分类:其他好文   时间:2015-05-04 21:58:39    阅读次数:125
957条   上一页 1 ... 66 67 68 69 70 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!