登录
|
注册
公司
标签
文章
搜索
字符串
热门公司
百度
微软
腾讯
华为
阿里巴巴
迅雷
热门职位
C语言工程师
研发工程师
测试工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
1607
Base64是一种基于64个可打印字符来表示二进制数据的表示方法,它Base64规定每76个字符后需要加上一个回车换行。例如: TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlzIHNp 需要输出成 TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz IHNp 现在给你一串加密后的字符串,请你在每76个字符后面加上一个换行符。 输入描述: 输入有多组数据。每组数据占一行,由字母、数字等非空白符号组成的字符串,长度不超过50000。 输出描述: 对应每一组输入,输出相应的转换后的文本。每一组数据之后输出一个空行作为间隔。 输入例子: TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlzIHNIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmlt ...
阅读题目
字符串
面试题
经典指数
1
0
1519
If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 with simple chopping. Now given the number of significant digits on a machine and two float numbers, you are supposed to tell if they are treated equal in that machine. 输入描述: Each input file contains one test case which gives three numbers N, A and B, where N ( 输出描述: For each test case, print in a line "YES" if the two numbers are treated equal, and ...
阅读题目
基础知识
字符串
面试题
经典指数
1
0
1278
找出字符串中第一次出现一次的字符的算法。 ...
阅读题目
百度
字符串
问答题
经典指数
0
0
954
Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will be in lower-case. ...
阅读题目
字符串
面试题
经典指数
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
1905
字符串www.qq.com所有非空子串(两个子串如果内容相同则只算一个)个数是() 1024 1018 55 50 ...
阅读题目
腾讯
字符串
单选题
经典指数
1
0
3026
给定两个字符串,请编写程序,确定其中一个字符串的字符重新排列后,能否变成另一个字符串。这里规定大小写为不同字符,且考虑字符串重点空格。 给定一个string stringA和一个string stringB,请返回一个bool,代表两串是否重新排列后可相同。保证两串的长度都小于等于5000。 测试样例: "This is nowcoder","is This nowcoder" 返回:true "Here you are","Are you here" 返回:false ...
阅读题目
字符串
面试题
经典指数
1
0
4399
本题要求计算A/B,其中A是不超过1000位的正整数,B是1位正整数。你需要输出商数Q和余数R,使得A = B * Q + R成立。 输入描述: 输入在1行中依次给出A和B,中间以1空格分隔。 输出描述: 在1行中依次输出Q和R,中间以1空格分隔。 输入例子: 123456789050987654321 7 输出例子: 17636684150141093474 3 ...
阅读题目
字符串
面试题
经典指数
1
0
2048
字符串“abc,def,jpk”与字符串“jpk,def,abc”,字符串是用英文状态下逗号进行分割,如上例中,那么两个字符串是相等的,用代码实现符合上例中规则的两个字符串判断是否相等。 ...
阅读题目
百度
字符串
问答题
经典指数
1
0
2739
如果两个英文单词,组成它们的字符集合相同,而且相同字符出现的次数也相同,则称这两个词匹配:比如说:同”abbc”与词 ”babc”是匹配的。有一个词典,存储在字符串数组const char* dictionary[n]中,数组的每一个元素是一个词。对于任意给出的句子。句子中的单词使用空格分割。请实现以下函数,判断句子中是否有词和词典中的词匹配。 bool is_matching( const char* dictionary[],int n, const char* sentence); ...
阅读题目
C语言工程师
迅雷
2013
字符串
问答题
经典指数
<<
<
5
6
7
8
9
10
>
>>
242
题目数
1
贡献者
212
答案数
扫描后移动端查看
我也分享一个题目
相关标签
C语言工程师
百度
查找
复杂度
研发工程师
动态规划
微软
基础知识
腾讯
华为
同类标签
树
排序
数组
链表
复杂度
查找
栈
图
哈希
队列
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录