LeetCode
文章平均质量分 69
坐椅待幣
这个作者很懒,什么都没留下…
展开
-
LeetCode笔记:389. Find the Difference
Question: Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at a random position. Find the letter that原创 2017-02-06 01:52:13 · 144 阅读 · 0 评论 -
LeetCode笔记:(MySQL) 182. Duplicate Emails
Write a SQL query to find all duplicate emails in a table named Person.原创 2017-08-10 19:33:30 · 279 阅读 · 0 评论 -
Leetcode笔记:(MySQL)181. Employees Earning More Than Their Managers
The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id.原创 2017-08-10 17:43:21 · 262 阅读 · 0 评论 -
LeetCode笔记:349. Intersection of Two Arrays
Question: Given two arrays, write a function to compute their intersection.原创 2016-12-20 23:24:59 · 174 阅读 · 0 评论 -
LeetCode笔记:125. Valid Palindrome
Question: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, “A man, a plan, a canal: Panama” is a palindrome. “race a c原创 2017-02-09 01:11:42 · 194 阅读 · 0 评论 -
LeetCode笔记:1. Two Sum
Question: (谷歌翻译) Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may n原创 2017-02-09 17:46:14 · 149 阅读 · 0 评论 -
LeetCode笔记:278. First Bad Version
Question: (谷歌翻译) You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is deve原创 2017-02-13 02:51:51 · 145 阅读 · 0 评论 -
LeetCode笔记:7. Reverse Integer
7.Reverse Integer原创 2017-06-03 00:49:39 · 286 阅读 · 0 评论 -
LeetCode笔记:183. Customers Who Never Order
Question: Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything.原创 2017-01-05 02:37:28 · 214 阅读 · 0 评论 -
LeetCode笔记:176. Second Highest Salary
176.Second Highest Salary原创 2017-08-09 10:19:17 · 416 阅读 · 0 评论 -
LeetCode笔记:(Java) 9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.原创 2017-09-14 21:04:25 · 199 阅读 · 0 评论