Skip to content

Commit 31fb5ca

Browse files
add Leetcode 182,183,196
1 parent 6a9aaa0 commit 31fb5ca

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,15 @@ LeetCode
232232
|200|[Number of Islands](https://leetcode.com/problems/number-of-islands/)| |Medium|
233233
|199|[Binary Tree Right Side View](https://leetcode.com/problems/binary-tree-right-side-view/)| |Medium|
234234
|198|[House Robber](https://leetcode.com/problems/house-robber/)| |Easy|
235+
|196|[Delete Duplicate Emails](https://leetcode.com/problems/delete-duplicate-emails/)| [Mysql](./algorithms/deleteDuplicateEmails/Solution.sql) |Easy|
235236
|191|[Number of 1 Bits](https://leetcode.com/problems/number-of-1-bits/)| [java](./algorithms/numberof1bits/Solution.java) |Easy|
236237
|190|[Reverse Bits](https://leetcode.com/problems/reverse-bits/)| |Easy|
237238
|189|[Rotate Array](https://leetcode.com/problems/rotate-array/)| |Easy|
238239
|188|[Best Time to Buy and Sell Stock IV](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/)| |Hard|
239240
|187|[Repeated DNA Sequences](https://leetcode.com/problems/repeated-dna-sequences/)| |Medium|
240241
|186|[Reverse Words in a String II](https://leetcode.com/problems/reverse-words-in-a-string-ii/) ♥ | |Medium|
242+
|183|[Customers Who Never Order](https://leetcode.com/problems/customers-who-never-order/)| [Mysql](./algorithms/customersWhoNeverOrder/Solution.sql) |Easy|
243+
|182|[Duplicate Email](https://leetcode.com/problems/duplicate-emails/)| [Mysql](./algorithms/duplicateEmails/Solution.sql) |Easy|
241244
|179|[Largest Number](https://leetcode.com/problems/largest-number/) | |Medium|
242245
|175|[Combine Two Tables](https://leetcode.com/problems/combine-two-tables/)| [Mysql](./algorithms/combineTwoTable/Solution.sql) |Easy|
243246
|174|[Dungeon Game](https://leetcode.com/problems/dungeon-game/) | |Hard|
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Write your MySQL query statement below
2+
select A.Name as Customers
3+
from Customers A left join Orders B
4+
on A.Id = B.CustomerId
5+
where B.Id is null
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Write your MySQL query statement below
2+
DELETE p1 FROM Person p1, Person p2
3+
WHERE
4+
p1.Email = p2.Email AND p1.Id > p2.Id;
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Write your MySQL query statement below
2+
select Email
3+
from Person
4+
group by Email
5+
having count(Email) > 1;

0 commit comments

Comments
 (0)