Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2977af8

Browse files
author
Shuo
authored
Merge pull request #282 from openset/develop
Add: README
2 parents 73c3e68 + 881711d commit 2977af8

File tree

2 files changed

+54
-2
lines changed

2 files changed

+54
-2
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
## 156. Binary Tree Upside Down
1+
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
2+
<!--+----------------------------------------------------------------------+-->
3+
<!--|@author Openset <openset.wang@gmail.com> |-->
4+
<!--|@link https://github.com/openset |-->
5+
<!--|@home https://github.com/openset/leetcode |-->
6+
<!--+----------------------------------------------------------------------+-->
27

8+
## 156. Binary Tree Upside Down (Medium)
9+
10+
11+
12+
### Related Topics
13+
[[Tree](https://github.com/openset/leetcode/tree/master/tag/tree/README.md)]
14+
15+
### Similar Questions
16+
1. [Reverse Linked List](https://github.com/openset/leetcode/tree/master/problems/reverse-linked-list) (Easy)
Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,40 @@
1-
## 584. Find Customer Referee
1+
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
2+
<!--+----------------------------------------------------------------------+-->
3+
<!--|@author Openset <openset.wang@gmail.com> |-->
4+
<!--|@link https://github.com/openset |-->
5+
<!--|@home https://github.com/openset/leetcode |-->
6+
<!--+----------------------------------------------------------------------+-->
27

8+
## 584. Find Customer Referee (Easy)
9+
10+
<p>Given a table <code>customer</code> holding customers information and the referee.</p>
11+
12+
<pre>
13+
+------+------+-----------+
14+
| id | name | referee_id|
15+
+------+------+-----------+
16+
| 1 | Will | NULL |
17+
| 2 | Jane | NULL |
18+
| 3 | Alex | 2 |
19+
| 4 | Bill | NULL |
20+
| 5 | Zack | 1 |
21+
| 6 | Mark | 2 |
22+
+------+------+-----------+
23+
</pre>
24+
25+
<p>Write a query to return the list of customers <b>NOT</b> referred by the person with id '2'.</p>
26+
27+
<p>For the sample data above, the result is:</p>
28+
<pre>
29+
+------+
30+
| name |
31+
+------+
32+
| Will |
33+
| Jane |
34+
| Bill |
35+
| Zack |
36+
+------+
37+
</pre>
38+
39+
### Hints
40+
1. Be careful of the NULL value

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /