登录
|
注册
公司
标签
文章
搜索
字符串
热门公司
百度
微软
腾讯
华为
阿里巴巴
迅雷
热门职位
C语言工程师
研发工程师
测试工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
1317
编写反转字符串的程序,要求优化速度、优化空间。 ...
阅读题目
微软
字符串
问答题
经典指数
1
0
1314
Implement strStr(). Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack. ...
阅读题目
字符串
面试题
经典指数
1
0
1283
请实现一个函数用来找出字符流中第一个只出现一次的字符。例如,当从字符流中只读出前两个字符"go"时,第一个只出现一次的字符是"g"。当从该字符流中读出前六个字符“google"时,第一个只出现一次的字符是"l"。 输出描述: 如果当前字符流没有存在出现一次的字符,返回#字符。 ...
阅读题目
字符串
面试题
经典指数
1
0
1280
找出字符串中第一次出现一次的字符的算法。 ...
阅读题目
百度
字符串
问答题
经典指数
1
0
1246
拼音转数字 输入是一个只包含拼音的字符串,请输出对应的数字序列。 转换关系如下: 描述: 拼音 yi er san si wu liu qi ba jiu 阿拉伯数字 1 2 3 4 5 6 7 8 9 输入字符只包含小写字母,所有字符都可以正好匹配。 ...
阅读题目
字符串
华为
问答题
经典指数
1
0
1182
无中间变量,求字符串长度 int strlen(const char *str)。 ...
阅读题目
腾讯
字符串
问答题
经典指数
1
0
1151
将一个字符串转换成一个整数,要求不能使用字符串转换整数的库函数。 ...
阅读题目
字符串
面试题
经典指数
1
0
1144
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line:"PAHNAPLSIIGYIR" Write the code that will take a string and make this conversion given a number of rows: string convert(string text, int nRows); convert("PAYPALISHIRING", 3)should return"PAHNAPLSIIGYIR". ...
阅读题目
字符串
面试题
经典指数
1
0
1141
设计一个strmncmp函数,对比普通的strcmp,原则在于,当字符串中含有数字时,以数字大小为标准,对于其中只有一个字符串为数字的情况,仍然使用原来的原则,要求:请给出完整代码,在达到目标的情况下尽量搞笑,简洁。 ...
阅读题目
百度
字符串
问答题
经典指数
1
0
1135
The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1is read off as"one 1"or11. 11is read off as"two 1s"or21. 21is read off as"one 2, thenone 1"or1211. Given an integer n, generate the nth sequence. Note: The sequence of integers will be represented as a string. ...
阅读题目
字符串
面试题
经典指数
<<
<
15
16
17
18
19
20
>
>>
210
题目数
1
贡献者
212
答案数
扫描后移动端查看
我也分享一个题目
相关标签
C语言工程师
百度
查找
复杂度
研发工程师
动态规划
微软
基础知识
腾讯
华为
同类标签
树
排序
数组
链表
复杂度
查找
栈
图
哈希
队列
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录