码迷,mamicode.com
首页 >  
搜索关键字:scheduling repeating    ( 957个结果
Longest Substrings 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-09-03 01:52:10    阅读次数:287
Longest Substring Without Repeating Characters
Description:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeatin...
分类:其他好文   时间:2015-09-02 17:20:56    阅读次数:101
leetcode3 ongest Substring Without Repeating Characters
刚开始还尼玛各种优化,怕n*n的时间复杂度还通不过,再想能不能简化一下,最后发现暴力破解直接AC,我太高估它了...... 题意就是给你一个字符串,求出这个字符串的最长子串,但是这个子串是有规则的,就是不能有重复的字符,我是从第一个字符开始遍历到最后一个字符,因为最长的子串一定是以其中一个字符为开头,我逐个统计一遍最长子串就OK了,其实刚才我有想了一下,这个其实也不是n*n的时间复杂度,因为字符...
分类:其他好文   时间:2015-09-01 06:57:33    阅读次数:187
递推DP UVA 607 Scheduling Lectures
题目传送门题意:教授给学生上课,有n个主题,每个主题有ti时间,上课有两个限制:1.每个主题只能在一节课内讲完,不能分开在多节课;2. 必须按主题顺序讲,不能打乱。一节课L时间,如果提前下课了,按照时间多少,学生会有不满意度。问最少要几节课讲完主题,如果多种方案输出不满意度最小的分析:dp[i]表示...
分类:其他好文   时间:2015-08-31 21:06:08    阅读次数:107
UVA 607 二十二 Scheduling Lectures
Scheduling LecturesTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusPracticeUVA 607Appoint description:DescriptionYou are teach...
分类:其他好文   时间:2015-08-30 22:35:32    阅读次数:144
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 for "abcabcbb" is "abc", which the length is 3....
分类:其他好文   时间:2015-08-29 06:21:42    阅读次数:190
决策理论(Decision theory)&自动规划和调度(Automated planning and scheduling)(双语)
译的不好,还请见谅。。。 大部分内容来自wiki decision theory决策理论部分: Normative and descriptive decision theory 规范和描述性决策理论 规范或规范的决策理论关心的是确定最好的决定(在实践中,有些情况下,“最好”的不一定是最大,最优可能还包括值除了最大,但在特定或近似范围),假设一个理想的决策者充分了...
分类:其他好文   时间:2015-08-27 23:11:22    阅读次数:473
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][JavaScript]Longest Substring Without Repeating Characters
Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. For example, the ...
分类:编程语言   时间:2015-08-26 19:56:50    阅读次数:156
LeetCode-Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the...
分类:其他好文   时间:2015-08-25 20:59:06    阅读次数:112
957条   上一页 1 ... 57 58 59 60 61 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!