Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions apps/site/src/data/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@
],
"difficulty": "easy"
},
{
"id": 104,
"slug": "maximum-depth-of-binary-tree",
"title": "Maximum Depth of Binary Tree",
"tags": [
"tree",
"depth-first-search",
"breadth-first-search",
"binary-tree"
],
"difficulty": "easy"
},
{
"id": 162,
"slug": "find-peak-element",
Expand Down Expand Up @@ -114,9 +126,9 @@
"difficulty": "easy"
}
],
"totalProblems": 11,
"totalProblems": 12,
"difficultyCounts": {
"easy": 6,
"easy": 7,
"medium": 4,
"hard": 1
},
Expand All @@ -131,6 +143,10 @@
"binary-search": 7,
"divide-and-conquer": 1,
"stack": 1,
"tree": 1,
"depth-first-search": 1,
"breadth-first-search": 1,
"binary-tree": 1,
"interactive": 2
}
}
6 changes: 3 additions & 3 deletions apps/site/src/data/problems/add-two-numbers.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
},
"passed": true,
"duration": 0.29337500000008276
"duration": 0.3307909999999765
},
{
"input": [
Expand All @@ -95,7 +95,7 @@
"next": null
},
"passed": true,
"duration": 0.02333299999997962
"duration": 0.02174999999999727
},
{
"input": [
Expand Down Expand Up @@ -187,7 +187,7 @@
}
},
"passed": true,
"duration": 0.019833999999946172
"duration": 0.02029099999998607
}
],
"totalTests": 3,
Expand Down
10 changes: 5 additions & 5 deletions apps/site/src/data/problems/binary-search.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"name": "Example 1",
"actual": 4,
"passed": true,
"duration": 0.04279199999996308
"duration": 0.0362920000000031
},
{
"input": [
Expand All @@ -51,7 +51,7 @@
"name": "Example 2",
"actual": -1,
"passed": true,
"duration": 0.003417000000013104
"duration": 0.0036670000000071923
},
{
"input": [
Expand All @@ -69,7 +69,7 @@
"name": "Example 3",
"actual": -1,
"passed": true,
"duration": 0.0036659999999528736
"duration": 0.003708000000017364
},
{
"input": [
Expand All @@ -87,7 +87,7 @@
"name": "Added negative number case",
"actual": 0,
"passed": true,
"duration": 0.006209000000012566
"duration": 0.0054580000000328255
},
{
"input": [
Expand All @@ -105,7 +105,7 @@
"name": "Added positive number case",
"actual": 5,
"passed": true,
"duration": 0.002375000000029104
"duration": 0.0024999999999977263
}
],
"totalTests": 5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
4
],
"passed": true,
"duration": 0.056500000000028194
"duration": 0.053124999999965894
},
{
"input": [
Expand All @@ -63,7 +63,7 @@
-1
],
"passed": true,
"duration": 0.0037919999999758147
"duration": 0.003917000000001281
},
{
"input": [
Expand All @@ -80,7 +80,7 @@
-1
],
"passed": true,
"duration": 0.0027499999999918145
"duration": 0.004958999999985281
},
{
"input": [
Expand Down Expand Up @@ -108,7 +108,7 @@
0
],
"passed": true,
"duration": 0.007000000000061846
"duration": 0.004041999999969903
},
{
"input": [
Expand Down Expand Up @@ -136,7 +136,7 @@
9
],
"passed": true,
"duration": 0.009041999999908512
"duration": 0.008874999999989086
},
{
"input": [
Expand All @@ -156,7 +156,7 @@
1
],
"passed": true,
"duration": 0.0024160000000392756
"duration": 0.002417000000036751
}
],
"totalTests": 6,
Expand Down
6 changes: 3 additions & 3 deletions apps/site/src/data/problems/find-peak-element.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"name": "Example 1",
"actual": 2,
"passed": true,
"duration": 0.053167000000030384
"duration": 0.04250000000001819
},
{
"input": [
Expand All @@ -48,7 +48,7 @@
"name": "Example 2",
"actual": 5,
"passed": true,
"duration": 0.003291999999987638
"duration": 0.004624999999975898
},
{
"input": [
Expand All @@ -61,7 +61,7 @@
"name": "Extended example 1",
"actual": 1,
"passed": true,
"duration": 0.0014999999999645297
"duration": 0.0016249999999899956
}
],
"totalTests": 3,
Expand Down
16 changes: 8 additions & 8 deletions apps/site/src/data/problems/first-bad-version.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"name": "Example 1",
"actual": 1,
"passed": true,
"duration": 0.07633299999997689
"duration": 0.06541600000002745
},
{
"input": [
Expand All @@ -37,7 +37,7 @@
"name": "Example 2",
"actual": 1,
"passed": true,
"duration": 0.004916999999977634
"duration": 0.004750000000001364
},
{
"input": [
Expand All @@ -48,7 +48,7 @@
"name": "Example 3",
"actual": 2,
"passed": true,
"duration": 0.0027090000000953296
"duration": 0.002708000000041011
},
{
"input": [
Expand All @@ -59,7 +59,7 @@
"name": "Example 4",
"actual": 1,
"passed": true,
"duration": 0.003125000000068212
"duration": 0.0036670000000071923
},
{
"input": [
Expand All @@ -70,7 +70,7 @@
"name": "Example 5",
"actual": 4,
"passed": true,
"duration": 0.00937500000009095
"duration": 0.007000000000005002
},
{
"input": [
Expand All @@ -81,7 +81,7 @@
"name": "Example 6",
"actual": 4,
"passed": true,
"duration": 0.003291999999987638
"duration": 0.002999999999985903
},
{
"input": [
Expand All @@ -92,7 +92,7 @@
"name": "Example 7",
"actual": 4,
"passed": true,
"duration": 0.0017910000000256332
"duration": 0.0018330000000332802
},
{
"input": [
Expand All @@ -103,7 +103,7 @@
"name": "Example 8",
"actual": 4,
"passed": true,
"duration": 0.0017500000000154614
"duration": 0.0017080000000078144
}
],
"totalTests": 8,
Expand Down
6 changes: 3 additions & 3 deletions apps/site/src/data/problems/guess-number-higher-or-lower.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"name": "Example 1",
"actual": 6,
"passed": true,
"duration": 0.06904099999997015
"duration": 0.08329099999997425
},
{
"input": [
Expand All @@ -37,7 +37,7 @@
"name": "Example 2",
"actual": 1,
"passed": true,
"duration": 0.004457999999999629
"duration": 0.0044999999999504325
},
{
"input": [
Expand All @@ -48,7 +48,7 @@
"name": "Example 3",
"actual": 1,
"passed": true,
"duration": 0.0025000000000545697
"duration": 0.0024579999999900792
}
],
"totalTests": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"name": "Example 1",
"actual": 3,
"passed": true,
"duration": 0.049250000000029104
"duration": 0.050957999999980075
},
{
"input": [
Expand All @@ -36,7 +36,7 @@
"name": "Example 2",
"actual": 1,
"passed": true,
"duration": 0.0030420000000503933
"duration": 0.0030409999999960746
},
{
"input": [
Expand All @@ -46,7 +46,7 @@
"name": "Example 3",
"actual": 3,
"passed": true,
"duration": 0.001958000000058746
"duration": 0.0020000000000095497
},
{
"input": [
Expand All @@ -56,7 +56,7 @@
"name": "Example 4",
"actual": 1,
"passed": true,
"duration": 0.00100000000009004
"duration": 0.001167000000009466
},
{
"input": [
Expand All @@ -66,7 +66,7 @@
"name": "Example 5",
"actual": 2,
"passed": true,
"duration": 0.00100000000009004
"duration": 0.0009590000000230248
},
{
"input": [
Expand All @@ -76,7 +76,7 @@
"name": "Example 6",
"actual": 2,
"passed": true,
"duration": 0.005667000000016742
"duration": 0.001167000000009466
},
{
"input": [
Expand All @@ -86,7 +86,7 @@
"name": "Example 7",
"actual": 3,
"passed": true,
"duration": 0.0012910000000374566
"duration": 0.0012920000000349319
},
{
"input": [
Expand All @@ -96,7 +96,7 @@
"name": "Example 8",
"actual": 3,
"passed": true,
"duration": 0.001209000000017113
"duration": 0.0012500000000272848
},
{
"input": [
Expand All @@ -116,7 +116,7 @@
"name": "Example 10",
"actual": 5,
"passed": true,
"duration": 0.0020419999999603533
"duration": 0.0020420000000171967
}
],
"totalTests": 10,
Expand Down
Loading