Skip to content

Commit 4e9dfa8

Browse files
committed
Include README example to pick by name
1 parent 674e0ee commit 4e9dfa8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
```sh
1212
# Required dependencies:
13-
#
13+
#
1414
# gcc
1515
# libssl-dev
1616
# libdbus-1-dev
@@ -62,6 +62,10 @@ editor = "emacs"
6262
leetcode pick 1
6363
```
6464

65+
```sh
66+
leetcode pick --name "Two Sum"
67+
```
68+
6569
```sh
6670
[1] Two Sum is on the run...
6771

@@ -187,13 +191,13 @@ import json;
187191

188192
def plan(sps, stags):
189193
##
190-
# `print` in python is supported,
191-
# if you want to know the data structures of these two args,
194+
# `print` in python is supported,
195+
# if you want to know the data structures of these two args,
192196
# just print them
193197
##
194198
problems = json.loads(sps)
195199
tags = json.loads(stags)
196-
200+
197201
ret = []
198202
tm = {}
199203
for tag in tags:

0 commit comments

Comments
 (0)