码迷,mamicode.com
首页 >  
搜索关键字:implement strstr    ( 2381个结果
Segment Tree Modify
For a Maximum Segment Tree, which each node has an extra value max to store the maximum value in this node's interval. Implement a modify function wit ...
分类:其他好文   时间:2016-07-09 07:02:42    阅读次数:210
leetcode - String to Integer (atoi) 字符串转整数
Implement atoi to convert a string to an integer. Carefully consider all possible input cases. If you want a challenge, please do not see below and as ...
分类:其他好文   时间:2016-07-07 18:56:10    阅读次数:161
Flink - FlinkKafkaConsumer08
先看 AbstractFetcher 这个可以理解就是,consumer中具体去kafka读数据的线程,一个fetcher可以同时读多个partitions的数据来看看 /** * Base class for all fetchers, which implement the connection... ...
分类:其他好文   时间:2016-07-06 21:32:24    阅读次数:445
[Leetcode]50. Pow(x, n)
Implement pow(x, n). ...
分类:其他好文   时间:2016-07-05 22:36:20    阅读次数:166
Implement Trie (Prefix Tree)
Implement a trie with insert, search, and startsWith methods. Note: You may assume that all inputs are consist of lowercase letters a-z. 终于进军trie树,tri ...
分类:其他好文   时间:2016-07-04 11:45:09    阅读次数:177
编写一个小Servlet程序
1、编写一个java类,此类继承HttpServlet 继承:右击鼠标,source-override/Implement Methods,选择 HttpServlet 2、重写doGet()和doPost()方法 //继承于HttpServletpublic class HelloServlet ...
分类:其他好文   时间:2016-07-02 20:13:55    阅读次数:172
Leetcode 50. Pow(x, n)
50. Pow(x, n) 50. Pow(x, n) Total Accepted: 96891 Total Submissions: 348858 Difficulty: Medium Implement pow(x, n). Implement pow(x, n). Implement pow ...
分类:其他好文   时间:2016-07-02 14:30:07    阅读次数:132
Leetcode 69. Sqrt(x)
69. Sqrt(x) 69. Sqrt(x) Total Accepted: 99997 Total Submissions: 388728 Difficulty: Medium Implement int sqrt(int x). Compute and return the square ro ...
分类:其他好文   时间:2016-07-02 11:48:32    阅读次数:115
LeetCode:Next Permutation
Next Permutation Total Accepted: 70533 Total Submissions: 261357 Difficulty: Medium Implement next permutation, which rearranges numbers into the lexicographically next great...
分类:其他好文   时间:2016-07-01 16:27:02    阅读次数:123
leetcode@ [146] LRU Cache (TreeMap)
https://leetcode.com/problems/lru-cache/ Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following op ...
分类:系统相关   时间:2016-07-01 01:18:19    阅读次数:191
2381条   上一页 1 ... 97 98 99 100 101 ... 239 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!