forked from clearloop/leetcode-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit d26cb4e
Support picking question via name (clearloop#109)
* Fix rebasing conflicts
* Include README example to pick by name
* Only return question ID when searching by name
* Clean up ID selecting code
* fix: use get_problem_id_from_name()
* fix: use mutable reference instead when filtering1 parent 24e611e commit d26cb4e
3 files changed
+51
-9
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
78 | 82 |
| |
79 | 83 |
| |
80 | 84 |
| |
|
Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 | + | ||
126 | + | ||
127 | + | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
137 | + | ||
125 | 138 |
| |
126 | 139 |
| |
127 | 140 |
| |
|
Lines changed: 34 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
50 | 58 |
| |
51 | 59 |
| |
52 | 60 |
| |
| |||
127 | 135 |
| |
128 | 136 |
| |
129 | 137 |
| |
130 | - | ||
131 | - | ||
132 | - | ||
133 | - | ||
134 | - | ||
135 | - | ||
136 | - | ||
137 | - | ||
138 | - | ||
138 | + | ||
139 | + | ||
140 | + | ||
141 | + | ||
142 | + | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | + | ||
149 | + | ||
150 | + | ||
151 | + | ||
152 | + | ||
153 | + | ||
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | ||
158 | + | ||
159 | + | ||
160 | + | ||
161 | + | ||
162 | + | ||
163 | + | ||
139 | 164 |
| |
140 | 165 |
| |
141 | 166 |
| |
|
0 commit comments