问题描述: Given a sorted array and a target value, return the index if the target is found....

问题描述: Given a sorted array and a target value, return the index if the target is found....
问题描述 Implement strStr(). Return the index of the first occurrence of needle in haystack...
问题描述: Given an array and a value, remove all instances of that value in-place and retur...
问题描述: Given a sorted array, remove the duplicates in-place such that each element appea...
问题描述: Merge two sorted linked lists and return it as a new list. The new list should be...
问题描述:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', det...
问题描述: Write a function to find the longest common prefix string amongst an array of str...
问题描述:Determine whether an integer is a palindrome. Do this without extra space. Some hi...
问题描述:Given a roman numeral, convert it to an integer. Input is guaranteed to be within ...
问题描述:Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123...
问题描述:Given an array S of n integers, are there elements a, b, c in S such that a + b + ...
刚看了别人的代码,发现原来字符串前后有空字符的这种情况完全可以一开始通过trim()函数进行一下处理,啊啊啊啊啊,笨死我了,亏我卡在这卡了这么久!!!! 好的,我记住你了,t...
第二题就挑了个难的。。。。题目描述如下:Implement atoi to convert a string to an integer. Hint: Carefully c...
第一次写东西记录刷题过程,希望能坚持下去~ 刷了第一题TwoSum,好长时间没接触Java了,都有些陌生了,Run code的时候还出了一些错误,但最后还是写出来了。 双重循...