码迷,mamicode.com
首页 >  
搜索关键字:implement strstr    ( 2381个结果
etcd:从应用场景到实现原理的全方位解读
http://www.infoq.com/cn/articles/etcd-interpretation-application-scenario-implement-principle https://linux.cn/article-4810-1.html#1_693...
分类:其他好文   时间:2015-08-15 20:11:58    阅读次数:562
Substrings - HDU 1238(最大共同子串)
题目大意:给你N个串,求出来他们的最大公共子串的长度(子串反过来也算他们的子串)。分析:很久以前就做过这道题,当时是用的strstr做的,不过相同的都是枚举了子串......还是很暴力,希望下次遇到类似的题目我已经掌握高效的方法了。==================================...
分类:其他好文   时间:2015-08-15 18:15:59    阅读次数:97
正则表达式匹配
leetcode:Regular Expression Matching Implement regular expression matching with support for ‘.’ and ‘*’. ‘.’ Matches any single character. ‘*’ Matches zero or more of the preceding element. The matc...
分类:其他好文   时间:2015-08-15 13:38:11    阅读次数:132
CC150-Array and string 1.2
problem:Implement a function void reverse(char *str) in C and C++ which reverse a null-terminated string.The solution:1. use another pointer end point...
分类:其他好文   时间:2015-08-15 06:42:04    阅读次数:147
CC150-Array and string 1.1
Promble:Implement an algorithm to determine if a string has all unique characters. What if you cannot use addtional data structure?My solution:1.ckeck...
分类:其他好文   时间:2015-08-15 01:29:27    阅读次数:106
So many interfaces!
http://stackoverflow.com/questions/4817369/why-does-does-it-really-listt-implement-all-these-interfaces-not-just-ilis作者针对上面的问题,专门写了一篇文章http://blogs.ms...
分类:其他好文   时间:2015-08-14 15:06:37    阅读次数:197
一个"2-SUM"问题
题目要求:Download the text filehere. (Right click and save link as).The goal of this problem is to implement a variant of the 2-SUM algorithm (covered in ...
分类:其他好文   时间:2015-08-14 11:22:36    阅读次数:222
LeetCode-Implement Queue using Stacks
Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front of queue.peek() -- Get the front element.empt...
分类:其他好文   时间:2015-08-13 22:28:14    阅读次数:99
LeetCode-Implement Stack using Queues
Implement the following operations of a stack using queues. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get the top element.empty() -- Return whet...
分类:其他好文   时间:2015-08-13 22:21:08    阅读次数:162
TypeError:'stepUp' called on an object that does not implement interface HTMLInputElement.
1、错误描述2、错误原因3、解决办法...
分类:Web程序   时间:2015-08-13 20:11:46    阅读次数:724
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!