码迷,mamicode.com
首页 >  
搜索关键字:gate one    ( 28925个结果
Leetcode | Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:其他好文   时间:2014-05-16 21:15:37    阅读次数:454
不用js实现幻灯片功能
one two three four five six seven eight
分类:Web程序   时间:2014-05-16 20:49:04    阅读次数:340
Scala 学习笔记
class Rational(n: Int, d: Int) { require(d != 0) override def toString = n +"/"+ d}The require method takes one boolean parameter. If the passed val.....
分类:其他好文   时间:2014-05-16 09:01:12    阅读次数:272
LeetCode---Remove Nth Node From End of List
题目链接题意: 给出单链表头指针head和整数n, 要求删除链表的倒数第n个结点, 这里n保证是合法的输入.我的思路....其实我没大明白题目建议的one pass是什么意思, 可能就是遍历一遍链表的, 不过我还是秉着能A掉就万岁的心态...我还是首先记录了链表的长度, 然后删除第len - n +...
分类:其他好文   时间:2014-05-16 05:45:56    阅读次数:348
poj 1007 DNA Sorting
DNA Sorting Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 80359   Accepted: 32327 Description One measure of ``unsortedness'' in a sequence is the number of ...
分类:其他好文   时间:2014-05-13 23:34:18    阅读次数:303
Pat(Advanced Level)Practice--1018(Public Bike Management)
Pat1018代码 题目描述: There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to an...
分类:其他好文   时间:2014-05-13 23:27:04    阅读次数:582
Cement Plant Project
So far, 100 per cent of workers have voted to strike for 24 hours, 98 per cent voted to strike for 48 hours, and 98 per cent voted to strike for one w...
分类:其他好文   时间:2014-05-13 22:04:48    阅读次数:346
Best Time to Buy and Sell Stock
原题: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one and sell one share of th...
分类:其他好文   时间:2014-05-13 14:12:41    阅读次数:342
POJ 1379 模拟退火法
Run Away Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 5631   Accepted: 1728 Description One of the traps we will encounter in the Pyramid is located in the ...
分类:其他好文   时间:2014-05-13 07:53:49    阅读次数:362
Hydra介绍及使用
Number one of the biggest security holes are passwords, as every password security study shows. Hydra is a parallized login cracker which supports numerous protocols to attack. New modules are easy to...
分类:其他好文   时间:2014-05-13 06:11:08    阅读次数:379
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!