登录
|
注册
公司
标签
文章
搜索
字符串
热门公司
百度
微软
腾讯
华为
阿里巴巴
迅雷
热门职位
C语言工程师
研发工程师
测试工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
1380
给定字符串S,找出其中第一个出现一次的字符,要求时间复杂度O(N)。 ...
阅读题目
字符串
查找
问答题
经典指数
0
0
1350
用代码实现以下功能,一个超长字符串表示的十进制数,转化为十六进制的字符串。 ...
阅读题目
腾讯
字符串
问答题
经典指数
0
0
1343
Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given "Is PAT&TAP symmetric?", the longest symmetric sub-string is "s PAT&TAP s", hence you must output 11. 输入描述: Each input file contains one test case which gives a non-empty string of length no more than 1000. 输出描述: For each test case, simply print the maximum length in a line. 输入例子: Is PAT&TAP symmetric? 输出例子: 11 ...
阅读题目
动态规划
字符串
面试题
经典指数
1
0
1334
To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish 1 (one) from l (L in lowercase), or 0 (zero) from O (o in uppercase). One solution is to replace 1 (one) by @, 0 (zero) by %, l by L, and O by o. Now it is your job to write a program to check the accounts generated by the judge, and to help the juge modify the confusing passwords. 输入描述: Each input file contains ...
阅读题目
字符串
面试题
经典指数
1
0
1333
一个文本字符串由大小写字母,空格,',' '.'组成,求这个文本中完整句子的个数,一个完整的句子以'.'号结尾并至少包含一个字母(完整代码) ...
阅读题目
百度
字符串
问答题
经典指数
1
0
1313
编写反转字符串的程序,要求优化速度、优化空间。 ...
阅读题目
微软
字符串
问答题
经典指数
1
0
1311
Implement strStr(). Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack. ...
阅读题目
字符串
面试题
经典指数
1
0
1281
请实现一个函数用来找出字符流中第一个只出现一次的字符。例如,当从字符流中只读出前两个字符"go"时,第一个只出现一次的字符是"g"。当从该字符流中读出前六个字符“google"时,第一个只出现一次的字符是"l"。 输出描述: 如果当前字符流没有存在出现一次的字符,返回#字符。 ...
阅读题目
字符串
面试题
经典指数
1
0
1278
找出字符串中第一次出现一次的字符的算法。 ...
阅读题目
百度
字符串
问答题
经典指数
1
0
1242
拼音转数字 输入是一个只包含拼音的字符串,请输出对应的数字序列。 转换关系如下: 描述: 拼音 yi er san si wu liu qi ba jiu 阿拉伯数字 1 2 3 4 5 6 7 8 9 输入字符只包含小写字母,所有字符都可以正好匹配。 ...
阅读题目
字符串
华为
问答题
经典指数
<<
<
21
22
23
24
25
>
>>
242
题目数
1
贡献者
212
答案数
扫描后移动端查看
我也分享一个题目
相关标签
C语言工程师
百度
查找
复杂度
研发工程师
动态规划
微软
基础知识
腾讯
华为
同类标签
树
排序
数组
链表
复杂度
查找
栈
图
哈希
队列
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录