Skip to content

Commit 055c2ec

Browse files
db/feat: Add some resources from AlgoMonster
1 parent dba38d7 commit 055c2ec

File tree

2 files changed

+59
-7
lines changed

2 files changed

+59
-7
lines changed

db/patterns.js

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export const patterns = {
2424
url: "https://dvpr.gitbook.io/coding-interview-patterns/2.-pattern-two-pointers/2.0-introduction",
2525
site: {},
2626
},
27+
{
28+
title: "Tech Interview Pattern | Two Pointers Introduction",
29+
url: "https://algo.monster/problems/two_pointers_intro",
30+
site: {},
31+
},
2732
],
2833
},
2934
FastAndSlowPointers: {
@@ -108,7 +113,13 @@ export const patterns = {
108113
},
109114
DynamicProgramming: {
110115
name: "Dynamic Programming",
111-
articles: [],
116+
articles: [
117+
{
118+
title: "Dynamic Programming Introduction and Patterns",
119+
url: "https://algo.monster/problems/dynamic_programming_intro",
120+
site: {},
121+
},
122+
],
112123
},
113124
CyclicSort: {
114125
name: "Cyclic Sort",
@@ -122,7 +133,13 @@ export const patterns = {
122133
},
123134
TopologicalSort: {
124135
name: "Topological Sort",
125-
articles: [],
136+
articles: [
137+
{
138+
title: "Topological Sort | Topological Order",
139+
url: "https://algo.monster/problems/topo_intro",
140+
site: {},
141+
},
142+
],
126143
},
127144
Matrices: {
128145
name: "Matrices",
@@ -134,11 +151,23 @@ export const patterns = {
134151
},
135152
Graphs: {
136153
name: "Graphs",
137-
articles: [],
154+
articles: [
155+
{
156+
title: "Graph Fundamentals",
157+
url: "https://algo.monster/problems/graph_intro",
158+
site: {},
159+
},
160+
],
138161
},
139162
TreeDepthFirstSearch: {
140163
name: "Tree Depth First Search",
141-
articles: [],
164+
articles: [
165+
{
166+
title: "DFS on Trees",
167+
url: "https://algo.monster/problems/dfs_on_trees_intro",
168+
site: {},
169+
},
170+
],
142171
},
143172
TreeBreadthFirstSearch: {
144173
name: "Tree Breadth First Search",
@@ -148,6 +177,11 @@ export const patterns = {
148177
url: "https://dvpr.gitbook.io/coding-interview-patterns/untitled/7.0-introduction",
149178
site: {},
150179
},
180+
{
181+
title: "Breadth First Search on Trees",
182+
url: "https://algo.monster/problems/bfs_intro",
183+
site: {},
184+
},
151185
],
152186
},
153187
Trie: {
@@ -164,15 +198,27 @@ export const patterns = {
164198
},
165199
UnionFind: {
166200
name: "Union Find",
167-
articles: [],
201+
articles: [
202+
{
203+
title: "Union Find | Disjoint Set Union Data Structure Introduction",
204+
url: "https://algo.monster/problems/dsu_intro",
205+
site: {},
206+
},
207+
],
168208
},
169209
CustomDataStructures: {
170210
name: "Custom Data Structures",
171211
articles: [],
172212
},
173213
BitwiseManipulation: {
174214
name: "Bitwise Manipulation",
175-
articles: [],
215+
articles: [
216+
{
217+
title: "Bitmask Introduction",
218+
url: "https://algo.monster/problems/bitmask_intro",
219+
site: {},
220+
},
221+
],
176222
},
177223
ChallengeYourself: {
178224
name: "Challenge Yourself",

db/problems.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3498,7 +3498,13 @@ export const problems = [
34983498
difficulty: Difficulty.MEDIUM,
34993499
patterns: [patterns.DynamicProgramming],
35003500
url: "https://www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/",
3501-
solutions: [],
3501+
solutions: [
3502+
{
3503+
title: "0-1 Knapsack",
3504+
site: {},
3505+
url: "https://algo.monster/problems/knapsack_intro",
3506+
},
3507+
],
35023508
companies: [],
35033509
tags: ["Dynamic Programming", "Greedy"],
35043510
},

0 commit comments

Comments
 (0)