Skip to content

Commit dfc202c

Browse files
Sean PrashadSean Prashad
authored andcommitted
Correct typo and condense BFS/DFS pattern names
1 parent 4f52ddb commit dfc202c

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

web/src/data/index.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ export default [
981981
{
982982
name: 'Find K Closest Elements',
983983
url: 'https://leetcode.com/problems/find-k-closest-elements/',
984-
pattern: 'ModifiedBinary Search',
984+
pattern: 'Modified Binary Search',
985985
difficulty: 'Medium',
986986
companies: ['Uber'],
987987
},
@@ -1217,94 +1217,94 @@ export default [
12171217
{
12181218
name: 'Binary Tree Level Order Traversal II',
12191219
url: 'https://leetcode.com/problems/binary-tree-level-order-traversal-ii/',
1220-
pattern: 'Tree Breadth First Search',
1220+
pattern: 'BFS',
12211221
difficulty: 'Easy',
12221222
companies: ['Amazon'],
12231223
},
12241224
{
12251225
name: 'Average of Levels in Binary Tree',
12261226
url: 'https://leetcode.com/problems/average-of-levels-in-binary-tree/',
1227-
pattern: 'Tree Breadth First Search',
1227+
pattern: 'BFS',
12281228
difficulty: 'Easy',
12291229
companies: ['Facebook'],
12301230
},
12311231
{
12321232
name: 'Minimum Depth of Binary Tree',
12331233
url: 'https://leetcode.com/problems/minimum-depth-of-binary-tree/',
1234-
pattern: 'Tree Breadth First Search',
1234+
pattern: 'BFS',
12351235
difficulty: 'Easy',
12361236
companies: ['Facebook'],
12371237
},
12381238
{
12391239
name: 'Binary Tree Level Order Traversal',
12401240
url: 'https://leetcode.com/problems/binary-tree-level-order-traversal/',
1241-
pattern: 'Tree Breadth First Search',
1241+
pattern: 'BFS',
12421242
difficulty: 'Medium',
12431243
companies: ['Amazon', 'Facebook', 'Bloomberg', 'Microsoft', 'LinkedIn'],
12441244
},
12451245
{
12461246
name: 'Binary Tree Zigzag Level Order Traversal',
12471247
url:
12481248
'https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/',
1249-
pattern: 'Tree Breadth First Search',
1249+
pattern: 'BFS',
12501250
difficulty: 'Medium',
12511251
companies: ['Amazon', 'Microsoft', 'Bloomberg', 'Qualtrics', 'Facebook'],
12521252
},
12531253
{
12541254
name: 'Populating Next Right Pointers in Each Node',
12551255
url:
12561256
'https://leetcode.com/problems/populating-next-right-pointers-in-each-node/',
1257-
pattern: 'Tree Breadth First Search',
1257+
pattern: 'BFS',
12581258
difficulty: 'Medium',
12591259
companies: ['Amazon', 'Bloomberg', 'Microsoft', 'Oracle', 'Facebook'],
12601260
},
12611261
{
12621262
name: 'Populating Next Right Pointers in Each Node II',
12631263
url:
12641264
'https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/',
1265-
pattern: 'Tree Breadth First Search',
1265+
pattern: 'BFS',
12661266
difficulty: 'Medium',
12671267
companies: ['Microsoft', 'Bloomberg', 'Amazon'],
12681268
},
12691269
{
12701270
name: 'Binary Tree Right Side View',
12711271
url: 'https://leetcode.com/problems/binary-tree-right-side-view/',
1272-
pattern: 'Tree Breadth First Search',
1272+
pattern: 'BFS',
12731273
difficulty: 'Medium',
12741274
companies: ['Facebook', 'Amazon', 'Bloomberg', 'Microsoft'],
12751275
},
12761276
{
12771277
name: 'All Nodes Distance K in Binary Tree',
12781278
url: 'https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/',
1279-
pattern: 'Tree Breadth First Search',
1279+
pattern: 'BFS',
12801280
difficulty: 'Medium',
12811281
companies: ['Facebook', 'Amazon', 'Uber', 'Microsoft', 'Oracle'],
12821282
},
12831283
{
12841284
name: 'Boundary of Binary Tree',
12851285
url: 'https://leetcode.com/problems/boundary-of-binary-tree',
1286-
pattern: 'Tree Breadth First Search',
1286+
pattern: 'BFS',
12871287
difficulty: 'Medium',
12881288
companies: ['Amazon', 'Microsoft'],
12891289
},
12901290
{
12911291
name: 'Same Tree',
12921292
url: 'https://leetcode.com/problems/same-tree/',
1293-
pattern: 'Tree Depth First Search',
1293+
pattern: 'DFS',
12941294
difficulty: 'Easy',
12951295
companies: ['Amazon', 'Microsoft', 'Facebook', 'Bloomberg'],
12961296
},
12971297
{
12981298
name: 'Path Sum',
12991299
url: 'https://leetcode.com/problems/path-sum/',
1300-
pattern: 'Tree Depth First Search',
1300+
pattern: 'DFS',
13011301
difficulty: 'Easy',
13021302
companies: ['Facebook', 'Amazon'],
13031303
},
13041304
{
13051305
name: 'Diameter of Binary Tree',
13061306
url: 'https://leetcode.com/problems/diameter-of-binary-tree/',
1307-
pattern: 'Tree Depth First Search',
1307+
pattern: 'DFS',
13081308
difficulty: 'Easy',
13091309
companies: [
13101310
'Facebook',
@@ -1320,58 +1320,58 @@ export default [
13201320
{
13211321
name: 'Merge Two Binary Trees',
13221322
url: 'https://leetcode.com/problems/merge-two-binary-trees/',
1323-
pattern: 'Tree Depth First Search',
1323+
pattern: 'DFS',
13241324
difficulty: 'Easy',
13251325
companies: ['Adobe'],
13261326
},
13271327
{
13281328
name: 'Maximum Depth of Binary Tree',
13291329
url: 'https://leetcode.com/problems/maximum-depth-of-binary-tree/',
1330-
pattern: 'Tree Depth First Search',
1330+
pattern: 'DFS',
13311331
difficulty: 'Easy',
13321332
companies: ['Amazon', 'Microsoft', 'Facebook', 'Google', 'Bloomberg'],
13331333
},
13341334
{
13351335
name: 'Lowest Common Ancestor of a Binary Search Tree',
13361336
url:
13371337
'https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/',
1338-
pattern: 'Tree Depth First Search',
1338+
pattern: 'DFS',
13391339
difficulty: 'Easy',
13401340
companies: ['LinkedIn', 'Amazon', 'Microsoft'],
13411341
},
13421342
{
13431343
name: 'Subtree of Another Tree',
13441344
url: 'https://leetcode.com/problems/subtree-of-another-tree/',
1345-
pattern: 'Tree Depth First Search',
1345+
pattern: 'DFS',
13461346
difficulty: 'Easy',
13471347
companies: ['Amazon', 'Microsoft', 'Google'],
13481348
},
13491349
{
13501350
name: 'Invert Binary Tree',
13511351
url: 'https://leetcode.com/problems/invert-binary-tree/',
1352-
pattern: 'Tree Depth First Search',
1352+
pattern: 'DFS',
13531353
difficulty: 'Easy',
13541354
companies: ['Google', 'Amazon'],
13551355
},
13561356
{
13571357
name: 'Path Sum II',
13581358
url: 'https://leetcode.com/problems/path-sum-ii/',
1359-
pattern: 'Tree Depth First Search',
1359+
pattern: 'DFS',
13601360
difficulty: 'Medium',
13611361
companies: ['Quora', 'Amazon', 'Facebook', 'Google'],
13621362
},
13631363
{
13641364
name: 'Path Sum III',
13651365
url: 'https://leetcode.com/problems/path-sum-iii/',
1366-
pattern: 'Tree Depth First Search',
1366+
pattern: 'DFS',
13671367
difficulty: 'Medium',
13681368
companies: ['Quora', 'Amazon', 'Bloomberg'],
13691369
},
13701370
{
13711371
name: 'Lowest Common Ancestor of a Binary Tree',
13721372
url:
13731373
'https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/',
1374-
pattern: 'Tree Depth First Search',
1374+
pattern: 'DFS',
13751375
difficulty: 'Medium',
13761376
companies: [
13771377
'Amazon',
@@ -1388,22 +1388,22 @@ export default [
13881388
{
13891389
name: 'Maximum Binary Tree',
13901390
url: 'https://leetcode.com/problems/maximum-binary-tree/',
1391-
pattern: 'Tree Depth First Search',
1391+
pattern: 'DFS',
13921392
difficulty: 'Medium',
13931393
companies: ['Amazon'],
13941394
},
13951395
{
13961396
name: 'Maximum Width of Binary Tree',
13971397
url: 'https://leetcode.com/problems/maximum-width-of-binary-tree/',
1398-
pattern: 'Tree Depth First Search',
1398+
pattern: 'DFS',
13991399
difficulty: 'Medium',
14001400
companies: ['Google', 'Bloomberg', 'Amazon'],
14011401
},
14021402
{
14031403
name: 'Construct Binary Tree from Preorder and Inorder Traversal',
14041404
url:
14051405
'https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/',
1406-
pattern: 'Tree Depth First Search',
1406+
pattern: 'DFS',
14071407
difficulty: 'Medium',
14081408
companies: [
14091409
'Microsoft',
@@ -1417,7 +1417,7 @@ export default [
14171417
{
14181418
name: 'Validate Binary Search Tree',
14191419
url: 'https://leetcode.com/problems/validate-binary-search-tree/',
1420-
pattern: 'Tree Depth First Search',
1420+
pattern: 'DFS',
14211421
difficulty: 'Medium',
14221422
companies: [
14231423
'Facebook',
@@ -1434,21 +1434,21 @@ export default [
14341434
{
14351435
name: 'Kth Smallest Element in a BST',
14361436
url: 'https://leetcode.com/problems/kth-smallest-element-in-a-bst/',
1437-
pattern: 'Tree Depth First Search',
1437+
pattern: 'DFS',
14381438
difficulty: 'Medium',
14391439
companies: ['Facebook', 'Oracle', 'Amazon', 'Microsoft'],
14401440
},
14411441
{
14421442
name: 'Implement Trie (Prefix Tree)',
14431443
url: 'https://leetcode.com/problems/implement-trie-prefix-tree/',
1444-
pattern: 'Tree Depth First Search',
1444+
pattern: 'DFS',
14451445
difficulty: 'Medium',
14461446
companies: ['Amazon', 'Google', 'Facebook', 'Microsoft'],
14471447
},
14481448
{
14491449
name: 'Binary Tree Maximum Path Sum',
14501450
url: 'https://leetcode.com/problems/binary-tree-maximum-path-sum/',
1451-
pattern: 'Tree Depth First Search',
1451+
pattern: 'DFS',
14521452
difficulty: 'Hard',
14531453
companies: [
14541454
'Facebook',
@@ -1462,7 +1462,7 @@ export default [
14621462
{
14631463
name: 'Serialize and Deserialize Binary Tree',
14641464
url: 'https://leetcode.com/problems/serialize-and-deserialize-binary-tree/',
1465-
pattern: 'Tree Depth First Search',
1465+
pattern: 'DFS',
14661466
difficulty: 'Hard',
14671467
companies: [
14681468
'Facebook',
@@ -1479,7 +1479,7 @@ export default [
14791479
{
14801480
name: 'Word Search II',
14811481
url: 'https://leetcode.com/problems/word-search-ii/',
1482-
pattern: 'Tree Depth First Search',
1482+
pattern: 'DFS',
14831483
difficulty: 'Hard',
14841484
companies: [
14851485
'Amazon',

0 commit comments

Comments
 (0)