登录
|
注册
公司
标签
文章
搜索
字符串
热门公司
百度
微软
腾讯
华为
阿里巴巴
迅雷
热门职位
C语言工程师
研发工程师
测试工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
2022
给定一个字符串,求出其最长的重复子串。 ...
阅读题目
腾讯
研发工程师
字符串
问答题
经典指数
1
0
1335
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
2623
长度为N(N很大)的字符串,求字符串中的最大回文字串 ...
阅读题目
百度
动态规划
字符串
复杂度
问答题
经典指数
1
0
1534
一个长度为10000的字符串,写一个算法,找出最长的重复子串,如abczzacbca,结果是bc。 ...
阅读题目
迅雷
字符串
问答题
经典指数
1
0
2385
下面获取一串字串str的md5码,哪项是错误的? perl –Mdigest :: MD5 -le "print Digest :: MD5 :: md5_hex('str')" $ python >>> import hashlib >>> m=hashlib. md5() >>> m. update ("str") >>> m. digest() echo 'str'|md5sum Ruby. rb require 'md5' puts MD5. hexdigest("str"'); ...
阅读题目
加密和安全
阿里巴巴
字符串
单选题
经典指数
1
0
1467
Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of beads. However the owner of the shop would only sell the strings in whole pieces. Hence Eva must check whether a string in the shop contains all the beads she needs. She now comes to you for help: if the answer is "Yes", please tell her the number of extra beads she has to buy; or if the answer is "No", please tell her the number of beads mi ...
阅读题目
哈希
字符串
面试题
经典指数
1
0
2101
中缀表达式(a+b)*c*(d-e/f) 转成后缀 1 ...
阅读题目
小米
字符串
填空题
经典指数
1
0
3619
请实现javascript中的indexOf功能,判断一个字符串a中是否包含另一个字符串b。 a)如果包含,需要返回匹配字符串b的位置 b)如果不包含,需要返回-1 例如 indexOf("hello","el") returns 1; ...
阅读题目
去哪儿
javascript
字符串
问答题
经典指数
1
0
1867
给定一个巨大的文本文件,写一个程序随机输出文件任意k行(k不大,k行能放入内存),要求每一行出现概率相等,请给出核心算法、算法复杂度以及简要的算法原理说明。 ...
阅读题目
字符串
复杂度
网易
问答题
经典指数
1
0
2020
统计一个英文文本中的句子数,文本中含有大小写字母、空格、点号(.)、逗号(,),一个句子的结尾必须是一个字母加点好。给出详细代码。 ...
阅读题目
百度
字符串
问答题
经典指数
<<
<
16
17
18
19
20
21
>
>>
210
题目数
1
贡献者
212
答案数
扫描后移动端查看
我也分享一个题目
相关标签
C语言工程师
百度
查找
复杂度
研发工程师
动态规划
微软
基础知识
腾讯
华为
同类标签
树
排序
数组
链表
复杂度
查找
栈
图
哈希
队列
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录