The count-and-say sequence is the sequence of integers with the first five terms as following:
5个月前 (10-19) 383℃ 0评论
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inse...
5个月前 (10-19) 450℃ 0评论
Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
实现 strStr() 函数。...
5个月前 (10-19) 414℃ 0评论
Given an array nums and a value val, remove all instances of that value in-place and return the new length.
Do not allocate extra space for ...
5个月前 (10-19) 396℃ 0评论