《Cracking the coding interview》的一些题目解答方法,解答思路在代码中。 1.1 检查字符串中的字符是否唯一----uniquestring.cpp。 1.2 翻转字符串----reverse.c。 1.3 删除字符串中重复的字符,不能使用额外的缓存空间----duplicate.c。 1.4 判断两个字符串是否变位词,即相同字符,位置不同----anagrams.c。 1.5 将字符串中所有的空字符替换成%20-----spaceReplace.c.
-
Notifications
You must be signed in to change notification settings - Fork 0
zhiqli/Cracking-the-coding-interview
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
《Cracking the coding interview》的一些题目解答方法
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published