![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
文章平均质量分 63
虫师_Brigit
这个作者很懒,什么都没留下…
展开
-
【Leetcode】Two Sum
[Question] Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to t原创 2014-05-05 09:03:13 · 622 阅读 · 0 评论 -
【Leetcode】String to Integer (atoi)
【Question】 Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the p原创 2014-05-05 09:06:41 · 793 阅读 · 0 评论 -
【Leetcode】3Sum
【Question】 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in原创 2014-05-05 16:43:49 · 729 阅读 · 1 评论 -
【Leetcode】Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all vali原创 2014-05-17 19:21:07 · 709 阅读 · 0 评论 -
【Leetcode】Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 这道题是我在腾讯实习生招聘一面的时候,面试官GG给我出的一道题目,现在看来真是一点都没有为难我,可是我实在原创 2014-05-17 21:14:58 · 757 阅读 · 0 评论