码迷,mamicode.com
首页 >  
搜索关键字:implement strstr    ( 2381个结果
LeetCode 232:用栈实现队列 Implement Queue using Stacks
题目: 使用栈实现队列的下列操作: push(x) 将一个元素放入队列的尾部。 pop() 从队列首部移除元素。 peek() 返回队列首部的元素。 empty() 返回队列是否为空。 Implement the following operations of a queue using stack ...
分类:其他好文   时间:2019-08-10 12:24:46    阅读次数:110
[LeetCode] 208. Implement Trie (Prefix Tree)
Implement a trie with insert, search, and startsWith methods. Example: Note: You may assume that all inputs are consist of lowercase letters a-z. All ...
分类:其他好文   时间:2019-08-10 09:32:47    阅读次数:67
[LeetCode] 709. To Lower Case
Description Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Example 2: Example ...
分类:其他好文   时间:2019-08-05 15:55:39    阅读次数:82
COMP9021,
Assignment 2COMP9021, Trimester 2, 20191. General matter1.1. Aims. The purpose of the assignment is to: design and implement an interface based on the ...
分类:其他好文   时间:2019-08-01 20:01:41    阅读次数:82
(Easy) To Lower Case LeetCode
Description Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Input: "Hello" Outp ...
分类:其他好文   时间:2019-07-30 23:18:44    阅读次数:104
第15个算法-实现 Trie (前缀树)(LeetCode)
解法代码来源 :https://blog.csdn.net/whdAlive/article/details/81084793 算法来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/implement-trie-prefix-tree 实现一个 T ...
分类:编程语言   时间:2019-07-27 12:32:11    阅读次数:89
C 库函数 - strstr()
定义 参数 描述 该函数返回在 haystack 中第一次出现 needle 字符串的位置,如果未找到,则返回 null。 例子 输出 参考: https://www.runoob.com/cprogramming/c-function-strstr.html ...
分类:其他好文   时间:2019-07-20 23:35:07    阅读次数:111
8 String to Integer (atoi)
Implement atoi which converts a string to an integer. The function first discards as many whitespace characters as necessary until the first non white ...
分类:其他好文   时间:2019-07-16 08:24:55    阅读次数:85
2018 – 2019 年前端 JavaScript 面试题
JavaScript 基础问题 1.使以下代码正常运行: JavaScript 代码: const a = [1, 2, 3, 4, 5]; // Implement this a.multiply(); console.log(a); // [1, 2, 3, 4, 5, 1, 4, 9, 16, ...
分类:编程语言   时间:2019-07-12 15:47:38    阅读次数:202
《Java编程思想》学习01:普通类的初始化加载顺序分析
《Java编程思想》学习01:普通类的初始化加载顺序分析 本文根据控制变量法,分析普通类(没有extends,implement)初始化的加载顺序; 参考《Java编程思想》第五章 源码 StaticClass1类 StaticClass2类 StaticClass3类 StaticClass4类 ...
分类:编程语言   时间:2019-07-09 19:19:17    阅读次数:87
2381条   上一页 1 ... 20 21 22 23 24 ... 239 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!