码迷,mamicode.com
首页 >  
搜索关键字:scheduling repeating    ( 957个结果
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...
分类:其他好文   时间:2015-12-08 15:53:31    阅读次数:151
[string]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-12-07 20:30:10    阅读次数:183
动态规划-流水线调度(Assembly Line Scheduling, ALS)
流水线调度问题,直接上图:e为开始为进入流水线花费时间,a为station花费的时间,t为切换流水线花费时间,x为出流水线的时间,代码中用total[0][i]和total[1][i]分别表示第0条和第1条流水线到station i 所花费的最短时间代码(C语言写的心累):#include#incl...
分类:其他好文   时间:2015-11-30 00:42:07    阅读次数:462
protractor protractor.conf.js [launcher] Process exited with error code 1 undefined:1190
y@y:karma-t01$ protractor protractor.conf.js [launcher] Process exited with error code 1undefined:1190 vlog(2, () => this + ' scheduling notificati...
分类:Web程序   时间:2015-11-29 13:25:00    阅读次数:1103
[LeetCode]58. 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,...
分类:其他好文   时间:2015-11-05 18:26:16    阅读次数:145
zoj1183 Scheduling Lectures
这道题题意不想说了,跑了640ms,感觉水过去了,应该能通过单调队列优化,很长时间没碰已经不知道怎么写了,就说说现在的写法吧。 状态定义很关键:dp[i][j]把前j个topic放在前i堂课. 因为这道题中的topic不能跳,必须按顺序,那么我们可以用贪心先求出最少的课程数,凭感觉证明这个贪心的做法...
分类:其他好文   时间:2015-11-01 17:49:53    阅读次数:303
Longest Substring Without Repeating Characters
问题链接:https://leetcode.com/problems/longest-substring-without-repeating-characters/ Given a string, find the length of the longest substring without repeating characters. For example, the longe...
分类:其他好文   时间:2015-10-29 06:21:35    阅读次数:182
leetcode 3 Longest Substring Without Repeating Characters(滑动窗口)
用滑动窗口的思想来做。用一个unordered_map来查询之前的char有没有在现在的窗口中。class Solution {public: int lengthOfLongestSubstring(string s) { unordered_mapmp; int...
分类:其他好文   时间:2015-10-21 14:07:11    阅读次数:152
LeetCode-3
题目: 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 length ...
分类:其他好文   时间:2015-10-19 14:08:30    阅读次数:186
6个值得推荐的Android开源框架简介(转)
虽然我们在做app的时候并不一定用到框架,但是一些好框架的思想是非常有学习价值的1、volley项目地址 https://github.com/smanikandan14/Volley-demo(1) JSON,图像等的异步下载;(2) 网络请求的排序(scheduling)(3) 网络请求的优先级...
分类:移动开发   时间:2015-10-18 14:10:58    阅读次数:167
957条   上一页 1 ... 54 55 56 57 58 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!