Skip to content

Commit 59fc3f9

Browse files
committed
minor fix
Signed-off-by: rajput-hemant <[email protected]>
1 parent 08257ba commit 59fc3f9

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

.dev/update_readmes.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def parse_json(url):
198198
query questionData($titleSlug: String!) {
199199
question(titleSlug: $titleSlug) {
200200
questionId
201+
questionFrontendId
201202
title
202203
content
203204
difficulty
@@ -228,7 +229,7 @@ def parse_json(url):
228229
)
229230
question: dict = res.json()["data"]["question"]
230231

231-
id = question["questionId"]
232+
id = question["questionFrontendId"]
232233
title = question["title"]
233234
content = question["content"]
234235
difficulty = question["difficulty"]

TOPICWISE.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
| **0888** | [Fair Candy Swap][888] | Array, Hash Table, Binary Search, Sorting | ![][easy] | |
5656
| **0944** | [Delete Columns to Make Sorted][944] | Array, String | ![][easy] | |
5757
| **0997** | [Find the Town Judge][997] | Array, Hash Table, Graph | ![][easy] | |
58-
| **1056** | [Capacity To Ship Packages Within D Days][1056] | Array, BS | ![][medium] | |
58+
| **1011** | [Capacity To Ship Packages Within D Days][1011] | Array, BS | ![][medium] | |
5959
| **1232** | [Check If It Is a Straight Line][1232] | Array, Math, Geometry | ![][easy] | |
6060
| **1480** | [Running Sum of 1d Array][1480] | Array, Prefix Sum | ![][easy] | |
6161
| **1491** | [Average Salary Excluding the Minimum and Maximum][1491] | Array, Sorting | ![][easy] | |
@@ -290,7 +290,7 @@
290290
| **0367** | [Valid Perfect Square][367] | Math, Binary Search | ![][easy] | |
291291
| **0540** | [Single Element in a Sorted Array][540] | Array, BS | ![][medium] | |
292292
| **0704** | [Binary Search][704] | Array, Binary Search | ![][easy] | |
293-
| **1056** | [Capacity To Ship Packages Within D Days][1056] | Array, BS | ![][medium] | |
293+
| **1011** | [Capacity To Ship Packages Within D Days][1011] | Array, BS | ![][medium] | |
294294
| **1498** | [Number of Subsequences That Satisfy the Given Sum Condition][1498] | Array, 2P, BS, Sorting | ![][medium] | |
295295
| **0888** | [Fair Candy Swap][888] | Array, Hash Table, Binary Search, Sorting | ![][easy] | |
296296

@@ -847,7 +847,6 @@
847847
[26]: ./src/0001-0100/026%20-%20Remove%20Duplicates%20from%20Sorted%20Array/
848848
[27]: ./src/0001-0100/027%20-%20Remove%20Element/
849849
[35]: ./src/0001-0100/035%20-%20Search%20Insert%20Position/
850-
[35]: ./src/0001-0100/035%20-%20Search%20Insert%20Position/
851850
[37]: ./src/0001-0100/037%20-%20Sudoku%20Solver/
852851
[51]: ./src/0001-0100/051%20-%20N-Queens/
853852
[53]: ./src/0001-0100/053%20-%20Maximum%20Subarray/
@@ -856,8 +855,6 @@
856855
[61]: ./src/0001-0100/061%20-%20Rotate%20List%20/
857856
[63]: ./src/0001-0100/063%20-%20Unique%20Paths%20II/
858857
[66]: ./src/0001-0100/066%20-%20Plus%20One/
859-
[66]: ./src/0001-0100/066%20-%20Plus%20One/
860-
[67]: ./src/0001-0100/067%20-%20Add%20Binary/
861858
[67]: ./src/0001-0100/067%20-%20Add%20Binary/
862859
[69]: ./src/0001-0100/069%20-%20Sqrt(x)/
863860
[70]: ./src/0001-0100/070%20-%20Climbing%20Stairs/
@@ -949,9 +946,8 @@
949946
[888]: ./src/0801-0900/888%20-%20Fair%20Candy%20Swap/
950947
[944]: ./src/0901-1000/944%20-%20Delete%20Columns%20to%20Make%20Sorted/
951948
[997]: ./src/0901-1000/997%20-%20Find%20the%20Town%20Judge/
952-
[997]: ./src/0901-1000/997%20-%20Find%20the%20Town%20Judge/
949+
[1011]: ./src/1001-1100/1011%20-%20Capacity%20To%20Ship%20Packages%20Within%20D%20Days/
953950
[1047]: ./src/1001-1100/1047%20-%20Remove%20All%20Adjacent%20Duplicates%20In%20String/
954-
[1056]: ./src/1001-1100/1011%20-%20Capacity%20To%20Ship%20Packages%20Within%20D%20Days/
955951
[1092]: ./src/1001-1100/1092%20-%20Shortest%20Common%20Supersequence/
956952
[1143]: ./src/1101-1200/1143%20-%20Longest%20Common%20Subsequence/
957953
[1232]: ./src/1201-1300/1232%20-%20Check%20If%20It%20Is%20a%20Straight%20Line/

src/README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@
121121
| **0888** | [Fair Candy Swap][888] | Array, Hash Table, Binary Search, Sorting | ![][easy] | |
122122
| **0944** | [Delete Columns to Make Sorted][944] | Array, String | ![][easy] | |
123123
| **0997** | [Find the Town Judge][997] | Array, Hash Table, Graph | ![][easy] | |
124+
| **1011** | [Capacity To Ship Packages Within D Days][1011] | Array, BS | ![][medium] | |
124125
| **1047** | [Remove All Adjacent Duplicates In String][1047] | String, Stack | ![][easy] | |
125-
| **1056** | [Capacity To Ship Packages Within D Days][1056] | Array, BS | ![][medium] | |
126126
| **1092** | [Shortest Common Supersequence][1092] | String, DP | ![][hard] | |
127127
| **1143** | [Longest Common Subsequence][1143] | String, DP | ![][medium] | |
128128
| **1232** | [Check If It Is a Straight Line][1232] | Array, Math, Geometry | ![][easy] | |
@@ -153,7 +153,6 @@
153153
[26]: ./0001-0100/026%20-%20Remove%20Duplicates%20from%20Sorted%20Array/
154154
[27]: ./0001-0100/027%20-%20Remove%20Element/
155155
[35]: ./0001-0100/035%20-%20Search%20Insert%20Position/
156-
[35]: ./0001-0100/035%20-%20Search%20Insert%20Position/
157156
[37]: ./0001-0100/037%20-%20Sudoku%20Solver/
158157
[51]: ./0001-0100/051%20-%20N-Queens/
159158
[53]: ./0001-0100/053%20-%20Maximum%20Subarray/
@@ -162,8 +161,6 @@
162161
[61]: ./0001-0100/061%20-%20Rotate%20List%20/
163162
[63]: ./0001-0100/063%20-%20Unique%20Paths%20II/
164163
[66]: ./0001-0100/066%20-%20Plus%20One/
165-
[66]: ./0001-0100/066%20-%20Plus%20One/
166-
[67]: ./0001-0100/067%20-%20Add%20Binary/
167164
[67]: ./0001-0100/067%20-%20Add%20Binary/
168165
[69]: ./0001-0100/069%20-%20Sqrt(x)/
169166
[70]: ./0001-0100/070%20-%20Climbing%20Stairs/
@@ -256,8 +253,8 @@
256253
[944]: ./0901-1000/944%20-%20Delete%20Columns%20to%20Make%20Sorted/
257254
[997]: ./0901-1000/997%20-%20Find%20the%20Town%20Judge/
258255
[997]: ./0901-1000/997%20-%20Find%20the%20Town%20Judge/
256+
[1011]: ./1001-1100/1011%20-%20Capacity%20To%20Ship%20Packages%20Within%20D%20Days/
259257
[1047]: ./1001-1100/1047%20-%20Remove%20All%20Adjacent%20Duplicates%20In%20String/
260-
[1056]: ./1001-1100/1011%20-%20Capacity%20To%20Ship%20Packages%20Within%20D%20Days/
261258
[1092]: ./1001-1100/1092%20-%20Shortest%20Common%20Supersequence/
262259
[1143]: ./1101-1200/1143%20-%20Longest%20Common%20Subsequence/
263260
[1232]: ./1201-1300/1232%20-%20Check%20If%20It%20Is%20a%20Straight%20Line/

0 commit comments

Comments
 (0)