MAXString-without-repeating

所属分类:Leetcode/题库
开发工具:C++
文件大小:1KB
下载次数:0
上传日期:2016-11-07 13:20:26
上 传 者sh-1993
说明:  光宇游戏校招题目:简答题 求字符串内最长不重复的子串长度是多少,输入 "abcabcbb", 不重复子串最大为3,例如: "abc”或“bca”;输入 "bbbbb", 子字串为 "b", 长度为 1; 要求: 1. 使用测试驱动开发...
(Guangyu Game School Recruitment Question: Short answer question: To find the length of the longest non repeating substring within a string, enter "abcabcabb" and the maximum non repeating substring is 3, such as "abc" or "bca"; enter "bbbbb" and the substring is "b" and the length is 1; Requirements: 1 Use Test-driven development)

文件列表:
hash.cpp (893, 2016-11-07)

# MAXString-without-repeating 光宇游戏校招题目:简答题 求字符串内最长不重复的子串长度是多少,输入 "abcabcbb", 不重复子串最大为3, 例如: "abc”或“bca”;输入 "bbbbb", 子字串为 "b", 长度为 1; 要求: 1. 使用测试驱动开发进行开发,自己举例至少5个不同长度的字符串测试用例(测试用例字符串最大长度30000,最小为空字符串); 2. 代码使用GIT进行版本管理,每增加一个单元测试并通过单元测试后,请commit一次代码; 3. 在github.com 注册一个账号,并将最终结果进行提交到自己仓库中; 4. 将仓库地址放到答题栏中; 5. 请考虑测试用例的复杂度; 6. 要考虑程序运行效率(求解答案的算法时间) 如需上传文件请使用压缩包的形式,若附件过大,请使用QQ微云或百度云盘上传作品后,提交链接至答案处

近期下载者

相关文件


收藏者