![240](https://cdn2.jianshu.io/assets/default_avatar/5-33d2da32c552b8be9a0548c7a4576607.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
scanf( )函数和gets( )函数都可用于输入字符串,但在功能上有区别。若想从键盘上输入字符串"hi hello",则应该使用gets函数...
题目一 有这样一道智力题:“某商店规定:三个空汽水瓶可以换一瓶汽水。小张手上有十个空汽水瓶,她最多可以换多少瓶汽水喝?”答案是5瓶,方法如下:先...
DescriptionGiven an array and a value, remove all instances of that valu...
DescriptionThere are two sorted arrays nums1 and nums2 of size m and n r...
DescriptionGiven an array of integers, return indices of the two numbers...
DescriptionGiven a string, find the length of the longest substring with...
DescriptionGiven a string and an integer k, you need to reverse the firs...
Description Write a function that takes a string as input and reverse on...
LeetCode-344. Reverse String DescriptionWrite a function that takes a st...