- 博客(4)
- 收藏
- 关注
原创 Array Q2 reverse null-terminated string
1.2 Implement a function void reversefchar* str) in Cor C++ which reverses a null-terminated string.The question is quite simply. Just reverse the string. But since this is a null-terminated str
2015-11-29 00:28:22
291
原创 Array Q4 replace space in place
1.4 Write a method to replace all spaces in a string with '%20'. You may assume that the string has sufficient space at the end of the string to hold the additional characters,and that you are given
2015-11-29 00:00:30
340
原创 Array Q3 check permutation
Maybe the word 'permutation' is unfamiliar to you. Actually, it means the lengths of the two strings are the same. So you don't need to nest any iteration. It is different from computing the substrin
2015-11-28 23:09:54
266
原创 Array Question 1 unique string
Array question 1:Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures.Because we are not allowed to use additional data
2015-11-23 01:26:14
277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人