-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathseed.sql
More file actions
473 lines (470 loc) · 126 KB
/
Copy pathseed.sql
File metadata and controls
473 lines (470 loc) · 126 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
TRUNCATE TABLE public.problems CASCADE;
TRUNCATE TABLE public.patterns CASCADE;
TRUNCATE TABLE public.topics CASCADE;
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('95174132-3896-49ec-bbc7-a081843caf1a', 'Array', 'array', 1);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('16909de8-a8e8-47a6-83e8-83c6d4fabbd5', 'Strings', 'strings', 2);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('85ea4758-45f1-4eb5-83e5-afb37ea1dcae', 'Binary Search', 'binary-search', 3);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Stack', 'stack', 4);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('936dceec-d54b-4ec6-ba3d-29d46ef4a8fc', 'Recursion', 'recursion', 5);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('82ffdb1c-b3d8-44c1-a576-8d034667a85e', 'Linked List', 'linked-list', 6);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('56f568b5-3cb7-410a-b57f-88c7a63dca6c', 'Double Linked List', 'double-linked-list', 7);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('f46e1f6d-1bcd-4649-b8b3-75568eba0a64', 'HashMap', 'hashmap', 8);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('19171d62-32ab-4b6b-bef8-7555414832bb', 'Heap', 'heap', 9);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('a1c0abd3-ba3c-42fd-8cb2-af3145c86e67', 'Tree', 'tree', 10);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('b387182e-a2a3-4fed-8d5c-d8496daebdec', 'Binary Search Tree', 'binary-search-tree', 11);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'Graph', 'graph', 12);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('9fbbe114-e35f-4e11-87dc-8f27cbbb310e', 'Backtracking', 'backtracking', 13);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('08a06015-32b2-4886-b9c7-016a71e037e2', 'Greedy', 'greedy', 14);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('876dc768-f849-48a1-b939-9094a565c36b', 'Dynamic Programming', 'dynamic-programming', 15);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('e63c52c0-814a-495d-ad89-1032b88a6543', 'Trie', 'trie', 16);
INSERT INTO public.topics (id, name, slug, order_index) VALUES ('c9ae66c7-d410-4e3a-899b-755792374895', 'Bit Manipulation', 'bit-manipulation', 17);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('8c9805df-62b0-4802-b6ee-417e7ce1ebaa', '95174132-3896-49ec-bbc7-a081843caf1a', 'Two-Pointer', 'two-pointer', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('2ef63bc8-9995-4d04-8f57-efc086989eaa', '95174132-3896-49ec-bbc7-a081843caf1a', 'Sliding Window', 'sliding-window', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('6d7eaa0b-e57e-4af9-8d03-0d66005134aa', '95174132-3896-49ec-bbc7-a081843caf1a', 'Prefix Sum', 'prefix-sum', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('db15bc99-4b01-41e6-8123-1a8d960eab6f', '95174132-3896-49ec-bbc7-a081843caf1a', 'Kadane’s Algorithm', 'kadanes-algorithm', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('af159b8d-0530-45b6-8bec-5d1cb17fb2ec', '16909de8-a8e8-47a6-83e8-83c6d4fabbd5', 'Two-Pointer (Palindrome)', 'two-pointer-palindrome', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('bc3f1280-b1d4-49a7-bf90-cbab8b8507a9', '16909de8-a8e8-47a6-83e8-83c6d4fabbd5', 'Sliding Window (String)', 'sliding-window-string', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('f86de6df-ae98-4bc7-a4f4-bc3991e32e67', '85ea4758-45f1-4eb5-83e5-afb37ea1dcae', 'Classic Binary Search', 'classic-binary-search', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('6d8db593-ec60-4e61-a62e-b361e53bdbde', '85ea4758-45f1-4eb5-83e5-afb37ea1dcae', 'Lower / Upper Bound', 'lower-upper-bound', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('f1204e08-33d8-4286-997a-b38f629bf3e9', '85ea4758-45f1-4eb5-83e5-afb37ea1dcae', 'Binary Search on Answers', 'binary-search-on-answers', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('bbdef6e7-4759-4cc3-baa5-727006e7e9a5', '85ea4758-45f1-4eb5-83e5-afb37ea1dcae', 'Search in 2D Matrix', 'search-in-2d-matrix', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', '1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Monotonic Stack', 'monotonic-stack', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('4e11a9ad-aa80-471b-b846-3dd647a4ca06', '1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Expression Evaluation', 'expression-evaluation', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('f7ebc4bb-2470-42fe-a967-16c914beba75', '1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Stack Simulation / Undo Operation', 'stack-simulation-undo-operation', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('b25d337d-a5a1-4a5e-8981-a96e926872a3', '1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Parenthesis & Scoring', 'parenthesis-scoring', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('f4a9fc3e-7cf2-41d4-b55d-f6d3dfcf0fa6', '1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Stack-Based Design', 'stack-based-design', 5);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('f496e105-67e1-4856-a509-7b443836b549', '1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Stack + Greedy', 'stack-greedy', 6);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('5788d1f8-d73b-4100-9d95-5742b97c3a31', '1da2d229-af0b-4f7e-b04f-54b60dd6285c', 'Recursive Stack', 'recursive-stack', 7);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('fe7fcf51-d4a0-42f9-ab2b-ccff274112b4', '936dceec-d54b-4ec6-ba3d-29d46ef4a8fc', 'Linear Recursion', 'linear-recursion', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('ab026775-cdb8-4d17-b5f5-eea1555d4099', '936dceec-d54b-4ec6-ba3d-29d46ef4a8fc', 'Non-Linear Recursion', 'non-linear-recursion', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('035857c3-26f7-4fcf-b2b5-af58da5aedf0', '936dceec-d54b-4ec6-ba3d-29d46ef4a8fc', 'Divide & Conquer', 'divide-conquer', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('a92b8c68-4ee7-4843-8d79-6cdb481e499f', '936dceec-d54b-4ec6-ba3d-29d46ef4a8fc', 'Recursion on LinkedList/Stack', 'recursion-on-linkedliststack', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('8352b6ff-d205-4f1c-b1ca-756915f644dc', '936dceec-d54b-4ec6-ba3d-29d46ef4a8fc', 'Subsequences', 'subsequences', 5);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('54444e6e-c026-41bf-b246-58b2e7f99674', '82ffdb1c-b3d8-44c1-a576-8d034667a85e', 'Basic Operations', 'basic-operations', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('b86d6ddb-0e24-4d69-be78-23cc0cefa999', '82ffdb1c-b3d8-44c1-a576-8d034667a85e', 'Fast and Slow Pointers', 'fast-and-slow-pointers', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('0f65489f-31a1-451f-b800-1a5209d31905', '82ffdb1c-b3d8-44c1-a576-8d034667a85e', 'Reversal Pattern', 'reversal-pattern', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('df42e1a0-9e42-4117-9fe0-3e8eda13fa40', '82ffdb1c-b3d8-44c1-a576-8d034667a85e', 'Merge / Sort', 'merge-sort', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('bfce7a4d-fbaa-4557-8b24-357e3f16d67b', '82ffdb1c-b3d8-44c1-a576-8d034667a85e', 'Linked List + Stack', 'linked-list-stack', 5);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('687f90c9-874b-48f7-8f8f-8ad49222a802', '56f568b5-3cb7-410a-b57f-88c7a63dca6c', 'Basic DLL Operations', 'basic-dll-operations', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('fa197fab-dee1-4e96-92d4-a095b32ed515', '56f568b5-3cb7-410a-b57f-88c7a63dca6c', 'Merge / Sort / Reorder', 'merge-sort-reorder', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('732d39d1-cade-4f15-992b-9002f0794f15', 'f46e1f6d-1bcd-4649-b8b3-75568eba0a64', 'Frequency Map / Counting', 'frequency-map-counting', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('11a0b33c-d71e-42eb-a278-8eb81dafa2ae', 'f46e1f6d-1bcd-4649-b8b3-75568eba0a64', 'Prefix-Sum with Map', 'prefix-sum-with-map', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('8b39b1eb-645c-42c5-9f53-531fbb70db9f', 'f46e1f6d-1bcd-4649-b8b3-75568eba0a64', 'Sliding Window + HashMap', 'sliding-window-hashmap', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('d52c2b04-b9cb-4f8c-a4f3-564f11c0002c', '19171d62-32ab-4b6b-bef8-7555414832bb', 'Top-K Elements', 'top-k-elements', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('1083df5f-a265-4400-be0c-2bcd988dfcab', '19171d62-32ab-4b6b-bef8-7555414832bb', 'Merge K Sorted', 'merge-k-sorted', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('115bdf83-6035-4f8c-82f0-eaba50584d18', '19171d62-32ab-4b6b-bef8-7555414832bb', 'Heap with Sliding Window', 'heap-with-sliding-window', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('d1914c00-f3a1-4e2d-86da-ed528dc1324b', '19171d62-32ab-4b6b-bef8-7555414832bb', 'Implementation of Heap', 'implementation-of-heap', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('d4156f93-7cbc-46c5-bbd0-68c9a69979ef', '19171d62-32ab-4b6b-bef8-7555414832bb', 'Huffman pattern', 'huffman-pattern', 5);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('de31abc8-fab8-425a-9d6b-e13b7e726430', 'a1c0abd3-ba3c-42fd-8cb2-af3145c86e67', 'DFS Traversals', 'dfs-traversals', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('bd8d9b4d-f962-4d36-84ee-f93e789bb14b', 'a1c0abd3-ba3c-42fd-8cb2-af3145c86e67', 'BFS / Level-Order', 'bfs-level-order', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('d8ad9dad-e5aa-4fb4-b15e-91e2dc6c0b51', 'a1c0abd3-ba3c-42fd-8cb2-af3145c86e67', 'Lowest Common Ancestor', 'lowest-common-ancestor', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('c86ff08b-2cf3-4d30-be33-a4a016394dc2', 'a1c0abd3-ba3c-42fd-8cb2-af3145c86e67', 'Serialization / Construction', 'serialization-construction', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('2c90e41d-4e8b-422b-bf34-f82927a66e43', 'b387182e-a2a3-4fed-8d5c-d8496daebdec', 'BST Operations', 'bst-operations', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('3ec8f183-2f29-4813-afe7-02257823520c', 'b387182e-a2a3-4fed-8d5c-d8496daebdec', 'LCA & Range Queries', 'lca-range-queries', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('cbd32767-1a1e-4710-be5b-3ccd3fa193b7', 'b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'BFS (Unweighted Path)', 'bfs-unweighted-path', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'DFS (Connectivity)', 'dfs-connectivity', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'Topological Sort', 'topological-sort', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('2862a625-d851-4ec0-a9b8-a42904f3cc48', 'b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'MST / Union-Find', 'mst-union-find', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('2198334d-9ed8-4ead-a108-1914c2ccee11', 'b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'Dijkstra (Weighted)', 'dijkstra-weighted', 5);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('f66beab6-2db3-4464-a4a9-9dbb2878f45a', 'b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'Bellman-Ford', 'bellman-ford', 6);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('6e2198d2-2803-46b4-8fb7-9ebc46067513', 'b1b6333c-eb2f-4029-a571-d2b4aa2329a7', 'Floyd-Warshall', 'floyd-warshall', 7);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('c9db5238-7672-4d3d-bc90-52b3e7ff1e58', '9fbbe114-e35f-4e11-87dc-8f27cbbb310e', 'Choice-Based Backtracking', 'choice-based-backtracking', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('7753d9bc-5b70-462d-b102-858e787cc53e', '9fbbe114-e35f-4e11-87dc-8f27cbbb310e', 'Constraint-Based Backtracking', 'constraint-based-backtracking', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('3b0b635a-f442-4010-ab4f-a8e745ed81a2', '9fbbe114-e35f-4e11-87dc-8f27cbbb310e', 'Grid / Path Backtracking', 'grid-path-backtracking', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('4ea1af79-cf90-4249-93c1-2d24b0a8a532', '9fbbe114-e35f-4e11-87dc-8f27cbbb310e', 'Decision Tree / Sequence Generation', 'decision-tree-sequence-generation', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('ff92097a-95ab-432f-8fc6-0d437bc3db42', '08a06015-32b2-4886-b9c7-016a71e037e2', 'Intervals & Reach', 'intervals-reach', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('5a66f304-3fd0-425b-934b-4572bb7a865c', '08a06015-32b2-4886-b9c7-016a71e037e2', 'Sorting / Local Choice', 'sorting-local-choice', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('51e3e5c7-f6ec-4362-9ca2-01dfb425a62c', '876dc768-f849-48a1-b939-9094a565c36b', '1D / Linear DP', '1d-linear-dp', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('2fe50c62-1fef-4d37-976e-985e56557878', '876dc768-f849-48a1-b939-9094a565c36b', '2D / Grid DP', '2d-grid-dp', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('da63eeee-3198-4ca7-be07-13573321a5e5', '876dc768-f849-48a1-b939-9094a565c36b', 'DP on Strings', 'dp-on-strings', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('c8b8b83a-6fc9-4357-84a0-92efef2ad90c', '876dc768-f849-48a1-b939-9094a565c36b', 'DP on Intervals', 'dp-on-intervals', 4);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('6d68f810-c343-4f71-9cba-b3d3b7372852', '876dc768-f849-48a1-b939-9094a565c36b', 'DP on Trees / DAGs', 'dp-on-trees-dags', 5);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('09465cda-5e08-4ece-a632-74a6ebb746a2', '876dc768-f849-48a1-b939-9094a565c36b', 'Knapsack / Subset Sum', 'knapsack-subset-sum', 6);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('6ee34978-cade-4497-8ce9-f25312a4b01a', '876dc768-f849-48a1-b939-9094a565c36b', 'DP on Stocks', 'dp-on-stocks', 7);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('674384a4-8b90-4e8e-865b-4901f5fbbb75', 'e63c52c0-814a-495d-ad89-1032b88a6543', 'Basic Trie Operations', 'basic-trie-operations', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('9c34aeb4-f14d-47fd-9224-3cd28552e7f4', 'e63c52c0-814a-495d-ad89-1032b88a6543', 'Word Break / Segmentation', 'word-break-segmentation', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('27635b2a-3773-42bd-a6c0-f474a23402de', 'e63c52c0-814a-495d-ad89-1032b88a6543', 'Bitwise Trie / XOR', 'bitwise-trie-xor', 3);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('2c3fe3de-e715-4444-a204-14a5083d05d6', 'c9ae66c7-d410-4e3a-899b-755792374895', 'Basic Bit Operations', 'basic-bit-operations', 1);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('82f52168-a174-4490-971a-ab1cdb4772e6', 'c9ae66c7-d410-4e3a-899b-755792374895', 'Subsets / Bitmask', 'subsets-bitmask', 2);
INSERT INTO public.patterns (id, topic_id, name, slug, order_index) VALUES ('1504f2f0-ce78-4f0f-ae86-ff0db88a673f', 'c9ae66c7-d410-4e3a-899b-755792374895', 'Advanced XOR', 'advanced-xor', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c1438139-3d5d-4027-a36e-209e17cb5691', '8c9805df-62b0-4802-b6ee-417e7ce1ebaa', 'Move Zeroes', 'Easy', 'LeetCode', 'https://leetcode.com/problems/move-zeroes/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('40833c9d-f104-4351-b477-ce9c78c68185', '8c9805df-62b0-4802-b6ee-417e7ce1ebaa', 'Two Sum II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9cd12068-a46f-4bc9-adb6-b0c05a32d0dd', '8c9805df-62b0-4802-b6ee-417e7ce1ebaa', '3Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/3sum/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('145aa33b-c749-4030-9d9a-53c532f020a7', '8c9805df-62b0-4802-b6ee-417e7ce1ebaa', 'Sort Colors', 'Medium', 'LeetCode', 'https://leetcode.com/problems/sort-colors/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6d2850e1-6ff0-41ac-b3e7-4c334683f520', '8c9805df-62b0-4802-b6ee-417e7ce1ebaa', 'Container With Most Water', 'Medium', 'LeetCode', 'https://leetcode.com/problems/container-with-most-water/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d4eca738-df57-4c64-969d-710efee41d11', '8c9805df-62b0-4802-b6ee-417e7ce1ebaa', 'Trapping Rain Water', 'Hard', 'LeetCode', 'https://leetcode.com/problems/trapping-rain-water/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('cf48c53b-d861-4dd9-9245-d17b6d27fc0e', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Maximum Sum Subarray of Size K', 'Easy', 'LeetCode', 'https://leetcode.com/problems/maximum-sum-of-distinct-subarrays-with-length-k/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ec4f068f-0160-46ce-a4a2-08e38f6f8f37', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Max Consecutive Ones', 'Easy', 'LeetCode', 'https://leetcode.com/problems/max-consecutive-ones/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a5354987-2ee7-4109-86c1-4eba2559407b', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Max Consecutive Ones III', 'Medium', 'LeetCode', 'https://leetcode.com/problems/max-consecutive-ones-iii/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b735db05-6e2b-4a57-a27f-55627ca6af98', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Subarray Product Less Than K', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subarray-product-less-than-k/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9a8a05aa-ace1-43ef-9a7a-f2da9354dda5', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Fruits Into Baskets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/fruit-into-baskets/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d5d2621c-b7e9-4e43-a3bf-888c764b0e4c', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Minimum Size Subarray Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-size-subarray-sum/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('867fe66f-9842-457e-8cd6-11ce2ff11c6f', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Sliding Window Maximum', 'Hard', 'LeetCode', 'https://leetcode.com/problems/sliding-window-maximum/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('04d2bb51-a84e-4607-b0a1-c44c49dd1e81', '2ef63bc8-9995-4d04-8f57-efc086989eaa', 'Subarray with K Distinct Integers', 'Hard', 'LeetCode', 'https://leetcode.com/problems/subarrays-with-k-different-integers/description/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('99c07f41-0444-4687-b491-5771b8c3468b', '6d7eaa0b-e57e-4af9-8d03-0d66005134aa', 'Find Pivot Index', 'Easy', 'LeetCode', 'https://leetcode.com/problems/find-pivot-index/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ab0ea2ae-4bb3-42f1-bccc-2f20f8bc909c', '6d7eaa0b-e57e-4af9-8d03-0d66005134aa', 'Subarray Sum Equals K', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subarray-sum-equals-k/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6e84e794-38aa-46b3-bcab-0679d5c6b339', '6d7eaa0b-e57e-4af9-8d03-0d66005134aa', 'Matrix Block Sum / Running Sum 2D', 'Medium', 'LeetCode', 'https://leetcode.com/problems/matrix-block-sum/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d8480449-a557-4878-b8b8-6862426a215f', '6d7eaa0b-e57e-4af9-8d03-0d66005134aa', 'Product of Array Except Self', 'Medium', 'LeetCode', 'https://leetcode.com/problems/product-of-array-except-self/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6fbfa2f1-b782-4495-b371-4e8da94ad18d', '6d7eaa0b-e57e-4af9-8d03-0d66005134aa', 'Continuous Subarray Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/continuous-subarray-sum/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('40d698b2-b7e5-4fc6-a89b-ce4e7daaf16f', '6d7eaa0b-e57e-4af9-8d03-0d66005134aa', 'Subarray Sums Divisible by K', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subarray-sums-divisible-by-k/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('55149a8b-fa6a-4152-8ca4-8f9be0c7e895', 'db15bc99-4b01-41e6-8123-1a8d960eab6f', 'Maximum Subarray', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-subarray/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2b382d72-37b6-436d-9f12-10005c95ddcd', 'db15bc99-4b01-41e6-8123-1a8d960eab6f', 'Maximum Product Subarray', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-product-subarray/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('da748ca2-b942-44b1-afa6-db7169c031c0', 'db15bc99-4b01-41e6-8123-1a8d960eab6f', 'Maximum Sum Circular Subarray', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-sum-circular-subarray/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9a2aa751-f52a-42fa-bb9c-8d4ec410c503', 'db15bc99-4b01-41e6-8123-1a8d960eab6f', 'Maximum Absolute Sum of Any Subarray', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-absolute-sum-of-any-subarray/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('bf914c6d-fd36-4831-997a-1ea5f307770d', 'db15bc99-4b01-41e6-8123-1a8d960eab6f', 'Largest Sum Contiguous Subarray', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-subarray/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('866bfda0-0878-42f1-869d-cd207dec19ba', 'af159b8d-0530-45b6-8bec-5d1cb17fb2ec', 'Reverse a String', 'Easy', 'LeetCode', 'https://leetcode.com/problems/reverse-string/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('347b3625-1752-495d-85e2-8bd5feb4b9c1', 'af159b8d-0530-45b6-8bec-5d1cb17fb2ec', 'Valid Palindrome', 'Easy', 'LeetCode', 'https://leetcode.com/problems/valid-palindrome/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('39f82fcb-bc8b-46ee-a0e2-17efa659dd42', 'af159b8d-0530-45b6-8bec-5d1cb17fb2ec', 'Valid Palindrome II', 'Easy', 'LeetCode', 'https://leetcode.com/problems/valid-palindrome-ii/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9c007eb9-e328-4d26-a649-f29fce4f0470', 'af159b8d-0530-45b6-8bec-5d1cb17fb2ec', 'Longest Palindromic Substring', 'Medium', 'LeetCode', 'https://leetcode.com/problems/longest-palindromic-substring/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4d9b1243-fddd-4fa5-80b6-1ca401e57952', 'af159b8d-0530-45b6-8bec-5d1cb17fb2ec', 'Palindromic Substrings', 'Medium', 'LeetCode', 'https://leetcode.com/problems/palindromic-substrings/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('be83cc67-fadc-4a42-9e85-dace5cf0af1c', 'bc3f1280-b1d4-49a7-bf90-cbab8b8507a9', 'Find All Anagrams in a String', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-all-anagrams-in-a-string/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('bf39e830-b837-4fa3-a113-9403fc65fa40', 'bc3f1280-b1d4-49a7-bf90-cbab8b8507a9', 'Longest Substring Without Repeating Characters', 'Medium', 'LeetCode', 'https://leetcode.com/problems/longest-substring-without-repeating-characters/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5cf9e094-2f6c-4d51-a195-1951f32ae37a', 'bc3f1280-b1d4-49a7-bf90-cbab8b8507a9', 'Longest Substring with K Uniques', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/longest-k-unique-characters-substring0853/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('352dba84-6370-4827-ae27-8fb97c1dc35a', 'bc3f1280-b1d4-49a7-bf90-cbab8b8507a9', 'Permutation in String', 'Medium', 'LeetCode', 'https://leetcode.com/problems/permutation-in-string/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('73a6ce33-c3c2-4c25-b1be-dc0c77a54f17', 'bc3f1280-b1d4-49a7-bf90-cbab8b8507a9', 'Minimum Window Substring', 'Hard', 'LeetCode', 'https://leetcode.com/problems/minimum-window-substring/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ec7e2580-3e0f-4b7e-8e82-38c9b835c5cc', 'bc3f1280-b1d4-49a7-bf90-cbab8b8507a9', 'Substring with Concatenation of All Words', 'Hard', 'LeetCode', 'https://leetcode.com/problems/substring-with-concatenation-of-all-words/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('eaa5ae35-72fd-4bf2-9d88-f50f9873dbe9', 'f86de6df-ae98-4bc7-a4f4-bc3991e32e67', 'Binary Search', 'Easy', 'LeetCode', 'https://leetcode.com/problems/binary-search/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('59c4be9c-0610-4a0d-9a8a-7da2bd3d988c', 'f86de6df-ae98-4bc7-a4f4-bc3991e32e67', 'Sqrt(x)', 'Easy', 'LeetCode', 'https://leetcode.com/problems/sqrtx/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3bbee641-635e-4794-abf6-7186e380803a', 'f86de6df-ae98-4bc7-a4f4-bc3991e32e67', 'Search Insert Position', 'Easy', 'LeetCode', 'https://leetcode.com/problems/search-insert-position/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1ec58503-3ca0-4493-8951-3a43a73d00bb', 'f86de6df-ae98-4bc7-a4f4-bc3991e32e67', 'Search in Rotated Sorted Array', 'Medium', 'LeetCode', 'https://leetcode.com/problems/search-in-rotated-sorted-array/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('763a4d0e-6441-4f73-9c77-52f5fd8a5cd1', 'f86de6df-ae98-4bc7-a4f4-bc3991e32e67', 'Find Minimum in Rotated Sorted Array', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('68edf599-2e17-48ec-9ba4-43d6fa2ae4c8', 'f86de6df-ae98-4bc7-a4f4-bc3991e32e67', 'Find Peak Element', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-peak-element/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('688aea2c-2474-47c1-9c2f-565d4fe45008', '6d8db593-ec60-4e61-a62e-b361e53bdbde', 'Find Kth Rotation', 'Easy', 'LeetCode', 'https://leetcode.com/problems/rotate-array/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5d7dbc76-158e-4092-b552-237f7e77a57f', '6d8db593-ec60-4e61-a62e-b361e53bdbde', 'Count Occurrences', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/number-of-occurrence2259/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8aa3cb2b-0b4d-4de7-a7a1-fd6f6cf2c5d8', '6d8db593-ec60-4e61-a62e-b361e53bdbde', 'Ceiling in a Sorted Array', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/ceil-in-a-sorted-array/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a29cc3a2-5f5c-456d-8f34-f3ec3918cc69', '6d8db593-ec60-4e61-a62e-b361e53bdbde', 'Floor in a Sorted Array', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/floor-in-a-sorted-array-1587115620/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5e08419e-401a-448e-bfc1-e5e6375205f8', '6d8db593-ec60-4e61-a62e-b361e53bdbde', 'Find First and Last Position of Element', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4700c117-2889-4fa8-bedb-c682e2801242', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Koko Eating Bananas', 'Medium', 'LeetCode', 'https://leetcode.com/problems/koko-eating-bananas/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('90db10b6-a2ff-41e5-9b51-4552e99b65ec', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Capacity To Ship Packages Within D Days', 'Medium', 'LeetCode', 'https://leetcode.com/problems/capacity-to-ship-packages-within-d-days/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e6fe3984-2bf7-40f0-af28-a39dc26eb1b5', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Min Speed to Arrive on Time', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-speed-to-arrive-on-time/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('79abcaf3-06f8-41f6-983a-9b9c38d7651b', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Aggressive Cows', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/aggressive-cows/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('27a25e19-6684-4fc2-a0f1-f7c2fbb7eff0', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Min Number of Days to Make M Bouquets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-number-of-days-to-make-m-bouquets/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2f2258d3-4d0d-4819-b128-7620d8fa9834', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Magnetic Force Between Two Balls', 'Medium', 'LeetCode', 'https://leetcode.com/problems/magnetic-force-between-two-balls/description/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c4414f5f-b621-4fd9-b7a1-cad6c8b9d8b6', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Allocate Minimum Number of Pages', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/allocate-minimum-number-of-pages0937/1', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5fa7afe6-7de0-41d6-b4ec-2457f2b22fe8', 'f1204e08-33d8-4286-997a-b38f629bf3e9', 'Split Array Largest Sum', 'Hard', 'LeetCode', 'https://leetcode.com/problems/split-array-largest-sum/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('cd1b1467-a40b-4c39-8fda-8ce5eaa58e20', 'bbdef6e7-4759-4cc3-baa5-727006e7e9a5', 'Search a 2D Matrix', 'Medium', 'LeetCode', 'https://leetcode.com/problems/search-a-2d-matrix/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9983025a-5182-4535-b0ec-1be4d8317f5a', 'bbdef6e7-4759-4cc3-baa5-727006e7e9a5', 'Search a 2D Matrix II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/search-a-2d-matrix-ii/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ada46573-684e-4462-a970-e60fb5d28e0d', 'bbdef6e7-4759-4cc3-baa5-727006e7e9a5', 'Kth Smallest Element in Sorted Matrix', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/kth-element-in-matrix/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9bc05d95-22f3-4416-8762-42e93de08ed5', 'bbdef6e7-4759-4cc3-baa5-727006e7e9a5', 'Matrix Median', 'Hard', 'GFG', 'https://www.geeksforgeeks.org/problems/median-in-a-row-wise-sorted-matrix1527/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d628bd3e-e72c-434d-908b-ae7b9b4a04f9', 'c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', 'Next Greater Element I', 'Easy', 'LeetCode', 'https://leetcode.com/problems/next-greater-element-i/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4dfd7d2d-6134-4e01-8197-2ec41fb64707', 'c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', 'Next Greater Element II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/next-greater-element-ii/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9c2743b2-04ef-4d19-8aa6-7608bec324db', 'c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', 'Daily Temperatures', 'Medium', 'LeetCode', 'https://leetcode.com/problems/daily-temperatures/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f40a1c6f-20cf-49f4-9a77-043b14245edf', 'c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', 'Online Stock Span', 'Medium', 'LeetCode', 'https://leetcode.com/problems/online-stock-span/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('509708d3-b4eb-4d61-8413-f488eabb088a', 'c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', 'Asteroid Collision', 'Medium', 'LeetCode', 'https://leetcode.com/problems/asteroid-collision/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4b660568-1af6-4056-bd5b-daacd3ac90f8', 'c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', 'Largest Rectangle in Histogram', 'Hard', 'LeetCode', 'https://leetcode.com/problems/largest-rectangle-in-histogram/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c0378a13-2f40-4ec3-8b33-fe2a25f3d838', 'c28d21c2-564c-4b73-aaa3-8f6a4fcf641d', 'Maximal Rectangle', 'Hard', 'LeetCode', 'https://leetcode.com/problems/maximal-rectangle/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0e5317b3-cb51-45cc-8bf4-db86393b74c2', '4e11a9ad-aa80-471b-b846-3dd647a4ca06', 'Basic Calculator II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/basic-calculator-ii/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e01531ed-1838-4e52-8a4d-98a3c7bb9fc3', '4e11a9ad-aa80-471b-b846-3dd647a4ca06', 'Evaluate Reverse Polish Notation', 'Medium', 'LeetCode', 'https://leetcode.com/problems/evaluate-reverse-polish-notation/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8a279fe0-b768-4578-b4c7-7c59522d8527', '4e11a9ad-aa80-471b-b846-3dd647a4ca06', 'Decode String', 'Medium', 'LeetCode', 'https://leetcode.com/problems/decode-string/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c63b88f2-0879-4de3-9c77-fe91ff7d0d76', '4e11a9ad-aa80-471b-b846-3dd647a4ca06', 'Basic Calculator I', 'Hard', 'LeetCode', 'https://leetcode.com/problems/basic-calculator/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e4d7e511-8946-46ed-bae8-2bf298319b6f', 'f7ebc4bb-2470-42fe-a967-16c914beba75', 'Backspace String Compare', 'Easy', 'LeetCode', 'https://leetcode.com/problems/backspace-string-compare/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('574129ab-de1b-412f-86ee-85659a27f9cb', 'f7ebc4bb-2470-42fe-a967-16c914beba75', 'Remove All Adjacent Duplicates', 'Easy', 'LeetCode', 'https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6e8e51e8-6e8c-468c-a577-9097eb3040af', 'f7ebc4bb-2470-42fe-a967-16c914beba75', 'Make the String Great', 'Easy', 'LeetCode', 'https://leetcode.com/problems/make-the-string-great/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8e144f49-cf3e-4a79-af48-9c9197a5091f', 'f7ebc4bb-2470-42fe-a967-16c914beba75', 'Minimum String Length After Removing Substrings', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-string-length-after-removing-substrings/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('02f73a85-b879-4a05-833b-412983a9bff6', 'b25d337d-a5a1-4a5e-8981-a96e926872a3', 'Valid Parentheses', 'Easy', 'LeetCode', 'https://leetcode.com/problems/valid-parentheses/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b2469ab3-c432-4c45-ba13-733a797dc37f', 'b25d337d-a5a1-4a5e-8981-a96e926872a3', 'Minimum Add to Make Parentheses Valid', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-add-to-make-parentheses-valid/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d338810b-a0b8-4eb6-92d1-249031cba784', 'b25d337d-a5a1-4a5e-8981-a96e926872a3', 'Score of Parentheses', 'Medium', 'LeetCode', 'https://leetcode.com/problems/score-of-parentheses/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('81396045-c308-4052-a89e-bdeb70b6657c', 'b25d337d-a5a1-4a5e-8981-a96e926872a3', 'Longest Valid Parentheses', 'Hard', 'LeetCode', 'https://leetcode.com/problems/longest-valid-parentheses/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('eb56b011-5a86-4926-bd98-763d94591dac', 'f4a9fc3e-7cf2-41d4-b55d-f6d3dfcf0fa6', 'Implement Queue using Stacks', 'Easy', 'LeetCode', 'https://leetcode.com/problems/implement-queue-using-stacks/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('242f90e1-c20f-4d9d-b1bd-7f192a4a54d0', 'f4a9fc3e-7cf2-41d4-b55d-f6d3dfcf0fa6', 'Implement Stack using Queues', 'Easy', 'LeetCode', 'https://leetcode.com/problems/implement-stack-using-queues/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c53f0d18-9ad5-47a7-82fb-74ffe1f2ef71', 'f4a9fc3e-7cf2-41d4-b55d-f6d3dfcf0fa6', 'Min Stack', 'Medium', 'LeetCode', 'https://leetcode.com/problems/min-stack/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9d58e45f-b270-4a30-a434-e2e80ef5d472', 'f4a9fc3e-7cf2-41d4-b55d-f6d3dfcf0fa6', 'Max Stack', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/get-max-from-stack/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e749c2ea-e6ff-4241-a461-159f610e4a8b', 'f4a9fc3e-7cf2-41d4-b55d-f6d3dfcf0fa6', 'Design Stack with Increment Operation', 'Medium', 'LeetCode', 'https://leetcode.com/problems/design-a-stack-with-increment-operation/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('773c7578-6842-41f5-b3f7-d9637d9fe7b5', 'f496e105-67e1-4856-a509-7b443836b549', 'Remove K Digits', 'Medium', 'LeetCode', 'https://leetcode.com/problems/remove-k-digits/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('80a64b54-530a-4396-b90a-461cebe0a824', 'f496e105-67e1-4856-a509-7b443836b549', 'Remove Duplicate Letters', 'Medium', 'LeetCode', 'https://leetcode.com/problems/remove-duplicate-letters/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e814be72-6419-459d-b52b-d237b0e58182', 'f496e105-67e1-4856-a509-7b443836b549', 'Smallest Subsequence of Distinct Characters', 'Medium', 'LeetCode', 'https://leetcode.com/problems/smallest-subsequence-of-distinct-characters/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f9c7ded9-13b6-41b4-919d-fcc94006da44', 'f496e105-67e1-4856-a509-7b443836b549', 'Minimum Remove to Make Valid Parentheses', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('37cd6631-f169-47c4-92f2-f2e6ed72df97', 'f496e105-67e1-4856-a509-7b443836b549', 'Create Maximum Number', 'Hard', 'LeetCode', 'https://leetcode.com/problems/create-maximum-number/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('17508641-1630-4b7a-bd47-0bb1d217b67c', '5788d1f8-d73b-4100-9d95-5742b97c3a31', 'Delete Middle Element of Stack', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/delete-middle-element-of-a-stack/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f7723d3b-16b8-43d4-8d35-08f31c9594ca', '5788d1f8-d73b-4100-9d95-5742b97c3a31', 'Reverse a Stack (Recursive)', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/reverse-a-stack/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8dceb773-5c47-4948-b1f5-568ebf7baa2c', '5788d1f8-d73b-4100-9d95-5742b97c3a31', 'Insert at Bottom of Stack', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/insert-an-element-at-the-bottom-of-a-stack/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4f856929-36c7-4ad5-8195-c45638082478', 'fe7fcf51-d4a0-42f9-ab2b-ccff274112b4', 'Factorial of N', 'Easy', 'GFG', 'https://practice.geeksforgeeks.org/problems/factorial5739/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e5f1ce23-6281-460a-a04b-4f2917fd098e', 'fe7fcf51-d4a0-42f9-ab2b-ccff274112b4', 'Print 1 to N / N to 1', 'Easy', 'GFG', 'https://practice.geeksforgeeks.org/problems/print-1-to-n-without-using-loops3621/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ed3e6080-5a9a-4e19-86cb-e67dc3508299', 'fe7fcf51-d4a0-42f9-ab2b-ccff274112b4', 'Check Palindrome (Recursive)', 'Easy', 'GFG', 'https://practice.geeksforgeeks.org/problems/palindrome0746/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ff64b8cd-eff6-46a6-9e98-1cb319aefba6', 'fe7fcf51-d4a0-42f9-ab2b-ccff274112b4', 'Pow(x, n)', 'Medium', 'LeetCode', 'https://leetcode.com/problems/powx-n/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5ef7fefa-e580-4a52-b333-c59fcbebf474', 'ab026775-cdb8-4d17-b5f5-eea1555d4099', 'Fibonacci Number', 'Easy', 'LeetCode', 'https://leetcode.com/problems/fibonacci-number/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('22815965-5ca2-489f-85d4-68bb679234dc', 'ab026775-cdb8-4d17-b5f5-eea1555d4099', 'Climbing Stairs', 'Easy', 'LeetCode', 'https://leetcode.com/problems/climbing-stairs/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c7f709cc-c700-45c5-86b1-d14dae05e3e2', 'ab026775-cdb8-4d17-b5f5-eea1555d4099', 'Unique Paths', 'Medium', 'LeetCode', 'https://leetcode.com/problems/unique-paths/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('135f1b4c-2ea6-45eb-a7f1-1c093243ceea', 'ab026775-cdb8-4d17-b5f5-eea1555d4099', 'House Robber / Stickler Thief', 'Medium', 'LeetCode', 'https://leetcode.com/problems/house-robber/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2b3abac8-3b05-478e-ac71-f2445debd3cf', '035857c3-26f7-4fcf-b2b5-af58da5aedf0', 'Binary Search (Recursive)', 'Easy', 'LeetCode', 'https://leetcode.com/problems/binary-search/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c2d5d75c-d92f-4765-8a78-73547e34d4d5', '035857c3-26f7-4fcf-b2b5-af58da5aedf0', 'Merge Sort', 'Medium', 'GFG', 'https://practice.geeksforgeeks.org/problems/merge-sort/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('653993e0-16d2-429b-a97f-8e8263921fd4', '035857c3-26f7-4fcf-b2b5-af58da5aedf0', 'Quick Sort', 'Medium', 'GFG', 'https://practice.geeksforgeeks.org/problems/quick-sort/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('fb9eb227-bddc-4f79-a4de-f72600a657c6', '035857c3-26f7-4fcf-b2b5-af58da5aedf0', 'Power (x^n)', 'Medium', 'LeetCode', 'https://leetcode.com/problems/powx-n/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7f96c5b8-80f2-4ec0-b4d0-8973aa9b05e4', '035857c3-26f7-4fcf-b2b5-af58da5aedf0', 'Median of Two Sorted Arrays', 'Hard', 'LeetCode', 'https://leetcode.com/problems/median-of-two-sorted-arrays/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d2134a79-ea36-48b2-95c9-3b600a0d644f', 'a92b8c68-4ee7-4843-8d79-6cdb481e499f', 'Reverse Linked List', 'Easy', 'LeetCode', 'https://leetcode.com/problems/reverse-linked-list/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0df3a0af-37a3-43ed-be6e-8c9c79291de4', 'a92b8c68-4ee7-4843-8d79-6cdb481e499f', 'Merge 2 Sorted Lists', 'Easy', 'LeetCode', 'https://leetcode.com/problems/merge-two-sorted-lists/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('97915f98-0934-4593-a7b6-5e9d9a8187a9', 'a92b8c68-4ee7-4843-8d79-6cdb481e499f', 'Delete Middle of Stack', 'Easy', 'GFG', 'https://practice.geeksforgeeks.org/problems/delete-middle-element-of-a-stack/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('80295557-a213-4b3a-8d7a-4b75de852362', 'a92b8c68-4ee7-4843-8d79-6cdb481e499f', 'Reverse Stack', 'Medium', 'GFG', 'https://practice.geeksforgeeks.org/problems/reverse-a-stack/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9d1b5995-918e-49bf-b75e-8f0af8681578', '8352b6ff-d205-4f1c-b1ca-756915f644dc', 'Generate All Subsets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subsets/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('aafb7635-eda2-479e-821d-564ca6aec42c', '8352b6ff-d205-4f1c-b1ca-756915f644dc', 'Subset Sum', 'Medium', 'GFG', 'https://practice.geeksforgeeks.org/problems/subset-sum-problem2014/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('94ebc37f-e415-40e9-a79e-ae0b66e04f88', '8352b6ff-d205-4f1c-b1ca-756915f644dc', 'Count Subsequences with Given Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/target-sum/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3248e1e3-1c59-40a0-b3b7-c2f728713b6a', '54444e6e-c026-41bf-b246-58b2e7f99674', 'Search in Linked List', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/search-in-linked-list-1664434326/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('860efa14-4bbd-4f72-80f3-a1eba61ec899', '54444e6e-c026-41bf-b246-58b2e7f99674', 'Insert at Head / Tail / Nth Position', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/linked-list-insertion-1587115620/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f4023197-4941-47fb-bb63-ec655fe1ab3f', '54444e6e-c026-41bf-b246-58b2e7f99674', 'Delete Head / Tail / Nth Node', 'Easy', 'LeetCode', 'https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a740bc94-a4a8-4fa4-9dd8-3889f6d8f8b0', '54444e6e-c026-41bf-b246-58b2e7f99674', 'Design Linked List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/design-linked-list/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a4dc4936-bfa4-40df-9164-4c419c68aa97', '54444e6e-c026-41bf-b246-58b2e7f99674', 'Odd–Even Linked List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/odd-even-linked-list/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('98b9fc4c-1bd6-4638-be43-4b957a35593e', 'b86d6ddb-0e24-4d69-be78-23cc0cefa999', 'Middle of the Linked List', 'Easy', 'LeetCode', 'https://leetcode.com/problems/middle-of-the-linked-list/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('53fdca86-c8b7-4d75-aedd-dd656f447b2b', 'b86d6ddb-0e24-4d69-be78-23cc0cefa999', 'Linked List Cycle', 'Easy', 'LeetCode', 'https://leetcode.com/problems/linked-list-cycle/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('78ed29df-5a47-40ae-8dea-7645647ad051', 'b86d6ddb-0e24-4d69-be78-23cc0cefa999', 'Linked List Cycle II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/linked-list-cycle-ii/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f285d02a-44bc-4ee4-aa41-540119cd166d', 'b86d6ddb-0e24-4d69-be78-23cc0cefa999', 'Remove Nth Node From End', 'Medium', 'LeetCode', 'https://leetcode.com/problems/remove-nth-node-from-end-of-list/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('063c5fe2-83f3-4c82-9b4c-5dce9e43b9fa', '0f65489f-31a1-451f-b800-1a5209d31905', 'Reverse a Linked List', 'Easy', 'LeetCode', 'https://leetcode.com/problems/reverse-linked-list/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d7ff1881-da45-43f9-9d5a-aec04852c4ae', '0f65489f-31a1-451f-b800-1a5209d31905', 'Palindrome Linked List', 'Easy', 'LeetCode', 'https://leetcode.com/problems/palindrome-linked-list/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b0ac815c-09d4-4042-aef4-9c3a67dde280', '0f65489f-31a1-451f-b800-1a5209d31905', 'Reverse Linked List II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/reverse-linked-list-ii/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1287e12e-1ef0-44fd-9759-abe157c618ef', '0f65489f-31a1-451f-b800-1a5209d31905', 'Swap Nodes in Pairs', 'Medium', 'LeetCode', 'https://leetcode.com/problems/swap-nodes-in-pairs/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('31107805-ceaa-44d7-b014-4f50291ee3ae', '0f65489f-31a1-451f-b800-1a5209d31905', 'Rotate List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/rotate-list/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1ce12c44-2020-4ad3-aa68-a27ada0a083c', '0f65489f-31a1-451f-b800-1a5209d31905', 'Reverse Nodes in k-Group', 'Hard', 'LeetCode', 'https://leetcode.com/problems/reverse-nodes-in-k-group/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1add1ec5-2a84-480c-9119-a93354e72b7a', 'df42e1a0-9e42-4117-9fe0-3e8eda13fa40', 'Merge Two Sorted Lists', 'Easy', 'LeetCode', 'https://leetcode.com/problems/merge-two-sorted-lists/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('65adbb41-3f38-4770-886c-9ba17177e48f', 'df42e1a0-9e42-4117-9fe0-3e8eda13fa40', 'Remove Duplicates from Sorted List', 'Easy', 'LeetCode', 'https://leetcode.com/problems/remove-duplicates-from-sorted-list/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4458ee45-ba86-453d-a0f7-3ac222d6c70e', 'df42e1a0-9e42-4117-9fe0-3e8eda13fa40', 'Sort List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/sort-list/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5b049c76-9d47-4cd7-a1a0-10021e06651c', 'df42e1a0-9e42-4117-9fe0-3e8eda13fa40', 'Reorder List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/reorder-list/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2e119a37-3265-46e4-a0ab-a021701183f1', 'df42e1a0-9e42-4117-9fe0-3e8eda13fa40', 'Merge K Sorted Lists', 'Hard', 'LeetCode', 'https://leetcode.com/problems/merge-k-sorted-lists/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('88533257-c3c8-48b9-aa56-bfebd5d37f2e', 'bfce7a4d-fbaa-4557-8b24-357e3f16d67b', 'Add Two Numbers', 'Medium', 'LeetCode', 'https://leetcode.com/problems/add-two-numbers/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('bd95d77e-9e00-486b-827f-3fd971a385f5', 'bfce7a4d-fbaa-4557-8b24-357e3f16d67b', 'Add Two Numbers II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/add-two-numbers-ii/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c59ebef7-2dde-43fd-82b7-f241212d6821', 'bfce7a4d-fbaa-4557-8b24-357e3f16d67b', 'Next Greater Node in Linked List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/next-greater-node-in-linked-list/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('de26f56d-8a01-4354-91c5-f97e4a19b825', 'bfce7a4d-fbaa-4557-8b24-357e3f16d67b', 'Remove Nodes From Linked List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/remove-nodes-from-linked-list/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d1e7e445-9bdd-44a9-8e34-25603eb3136a', '687f90c9-874b-48f7-8f8f-8ad49222a802', 'Implement Doubly Linked List', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/insert-a-node-in-doubly-linked-list/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('712a9784-cf5e-4274-9a73-92fae5f2feac', '687f90c9-874b-48f7-8f8f-8ad49222a802', 'Insert a node in a doubly Linkedlist', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/insert-a-node-in-doubly-linked-list/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('03d04881-f5a6-477f-bc8b-51aa872f94ce', '687f90c9-874b-48f7-8f8f-8ad49222a802', 'Delete a node from a doubly Linkedlist', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/delete-node-in-doubly-linked-list/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3cab10c0-c6f9-4178-89ee-5fe4607a64c7', '687f90c9-874b-48f7-8f8f-8ad49222a802', 'Reverse Doubly Linked List', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/reverse-a-doubly-linked-list/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2238dc84-50f2-4604-8459-9d58a738aae7', '687f90c9-874b-48f7-8f8f-8ad49222a802', 'LRU Cache', 'Medium', 'LeetCode', 'https://leetcode.com/problems/lru-cache/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b678c750-2a43-4fc2-b9d9-eb2077b985e3', '687f90c9-874b-48f7-8f8f-8ad49222a802', 'LFU Cache', 'Hard', 'LeetCode', 'https://leetcode.com/problems/lfu-cache/description/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0647752f-d99e-4d3c-b4ac-32870447c0d3', 'fa197fab-dee1-4e96-92d4-a095b32ed515', 'Merge Two Sorted DLLs', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/merge-two-sorted-linked-lists/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7164fde6-bf06-4ce7-99e9-8181d1b157fb', 'fa197fab-dee1-4e96-92d4-a095b32ed515', 'Flatten Multilevel DLL', 'Medium', 'LeetCode', 'https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('39694714-f422-4810-8c96-7a35daa2c2c3', 'fa197fab-dee1-4e96-92d4-a095b32ed515', 'Convert DLL to Binary Tree', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/binary-tree-to-dll/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2e1add08-bd38-4fe0-a1f1-98f2b008ff0b', '732d39d1-cade-4f15-992b-9002f0794f15', 'Majority Element', 'Easy', 'LeetCode', 'https://leetcode.com/problems/majority-element/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a82f8f22-8ec2-42ec-87e9-b733bc4580ac', '732d39d1-cade-4f15-992b-9002f0794f15', 'Top K Frequent Elements', 'Medium', 'LeetCode', 'https://leetcode.com/problems/top-k-frequent-elements/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('dd985e90-0aad-45d0-8127-fd3e20609b0d', '732d39d1-cade-4f15-992b-9002f0794f15', 'Sort Characters By Frequency', 'Medium', 'LeetCode', 'https://leetcode.com/problems/sort-characters-by-frequency/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f9470379-114a-4532-a2e3-a4949491e48e', '732d39d1-cade-4f15-992b-9002f0794f15', 'Task Scheduler', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/task-scheduler/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7ce9b3fc-c69c-4668-9373-161d0ddcd053', '11a0b33c-d71e-42eb-a278-8eb81dafa2ae', 'Subarray Sum Equals K', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subarray-sum-equals-k/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('dd4e675e-cd56-4be4-af9a-4d8217f369cc', '11a0b33c-d71e-42eb-a278-8eb81dafa2ae', 'Continuous Subarray Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/continuous-subarray-sum/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('fcea8534-26f6-44e5-a5be-35be2ee888de', '11a0b33c-d71e-42eb-a278-8eb81dafa2ae', 'Subarray Sums Divisible by K', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subarray-sums-divisible-by-k/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c07cece8-f393-44ce-becd-961de8c93dae', '11a0b33c-d71e-42eb-a278-8eb81dafa2ae', 'Count Subarrays with Sum K', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/subarrays-with-sum-k/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('52be5849-ba55-4265-a912-f55844bd0224', '8b39b1eb-645c-42c5-9f53-531fbb70db9f', 'Longest Substring Without Repeating Characters', 'Medium', 'LeetCode', 'https://leetcode.com/problems/longest-substring-without-repeating-characters/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('564b0fda-0445-4b93-bca4-9e2021c5a684', '8b39b1eb-645c-42c5-9f53-531fbb70db9f', 'Find All Anagrams in a String', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-all-anagrams-in-a-string/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('fd34abe0-bc16-4bed-b92e-adc3355ce2b1', '8b39b1eb-645c-42c5-9f53-531fbb70db9f', 'Fruit Into Baskets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/fruit-into-baskets/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('45c4f03f-9ffa-4d4f-a9ec-9324851fa9ae', '8b39b1eb-645c-42c5-9f53-531fbb70db9f', 'Longest Substring with At Most K Distinct Characters', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/longest-k-unique-characters-substring0853/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8a21d89a-cff9-48ec-bbd8-46bff34abd54', '8b39b1eb-645c-42c5-9f53-531fbb70db9f', 'Minimum Window Substring', 'Hard', 'LeetCode', 'https://leetcode.com/problems/minimum-window-substring/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f0fd65e9-4ca9-4203-bbd5-85a681954f2d', 'd52c2b04-b9cb-4f8c-a4f3-564f11c0002c', 'K Frequent Words', 'Medium', 'LeetCode', 'https://leetcode.com/problems/top-k-frequent-words/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('76f5b02f-8cfa-4ade-8847-2d6c6796abc5', 'd52c2b04-b9cb-4f8c-a4f3-564f11c0002c', 'Sort Characters by Frequency', 'Medium', 'LeetCode', 'https://leetcode.com/problems/sort-characters-by-frequency/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e5a65824-17e5-4d70-8088-35b830cc64e5', 'd52c2b04-b9cb-4f8c-a4f3-564f11c0002c', 'Kth Largest Element in an Array', 'Medium', 'LeetCode', 'https://leetcode.com/problems/kth-largest-element-in-an-array/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3e76c41c-2191-4f36-911a-6875bcd4f072', 'd52c2b04-b9cb-4f8c-a4f3-564f11c0002c', 'Top K Frequent Elements', 'Medium', 'LeetCode', 'https://leetcode.com/problems/top-k-frequent-elements/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5d216451-d0c9-4bf9-b6a1-97cf65212189', 'd52c2b04-b9cb-4f8c-a4f3-564f11c0002c', 'Minimum Cost to Connect Ropes', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes-1587115620/1', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6acc0a8d-6eaf-4636-8a15-60c0f644a0e6', 'd52c2b04-b9cb-4f8c-a4f3-564f11c0002c', 'Find Median from Data Stream', 'Hard', 'LeetCode', 'https://leetcode.com/problems/find-median-from-data-stream/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c20c13e1-7eba-4f6f-b4b8-08c932f88b3a', '1083df5f-a265-4400-be0c-2bcd988dfcab', 'Find K Pairs with Smallest Sums', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-k-pairs-with-smallest-sums/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ffdf7087-2a76-42d8-851e-1fc04a6226ee', '1083df5f-a265-4400-be0c-2bcd988dfcab', 'Merge K Sorted Lists', 'Hard', 'LeetCode', 'https://leetcode.com/problems/merge-k-sorted-lists/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a53af055-fad0-4cb4-ae01-d90cfa97926c', '1083df5f-a265-4400-be0c-2bcd988dfcab', 'Smallest Range Covering Elements from K Lists', 'Hard', 'LeetCode', 'https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('560cc9c0-b2e5-41c2-b7bc-167e4ae19077', '115bdf83-6035-4f8c-82f0-eaba50584d18', 'Task Scheduler', 'Medium', 'LeetCode', 'https://leetcode.com/problems/task-scheduler/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c5ed4cd5-47bc-4499-b7d1-05182638c54e', '115bdf83-6035-4f8c-82f0-eaba50584d18', 'Sliding Window Maximum', 'Hard', 'LeetCode', 'https://leetcode.com/problems/sliding-window-maximum/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c4a8b9ea-e7c5-4a8b-b2c9-eaa63903ca1e', '115bdf83-6035-4f8c-82f0-eaba50584d18', 'Sliding Window Median', 'Hard', 'LeetCode', 'https://leetcode.com/problems/sliding-window-median/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3c3dc56d-7c29-4d48-ac86-440371c01291', 'd1914c00-f3a1-4e2d-86da-ed528dc1324b', 'Implement priority queue', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/operations-on-priorityqueue/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('76fb4722-b3c2-4f45-a0e0-c4594dd704b4', 'd1914c00-f3a1-4e2d-86da-ed528dc1324b', 'Implement min heap', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/min-heap-implementation/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2aabff25-0ace-4c9a-abb8-156c5e694d9a', 'd1914c00-f3a1-4e2d-86da-ed528dc1324b', 'Implement max heap', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/max-heap-implementation/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('10dab109-1436-41cb-a67b-3296d6ca623a', 'd4156f93-7cbc-46c5-bbd0-68c9a69979ef', 'Minimum Cost to Connect Sticks', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes-1587115620/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7b0a0443-ff20-4e48-b1d6-97e07ca0e1a8', 'd4156f93-7cbc-46c5-bbd0-68c9a69979ef', 'Minimum Cost of Ropes', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/minimum-cost-of-ropes-1587115620/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6100d30c-744c-49a1-9174-52b57301648b', 'd4156f93-7cbc-46c5-bbd0-68c9a69979ef', 'Merge Files with Minimum Cost', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/optimal-file-merge/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1dcd344d-dbb9-4dbc-924a-cc376d8ad001', 'd4156f93-7cbc-46c5-bbd0-68c9a69979ef', 'Combine Cards / Numbers with Minimum Cost', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-cost-to-merge-stones/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('892f8e3b-faed-4e07-b574-acfe5afcd76c', 'd4156f93-7cbc-46c5-bbd0-68c9a69979ef', 'Reorganize String', 'Medium', 'LeetCode', 'https://leetcode.com/problems/reorganize-string/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5ec81c78-5bf8-4ac8-9040-064edc50f013', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Inorder Traversal', 'Easy', 'LeetCode', 'https://leetcode.com/problems/binary-tree-inorder-traversal/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('34843890-9b49-46a1-bf41-cfe81414aa48', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Preorder Traversal', 'Easy', 'LeetCode', 'https://leetcode.com/problems/binary-tree-preorder-traversal/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('65c4e7b9-e354-4d3c-ac35-bf2b2ad58244', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Postorder Traversal', 'Easy', 'LeetCode', 'https://leetcode.com/problems/binary-tree-postorder-traversal/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3fd160fb-e868-4e5d-a9ca-b422f7e1c20b', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Same Tree Check', 'Easy', 'LeetCode', 'https://leetcode.com/problems/same-tree/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('500080b5-2fba-4305-8aa9-b0095ae8818a', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Diameter of Binary Tree', 'Easy', 'LeetCode', 'https://leetcode.com/problems/diameter-of-binary-tree/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2e7b5371-4d5f-49fa-bea6-d6d487b04041', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Maximum Depth of Binary Tree', 'Easy', 'LeetCode', 'https://leetcode.com/problems/maximum-depth-of-binary-tree/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d90f5cc1-922a-4fa8-b5e8-81a802e6ccad', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Path Sum', 'Easy', 'LeetCode', 'https://leetcode.com/problems/path-sum/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('31023121-c027-4d48-88ff-8319ab3761e0', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Minimum Depth of Binary Tree', 'Easy', 'LeetCode', 'https://leetcode.com/problems/minimum-depth-of-binary-tree/description/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ffb08f2b-0f49-45d7-8231-96ef6b37c8de', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Check if Nodes are Cousins', 'Medium', 'LeetCode', 'https://leetcode.com/problems/cousins-in-binary-tree/description/', 9);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c1431397-b545-4cb8-8a18-693df0c0944a', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Print All Nodes at Distance K', 'Medium', 'LeetCode', 'https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/description/', 10);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('797fbea9-e617-4cf5-8045-bb55bb0cea04', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Boundary Traversal of a Binary Tree', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/boundary-traversal-of-binary-tree/1', 11);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0cca9d6a-5821-44ec-9ea7-f90ee18486cd', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Vertical Order Traversal', 'Medium', 'LeetCode', 'https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree/description/', 12);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f5e75676-9ad2-439f-9fea-03bb42e494c2', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Top View of a Binary Tree', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/top-view-of-binary-tree/1', 13);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('334b7ec3-80cd-4bfa-8b89-fa9cbc62d087', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Binary Tree Maximum Path Sum', 'Hard', 'LeetCode', 'https://leetcode.com/problems/binary-tree-maximum-path-sum/', 14);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7575c96c-4b5d-4d87-912a-4dc7f61b8dfc', 'de31abc8-fab8-425a-9d6b-e13b7e726430', 'Binary Tree Cameras', 'Hard', 'LeetCode', 'https://leetcode.com/problems/binary-tree-cameras/description/', 15);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('397ef676-a1e7-4815-a12b-0fa0834ac501', 'bd8d9b4d-f962-4d36-84ee-f93e789bb14b', 'Minimum Depth of Binary Tree', 'Easy', 'LeetCode', 'https://leetcode.com/problems/minimum-depth-of-binary-tree/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('03f2a1b2-5187-4e75-9734-6063e6a4f999', 'bd8d9b4d-f962-4d36-84ee-f93e789bb14b', 'Average of Levels in Binary Tree', 'Easy', 'LeetCode', 'https://leetcode.com/problems/average-of-levels-in-binary-tree/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f95053e7-840c-485a-8979-ddc01d6e1fc4', 'bd8d9b4d-f962-4d36-84ee-f93e789bb14b', 'Binary Tree Level Order Traversal', 'Medium', 'LeetCode', 'https://leetcode.com/problems/binary-tree-level-order-traversal/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('61aaf43c-783b-4681-b05a-8245ac8fa886', 'bd8d9b4d-f962-4d36-84ee-f93e789bb14b', 'Binary Tree Zigzag Level Order Traversal', 'Medium', 'LeetCode', 'https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ac97f28c-fa48-4ce3-a034-28e033ddf46f', 'bd8d9b4d-f962-4d36-84ee-f93e789bb14b', 'Binary Tree Right Side View', 'Medium', 'LeetCode', 'https://leetcode.com/problems/binary-tree-right-side-view/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ad5553e8-dbf5-4e79-b662-c2fb4556af70', 'd8ad9dad-e5aa-4fb4-b15e-91e2dc6c0b51', 'Lowest Common Ancestor of Binary Tree', 'Medium', 'LeetCode', 'https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('acfc61e1-1df0-4a09-af49-847b82302e9e', 'd8ad9dad-e5aa-4fb4-b15e-91e2dc6c0b51', 'Find Distance Between Nodes', 'Medium', 'LeetCode', 'https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4d30ab47-e831-44da-9bdb-5e262ab58d44', 'd8ad9dad-e5aa-4fb4-b15e-91e2dc6c0b51', 'Distance Between Two Nodes in a Tree', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/min-distance-between-two-given-nodes-of-a-binary-tree/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2ff12909-7e9c-4746-8a02-d38999857b7e', 'c86ff08b-2cf3-4d30-be33-a4a016394dc2', 'Invert Binary Tree', 'Easy', 'LeetCode', 'https://leetcode.com/problems/invert-binary-tree/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('be6efba8-7d28-4515-8673-0b3b40272768', 'c86ff08b-2cf3-4d30-be33-a4a016394dc2', 'Flatten Binary Tree to Linked List', 'Medium', 'LeetCode', 'https://leetcode.com/problems/flatten-binary-tree-to-linked-list/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0e959c74-2d56-47f7-8530-4bfa6fb66dd8', 'c86ff08b-2cf3-4d30-be33-a4a016394dc2', 'Populating Next Right Pointers', 'Medium', 'LeetCode', 'https://leetcode.com/problems/populating-next-right-pointers-in-each-node/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('03dafe2e-c105-4a7b-98a9-91dabf051f42', 'c86ff08b-2cf3-4d30-be33-a4a016394dc2', 'Construct Binary Tree from Preorder & Inorder', 'Medium', 'LeetCode', 'https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('652312db-cd2c-4b43-abcb-61e5a342e110', 'c86ff08b-2cf3-4d30-be33-a4a016394dc2', 'Serialize and Deserialize Binary Tree', 'Hard', 'LeetCode', 'https://leetcode.com/problems/serialize-and-deserialize-binary-tree/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('71cf0552-308b-42e8-9726-7ed1a4391625', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Convert Sorted Array to BST', 'Easy', 'LeetCode', 'https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('eefcaf8a-5857-4cea-a0fb-3f21de5324a7', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Search in a BST', 'Easy', 'LeetCode', 'https://leetcode.com/problems/search-in-a-binary-search-tree/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6991cbf0-9f43-480f-bd2f-06aad1c108ff', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Insert into a BST', 'Medium', 'LeetCode', 'https://leetcode.com/problems/insert-into-a-binary-search-tree/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('60a1bb12-baa6-4aed-b493-645724c29478', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Validate Binary Search Tree', 'Medium', 'LeetCode', 'https://leetcode.com/problems/validate-binary-search-tree/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4793ec55-cb6a-48e1-a958-316dc328051c', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Delete Node in a BST', 'Medium', 'LeetCode', 'https://leetcode.com/problems/delete-node-in-a-bst/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('aec10310-998c-45b5-becc-be826611c436', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Recover BST', 'Medium', 'LeetCode', 'https://leetcode.com/problems/recover-binary-search-tree/description/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6997f8ee-8e24-4a1d-98bf-e765b2a27540', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Merge 2 BST', 'Medium', 'LeetCode', 'https://leetcode.com/problems/merge-bsts-to-create-single-bst/description/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9e63ce4a-48af-4b9a-8cb4-c96d0825f4c1', '2c90e41d-4e8b-422b-bf34-f82927a66e43', 'Maximum Sum BST in Binary Tree', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-sum-bst-in-binary-tree/description/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a4b86541-c41d-4be9-919f-aadf4db85fd0', '3ec8f183-2f29-4813-afe7-02257823520c', 'Closest Binary Search Tree Value', 'Easy', 'LeetCode', 'https://leetcode.com/problems/closest-binary-search-tree-value/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c1016526-76eb-44f5-9ad6-389c19a15b46', '3ec8f183-2f29-4813-afe7-02257823520c', 'Lowest Common Ancestor of BST', 'Medium', 'LeetCode', 'https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b7ed44a3-9e27-471c-8d8a-58dd578eb232', '3ec8f183-2f29-4813-afe7-02257823520c', 'Distance Between Two Nodes in BST', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/min-distance-between-two-given-nodes-of-a-binary-tree/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('bd0dd062-cfa5-432d-8158-f034ed7e1151', '3ec8f183-2f29-4813-afe7-02257823520c', 'Closest Leaf in BST', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/find-the-closest-element-in-bst/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8a8b3826-6502-4cba-80b4-b20ab241d0c9', 'cbd32767-1a1e-4710-be5b-3ccd3fa193b7', '01 Matrix', 'Medium', 'LeetCode', 'https://leetcode.com/problems/01-matrix/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9936f7e0-4447-4153-bc00-a1d3644ae6d2', 'cbd32767-1a1e-4710-be5b-3ccd3fa193b7', 'Clone Graph', 'Medium', 'LeetCode', 'https://leetcode.com/problems/clone-graph/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a84350df-c2df-45ec-a692-5ed27d56d2af', 'cbd32767-1a1e-4710-be5b-3ccd3fa193b7', 'Rotting Oranges', 'Medium', 'LeetCode', 'https://leetcode.com/problems/rotting-oranges/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('26f7b4f8-cd78-4726-a655-93683037a4b1', 'cbd32767-1a1e-4710-be5b-3ccd3fa193b7', 'Shortest Path in Binary Matrix', 'Medium', 'LeetCode', 'https://leetcode.com/problems/shortest-path-in-binary-matrix/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('28b42ec8-4397-42d4-b354-6e7e6633a728', 'cbd32767-1a1e-4710-be5b-3ccd3fa193b7', 'Walls and Gates', 'Medium', 'LeetCode', 'https://leetcode.com/problems/walls-and-gates/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6503a483-f24b-4ec6-80bf-4bf8020218d0', 'cbd32767-1a1e-4710-be5b-3ccd3fa193b7', 'Word Ladder', 'Hard', 'LeetCode', 'https://leetcode.com/problems/word-ladder/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d6f70d22-6f16-4891-a9e6-af5562b02a8a', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Flood Fill', 'Easy', 'LeetCode', 'https://leetcode.com/problems/flood-fill/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d729999c-b44c-4994-ab20-cf5abf3c1a26', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Number of Islands', 'Medium', 'LeetCode', 'https://leetcode.com/problems/number-of-islands/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5cd43718-8fa4-45a3-be3a-52e90f05daee', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'All Paths from Source to Target', 'Medium', 'LeetCode', 'https://leetcode.com/problems/all-paths-from-source-to-target/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('53bc732e-846c-4dfa-858d-be333956891b', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Find Eventual Safe States', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-eventual-safe-states/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5fd5af09-5051-4a33-a595-79785f17d008', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Number of Provinces', 'Medium', 'LeetCode', 'https://leetcode.com/problems/number-of-provinces/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5f4863e8-438b-4f6a-aad6-4b71c13e23d5', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Surrounded Regions', 'Medium', 'LeetCode', 'https://leetcode.com/problems/surrounded-regions/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('767e138f-8188-4342-84ad-85fb4c6615d7', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Is Graph Bipartite', 'Medium', 'LeetCode', 'https://leetcode.com/problems/is-graph-bipartite/description/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('bb2ff036-d528-495e-b3c4-bd7c2fe90411', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Directed Cycle Detection', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/detect-cycle-in-a-directed-graph/1', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a9d9d98f-5073-4a1a-8e31-bf3459b6c0eb', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Undirected Cycle Detection', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/detect-cycle-in-an-undirected-graph/1', 9);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('aed024b9-112d-470b-a278-e9b7cf460b47', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Longest Cycle in a Graph', 'Hard', 'LeetCode', 'https://leetcode.com/problems/longest-cycle-in-a-graph/description/', 10);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('42f5163f-48de-4b10-b25f-880d71c7c0e2', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Articulation Points', 'Hard', 'GFG', 'https://www.geeksforgeeks.org/problems/articulation-point-1/1', 11);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b1ebb8cc-ab4f-4cc1-b18c-9167ea3bbc36', '4e02b1c7-c4c9-457c-80dd-dccf4eaa1e78', 'Bridges in Graph / Critical Connections', 'Hard', 'LeetCode', 'https://leetcode.com/problems/critical-connections-in-a-network/description/', 12);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6c7ca0ea-7af1-4356-8dc5-1ab06fb537f6', '550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'Task Scheduling with Dependencies (Prerequisite Tasks)', 'Medium', 'LeetCode', 'https://leetcode.com/problems/course-schedule/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c8e395f7-3fb9-4d10-bdad-b30ad559bbdf', '550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'Course Schedule', 'Medium', 'LeetCode', 'https://leetcode.com/problems/course-schedule/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e511d5e7-b6e0-46d1-a2ee-169032402ced', '550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'Course Schedule II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/course-schedule-ii/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('376ff952-7e01-4b52-8864-f2b67d713c4a', '550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'Find Eventual Safe States', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-eventual-safe-states/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('70a0b1e9-84f7-4b7c-a27d-3de55476820c', '550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'Cycle Detection in Directed Graph', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/detect-cycle-in-a-directed-graph/1', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6c585744-2c80-4154-bc13-46964c4b8d21', '550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'Alien Dictionary', 'Hard', 'LeetCode', 'https://leetcode.com/problems/alien-dictionary/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6904b264-dae5-4f11-87c2-09a03a822e47', '550d3bd5-61f4-4b71-8941-aac60a9feb7a', 'Reconstruct Itinerary', 'Hard', 'LeetCode', 'https://leetcode.com/problems/reconstruct-itinerary/description/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f5788f30-668e-45a9-a1e3-ea4c182346f4', '2862a625-d851-4ec0-a9b8-a42904f3cc48', 'Minimum Spanning Tree', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/minimum-spanning-tree/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1c64a859-4ea4-4dbe-9292-ebbb2a033771', '2862a625-d851-4ec0-a9b8-a42904f3cc48', 'Kruskal’s Algorithm', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/minimum-spanning-tree-kruskals-algorithm/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6dc5f621-3ef9-4edd-988c-dd184bf56ad1', '2862a625-d851-4ec0-a9b8-a42904f3cc48', 'Lexicographically Smallest Equivalent String', 'Medium', 'LeetCode', 'https://leetcode.com/problems/lexicographically-smallest-equivalent-string/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('cb9a5eb9-d298-4214-aa9b-8edc535cb288', '2862a625-d851-4ec0-a9b8-a42904f3cc48', 'Number of Complete Components', 'Medium', 'LeetCode', 'https://leetcode.com/problems/count-the-number-of-complete-components/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('315de612-1c5c-45fe-9eed-96a9d3fc69f4', '2862a625-d851-4ec0-a9b8-a42904f3cc48', 'Redundant Connection', 'Medium', 'LeetCode', 'https://leetcode.com/problems/redundant-connection/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3bfb638d-6272-4628-9ca4-ea82c2e8387e', '2862a625-d851-4ec0-a9b8-a42904f3cc48', 'Connecting Cities With Minimum Cost', 'Medium', 'LeetCode', 'https://leetcode.com/problems/min-cost-to-connect-all-points/description/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('734de658-36ef-4edf-aa61-84563db6abd0', '2862a625-d851-4ec0-a9b8-a42904f3cc48', 'Accounts Merge', 'Medium', 'LeetCode', 'https://leetcode.com/problems/accounts-merge/description/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('11cc4ada-f790-485c-8f59-e66bac6b0d74', '2198334d-9ed8-4ead-a108-1914c2ccee11', 'Dijkstra Implementation', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/implementing-dijkstra-set-1-adjacency-matrix/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3cea5b3a-7498-436d-a793-2b065e27dafa', '2198334d-9ed8-4ead-a108-1914c2ccee11', 'Shortest Path in Weighted Graph', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/shortest-path-in-weighted-undirected-graph/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('93a97c7e-e301-448e-8542-ee0a5339731f', '2198334d-9ed8-4ead-a108-1914c2ccee11', 'Minimum Path Cost in Grid', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-path-cost-in-a-grid/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('44197faa-4b44-4ced-b898-0fc5ad63f42c', '2198334d-9ed8-4ead-a108-1914c2ccee11', 'Network Delay Time', 'Medium', 'LeetCode', 'https://leetcode.com/problems/network-delay-time/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0274b7c6-c85a-4d20-82db-534ec82d0106', '2198334d-9ed8-4ead-a108-1914c2ccee11', 'Cheapest Flights Within K Stops', 'Medium', 'LeetCode', 'https://leetcode.com/problems/cheapest-flights-within-k-stops/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('028d2d10-36a2-4984-b3be-dd002aa49275', '2198334d-9ed8-4ead-a108-1914c2ccee11', 'Swim in Rising Water', 'Medium', 'LeetCode', 'https://leetcode.com/problems/swim-in-rising-water/description/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ffec0eee-b8b2-459f-8518-463572a26277', '2198334d-9ed8-4ead-a108-1914c2ccee11', 'Path With Minimum Effort', 'Medium', 'LeetCode', 'https://leetcode.com/problems/path-with-minimum-effort/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e529559a-c485-4455-97d7-2d562dd6f719', 'f66beab6-2db3-4464-a4a9-9dbb2878f45a', 'Negative Weight Cycle Detection', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/negative-weight-cycle3504/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e39aea33-9300-4e4b-899d-8b720d1b6d66', 'f66beab6-2db3-4464-a4a9-9dbb2878f45a', 'Cheapest Flights Within K Stops', 'Medium', 'LeetCode', 'https://leetcode.com/problems/cheapest-flights-within-k-stops/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0ff95faa-fee4-4969-a85a-ab1a86cd586e', 'f66beab6-2db3-4464-a4a9-9dbb2878f45a', 'Find the City With the Smallest Number of Neighbors at a Threshold Distance', 'Medium', 'LeetCode', 'https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3de8b4d0-8980-40b3-8c98-ea7dd357f113', '6e2198d2-2803-46b4-8fb7-9ebc46067513', 'Transitive Closure', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/transitive-closure-of-a-graph/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('418c1bde-dd1f-4eb3-ba1f-64e4bc685500', '6e2198d2-2803-46b4-8fb7-9ebc46067513', 'All-Pairs Shortest Path', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/implementing-floyd-warshall2042/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2c83527d-d79c-451e-a9ef-987139315596', '6e2198d2-2803-46b4-8fb7-9ebc46067513', 'Detect Negative Cycle Using Floyd-Warshall', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/negative-weight-cycle3504/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('cb4ff62f-41c9-4dc4-9d42-80dee8c5ce70', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Subsets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subsets/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a2249635-a91b-4efe-aaeb-09eb68523e7b', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Subsets II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subsets-ii/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7a0bfb27-8856-4ac5-8b58-dbcb07b9815d', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Combination Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/combination-sum/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('10a1f748-3188-4e1b-bee1-5cffa9d27f94', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Combination Sum II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/combination-sum-ii/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8efdba0f-50d9-4c7f-8725-3bd1a299440a', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Permutations', 'Medium', 'LeetCode', 'https://leetcode.com/problems/permutations/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8186c9b9-985a-400b-bdb0-7a76cfaa08c0', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Permutations II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/permutations-ii/description/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('de015326-3415-401e-8837-b5f8aadf084e', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Next Permutation', 'Medium', 'LeetCode', 'https://leetcode.com/problems/next-permutation/description/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c642b1e4-3def-4e00-84bf-9c76b2023834', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Generate Parentheses', 'Medium', 'LeetCode', 'https://leetcode.com/problems/generate-parentheses/description/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d09ce7e8-ab8b-463d-bcb6-b439f62d818a', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Palindrome Partitioning', 'Medium', 'LeetCode', 'https://leetcode.com/problems/palindrome-partitioning/', 9);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ef95442f-06af-4160-b6e5-e0b8a477d950', 'c9db5238-7672-4d3d-bc90-52b3e7ff1e58', 'Restore IP Addresses', 'Medium', 'LeetCode', 'https://leetcode.com/problems/restore-ip-addresses/', 10);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('260ccd5c-9694-4e9b-9a86-f9277ab0f203', '7753d9bc-5b70-462d-b102-858e787cc53e', 'Graph Coloring (M-Coloring Problem)', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/m-coloring-problem-1587115620/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('85b17cad-11dc-4b54-a80d-eda35ed58ec9', '7753d9bc-5b70-462d-b102-858e787cc53e', 'Knight’s Tour / Knight Walk', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/knight-walk4521/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('902a68d3-31c1-4547-8177-cc15192b3032', '7753d9bc-5b70-462d-b102-858e787cc53e', 'Partition to K Equal Sum Subsets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/partition-to-k-equal-sum-subsets/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('559ec06c-b6e4-4716-85b0-5d30a7c8395c', '7753d9bc-5b70-462d-b102-858e787cc53e', 'N-Queens', 'Hard', 'LeetCode', 'https://leetcode.com/problems/n-queens/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f31f15fc-41a4-4015-ad1d-ddfca2e5e873', '7753d9bc-5b70-462d-b102-858e787cc53e', 'N-Queens II', 'Hard', 'LeetCode', 'https://leetcode.com/problems/n-queens-ii/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3303e791-c4b9-4eb9-9a59-b70e46c228cd', '3b0b635a-f442-4010-ab4f-a8e745ed81a2', 'Rat in a Maze', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/rat-in-a-maze-problem/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('643d14a6-fb91-499e-aa4c-0b6d7772ac3c', '3b0b635a-f442-4010-ab4f-a8e745ed81a2', 'Path with Maximum Gold', 'Medium', 'LeetCode', 'https://leetcode.com/problems/path-with-maximum-gold/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5e24c61f-cf1c-435d-becb-ab691eaaf514', '3b0b635a-f442-4010-ab4f-a8e745ed81a2', 'Sudoku Solver', 'Hard', 'LeetCode', 'https://leetcode.com/problems/sudoku-solver/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('fb1c4ed8-31b0-4913-ace8-b0f9e4e27eef', '3b0b635a-f442-4010-ab4f-a8e745ed81a2', 'Word Search II', 'Hard', 'LeetCode', 'https://leetcode.com/problems/word-search-ii/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d2333a6a-b270-4e9e-8f3f-2b58d81dfa0b', '3b0b635a-f442-4010-ab4f-a8e745ed81a2', 'Unique Paths III', 'Hard', 'LeetCode', 'https://leetcode.com/problems/unique-paths-iii/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a7e54bfe-9d7e-4aa9-88f2-863c890b9300', '4ea1af79-cf90-4249-93c1-2d24b0a8a532', 'Letter Combinations of a Phone Number', 'Medium', 'LeetCode', 'https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('23766548-667e-4047-be46-14775f4e7e5d', '4ea1af79-cf90-4249-93c1-2d24b0a8a532', 'All Possible Full Binary Trees', 'Medium', 'LeetCode', 'https://leetcode.com/problems/all-possible-full-binary-trees/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('630df890-9233-4436-8a56-26b45c72fc75', '4ea1af79-cf90-4249-93c1-2d24b0a8a532', 'Expression Add Operators', 'Hard', 'LeetCode', 'https://leetcode.com/problems/expression-add-operators/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b8817f65-3100-4e41-b70f-cf1ed14eb0b0', '4ea1af79-cf90-4249-93c1-2d24b0a8a532', 'Word Break II', 'Hard', 'LeetCode', 'https://leetcode.com/problems/word-break-ii/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f4751329-8d5b-40bf-960a-9981b80adeb8', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Activity Selection Problem', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/activity-selection-1587115620/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4f275f61-2490-409a-9687-8cdcee3dc93c', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Merge Intervals', 'Medium', 'LeetCode', 'https://leetcode.com/problems/merge-intervals/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0e9c5d07-9310-48f9-a4fc-d6b09c3d58c0', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Insert Interval', 'Medium', 'LeetCode', 'https://leetcode.com/problems/insert-interval/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8b6f2e7c-c552-460a-90f7-fb9b1f760685', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Non-overlapping Intervals', 'Medium', 'LeetCode', 'https://leetcode.com/problems/non-overlapping-intervals/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f7dad28f-b000-4812-a0e9-6ed6ae25c5b1', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Meeting Rooms II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/meeting-rooms-ii/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('2c476160-f1b9-4b44-8f0c-22ba226347f7', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Minimum Number of Arrows to Burst Balloons', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f7bbbc07-0deb-49c6-b9e5-9d547346dc2f', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Jump Game', 'Medium', 'LeetCode', 'https://leetcode.com/problems/jump-game/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d79050e9-6a96-409d-84ec-d8906ac8604c', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Jump Game II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/jump-game-ii/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('684e35ee-cbe5-4554-ba6d-67aa610b84fa', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Car Pooling', 'Medium', 'LeetCode', 'https://leetcode.com/problems/car-pooling/', 9);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1002ef39-8c7b-4af2-aa44-1f6621bde09b', 'ff92097a-95ab-432f-8fc6-0d437bc3db42', 'Minimum Number of Taps to Water a Garden', 'Hard', 'LeetCode', 'https://leetcode.com/problems/minimum-number-of-taps-to-open-to-water-a-garden/description/', 10);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7bc9ea76-cbde-4ec5-bab4-d67541ffc2c1', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Maximum Units on a Truck', 'Easy', 'LeetCode', 'https://leetcode.com/problems/maximum-units-on-a-truck/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f5a12b18-9032-4ad8-937d-4dba9902ac9f', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Largest Number', 'Medium', 'LeetCode', 'https://leetcode.com/problems/largest-number/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('77969749-3705-4ae1-9efc-f729a7f286a4', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Fractional Knapsack', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/fractional-knapsack-1587115620/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c997b72d-3d42-4f78-8ace-081f88e09ded', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Partition Labels', 'Medium', 'LeetCode', 'https://leetcode.com/problems/partition-labels/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b676e584-2409-4a58-b561-89f554db8f3b', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Minimum Cost to Connect Sticks', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-cost-to-connect-sticks/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9a472458-d727-4a06-bc03-85d77035bcfb', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Task Scheduler', 'Medium', 'LeetCode', 'https://leetcode.com/problems/task-scheduler/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b55ce8e9-4a48-4a16-947f-d6fe4df2eaec', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Minimum Platforms', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/minimum-platforms-1587115620/1', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('defdfb0e-cf1d-4c39-94c9-658ef10e333b', '5a66f304-3fd0-425b-934b-4572bb7a865c', 'Candy', 'Hard', 'LeetCode', 'https://leetcode.com/problems/candy/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('e809952d-cbad-407d-a4c7-bc4fc46142ad', '51e3e5c7-f6ec-4362-9ca2-01dfb425a62c', 'Climbing Stairs', 'Easy', 'LeetCode', 'https://leetcode.com/problems/climbing-stairs/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('64ba7c5f-d2b3-43fa-8b32-bb93e8568ed2', '51e3e5c7-f6ec-4362-9ca2-01dfb425a62c', 'House Robber', 'Medium', 'LeetCode', 'https://leetcode.com/problems/house-robber/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b9a4d2a9-2675-4f46-b059-6b742d0b2a44', '51e3e5c7-f6ec-4362-9ca2-01dfb425a62c', 'Maximum Subarray', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-subarray/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('821a1116-48ed-41ca-b97e-4970ca5f7080', '51e3e5c7-f6ec-4362-9ca2-01dfb425a62c', 'Maximum Product Subarray', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-product-subarray/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a1748737-91f4-43ba-8b6b-ddf506771b55', '51e3e5c7-f6ec-4362-9ca2-01dfb425a62c', 'Decode Ways', 'Medium', 'LeetCode', 'https://leetcode.com/problems/decode-ways/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('92acfa22-3a77-4e0c-976b-0204720913be', '2fe50c62-1fef-4d37-976e-985e56557878', 'Running Sum 2D Array', 'Easy', 'LeetCode', 'https://leetcode.com/problems/range-sum-query-2d-immutable/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('14d7e9a7-ef58-4ba0-94f9-3bc996b4247e', '2fe50c62-1fef-4d37-976e-985e56557878', 'Unique Paths', 'Medium', 'LeetCode', 'https://leetcode.com/problems/unique-paths/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7b244681-b864-411b-80fb-c6b85bfd5bfd', '2fe50c62-1fef-4d37-976e-985e56557878', 'Unique Paths II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/unique-paths-ii/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('41b5c837-1b71-4f85-838d-e631b8f2f839', '2fe50c62-1fef-4d37-976e-985e56557878', 'Minimum Path Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-path-sum/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('dd9e622e-3967-4355-924e-53778987fa14', '2fe50c62-1fef-4d37-976e-985e56557878', 'Maximum Path Sum in Grid', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/path-in-matrix3805/1', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('dfe4e822-ca24-4f90-8154-c91d8efe90d5', '2fe50c62-1fef-4d37-976e-985e56557878', 'Minimum Falling Path Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-falling-path-sum/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4eea5cd3-23cd-429b-b96f-ae6bfaa05732', '2fe50c62-1fef-4d37-976e-985e56557878', 'Dungeon Game', 'Hard', 'LeetCode', 'https://leetcode.com/problems/dungeon-game/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('9d753e0d-1000-4946-98d1-d818477c8b2d', '2fe50c62-1fef-4d37-976e-985e56557878', 'Cherry Pickup', 'Hard', 'LeetCode', 'https://leetcode.com/problems/cherry-pickup/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7ef8e5e2-b9fd-4b40-97bf-2cf2d64df079', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Longest Common Subsequence', 'Medium', 'LeetCode', 'https://leetcode.com/problems/longest-common-subsequence/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b1275500-a022-4b2e-ba26-cb33ccc63e6d', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Longest Palindromic Subsequence', 'Medium', 'LeetCode', 'https://leetcode.com/problems/longest-palindromic-subsequence/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('93285fbb-21fb-4b9e-9da9-82c089ed61ef', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Minimum Insertions to Make String Palindrome', 'Medium', 'LeetCode', 'https://leetcode.com/problems/minimum-insertion-steps-to-make-a-string-palindrome/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('a4263e6a-690d-4835-a8fd-e89d3909bbb1', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Minimum Number of Insertions and Deletions', 'Medium', 'LeetCode', 'https://leetcode.com/problems/delete-operation-for-two-strings/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5a28399a-5216-4d9c-a8bf-3388cdf5bc9d', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Edit Distance', 'Medium', 'LeetCode', 'https://leetcode.com/problems/edit-distance/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('43bb5655-76da-467d-84d8-c6f4cb41c532', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Shortest Common Supersequence', 'Medium', 'LeetCode', 'https://leetcode.com/problems/shortest-common-supersequence/description/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d466f61b-4fe5-484a-91e2-be12f3497b36', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Regular Expression Matching', 'Hard', 'LeetCode', 'https://leetcode.com/problems/regular-expression-matching/', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b3d0d093-6c46-4a8d-bae8-a9f57dc524c5', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Distinct Subsequences', 'Hard', 'LeetCode', 'https://leetcode.com/problems/distinct-subsequences/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b149023d-3fe1-495b-9571-e31fe4d68f32', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Palindrome Partitioning II', 'Hard', 'LeetCode', 'https://leetcode.com/problems/palindrome-partitioning-ii/description/', 9);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('353c3c4a-530c-4783-a6c8-0eb7967e9c2c', 'da63eeee-3198-4ca7-be07-13573321a5e5', 'Scramble String', 'Hard', 'LeetCode', 'https://leetcode.com/problems/scramble-string/description/', 10);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('95615819-7e6c-44e4-b8a7-95a320346bb0', 'c8b8b83a-6fc9-4357-84a0-92efef2ad90c', 'Matrix Chain Multiplication (MCM)', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/matrix-chain-multiplication0303/1', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f05f9771-10aa-4657-87db-7bb25df10b3c', 'c8b8b83a-6fc9-4357-84a0-92efef2ad90c', 'Merge Intervals with Cost', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/matrix-chain-multiplication0303/1', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('66d32d79-cc0e-41d6-901d-bb43338a8609', 'c8b8b83a-6fc9-4357-84a0-92efef2ad90c', 'Burst Balloons', 'Hard', 'LeetCode', 'https://leetcode.com/problems/burst-balloons/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3fb30b7a-c22d-4d2a-a3d2-80a064446524', 'c8b8b83a-6fc9-4357-84a0-92efef2ad90c', 'Minimum Cost to Merge Stones', 'Hard', 'LeetCode', 'https://leetcode.com/problems/minimum-cost-to-merge-stones/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f1aecc11-2110-4053-98e2-db58348774d4', 'c8b8b83a-6fc9-4357-84a0-92efef2ad90c', 'Minimum Cost to Cut a Stick', 'Hard', 'LeetCode', 'https://leetcode.com/problems/minimum-cost-to-cut-a-stick/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0ee50eba-5eb7-4248-9cc5-1ffcaee4ff66', 'c8b8b83a-6fc9-4357-84a0-92efef2ad90c', 'Evaluate Expression to True (Boolean Parenthesization)', 'Hard', 'GFG', 'https://www.geeksforgeeks.org/problems/boolean-parenthesization5610/1', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('927eae3a-3b7f-475b-b957-6be7c576b15c', '6d68f810-c343-4f71-9cba-b3d3b7372852', 'Diameter of Binary Tree', 'Medium', 'LeetCode', 'https://leetcode.com/problems/diameter-of-binary-tree/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c7413836-5ce8-454b-b366-c31f088c72c9', '6d68f810-c343-4f71-9cba-b3d3b7372852', 'House Robber III', 'Medium', 'LeetCode', 'https://leetcode.com/problems/house-robber-iii/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('95552e2f-6dde-4cf4-a4e9-b5ba489e987c', '6d68f810-c343-4f71-9cba-b3d3b7372852', 'Path Sum III', 'Medium', 'LeetCode', 'https://leetcode.com/problems/path-sum-iii/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('d68aecdd-2c4e-4e77-878a-68586885abee', '6d68f810-c343-4f71-9cba-b3d3b7372852', 'Binary Tree Maximum Path Sum', 'Hard', 'LeetCode', 'https://leetcode.com/problems/binary-tree-maximum-path-sum/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('4de06a6a-2f6d-4778-a5c9-181cd93d6da7', '6d68f810-c343-4f71-9cba-b3d3b7372852', 'Maximum Sum BST in Binary Tree', 'Hard', 'LeetCode', 'https://leetcode.com/problems/maximum-sum-bst-in-binary-tree/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0c9cccd2-3edf-4a44-972f-7366e440d7bb', '6d68f810-c343-4f71-9cba-b3d3b7372852', 'Binary Tree Cameras', 'Hard', 'LeetCode', 'https://leetcode.com/problems/binary-tree-cameras/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7ef84760-02d8-413d-b468-10c993a52dc6', '09465cda-5e08-4ece-a632-74a6ebb746a2', '0-1 Knapsack', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('db2eb180-a8eb-49a4-8cdc-a1ecd9ef6937', '09465cda-5e08-4ece-a632-74a6ebb746a2', 'Partition Equal Subset Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/partition-equal-subset-sum/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5949b53e-fcc4-487f-9542-678678925c0b', '09465cda-5e08-4ece-a632-74a6ebb746a2', 'Partition with Given Difference', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/partitions-with-given-difference/1', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('dfd9394f-7935-49d5-bfa9-4e3a10da09c7', '09465cda-5e08-4ece-a632-74a6ebb746a2', 'Coin Change', 'Medium', 'LeetCode', 'https://leetcode.com/problems/coin-change/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('010decb9-8382-467e-95e7-823b500d6ef6', '09465cda-5e08-4ece-a632-74a6ebb746a2', 'Coin Change II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/coin-change-ii/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f592d017-a1ff-474c-901a-aa7ec3ae5d7d', '09465cda-5e08-4ece-a632-74a6ebb746a2', 'Target Sum', 'Medium', 'LeetCode', 'https://leetcode.com/problems/target-sum/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3fbc4c63-631c-4750-a239-cd9ba0a698e4', '09465cda-5e08-4ece-a632-74a6ebb746a2', 'Subset Sum', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/subset-sum-problem-1611555638/1', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7e8525cb-3cc7-46d2-adde-28af368e43ad', '09465cda-5e08-4ece-a632-74a6ebb746a2', 'Combination Sum IV', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/4-combination-sum/1', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7e8a1a2c-c68b-469e-96ab-42b7f3b3172b', '6ee34978-cade-4497-8ce9-f25312a4b01a', 'Best Time to Buy and Sell Stock', 'Easy', 'LeetCode', 'https://leetcode.com/problems/best-time-to-buy-and-sell-stock/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('681ed2a4-0adf-49b0-9e9c-75e389454336', '6ee34978-cade-4497-8ce9-f25312a4b01a', 'Best Time to Buy and Sell Stock II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('41c66ac8-5f4f-4360-a27f-85c83477d56c', '6ee34978-cade-4497-8ce9-f25312a4b01a', 'Best Time to Buy and Sell Stock with Cooldown', 'Medium', 'LeetCode', 'https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3fc06ad7-3707-4744-bde2-7409b26eab9b', '6ee34978-cade-4497-8ce9-f25312a4b01a', 'Best Time to Buy and Sell Stock with Transaction Fee', 'Medium', 'LeetCode', 'https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('8f11e3f6-040f-4df0-a1bc-df25182b1931', '6ee34978-cade-4497-8ce9-f25312a4b01a', 'Best Time to Buy and Sell Stock III', 'Hard', 'LeetCode', 'https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('1149b81a-d310-4017-9d83-0e453585d95a', '6ee34978-cade-4497-8ce9-f25312a4b01a', 'Best Time to Buy and Sell Stock IV', 'Hard', 'LeetCode', 'https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('be7f652c-128f-4bec-8095-b45ead3ca7d6', '674384a4-8b90-4e8e-865b-4901f5fbbb75', 'Implement Trie (Prefix Tree)', 'Medium', 'LeetCode', 'https://leetcode.com/problems/implement-trie-prefix-tree/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('826e21a8-9ee9-456c-bee3-26317212505f', '674384a4-8b90-4e8e-865b-4901f5fbbb75', 'Add and Search Word', 'Medium', 'LeetCode', 'https://leetcode.com/problems/add-and-search-word-data-structure-design/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('be3548fc-c36e-43a3-888b-019aea647963', '674384a4-8b90-4e8e-865b-4901f5fbbb75', 'Longest Common Prefix', 'Medium', 'LeetCode', 'https://leetcode.com/problems/longest-common-prefix/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('3b0892d9-9995-4dca-a20f-431cca58cf6f', '674384a4-8b90-4e8e-865b-4901f5fbbb75', 'Longest Word in Dictionary', 'Medium', 'LeetCode', 'https://leetcode.com/problems/longest-word-in-dictionary/description/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('30d8becc-3952-4804-a8d2-840b0ca752ef', '674384a4-8b90-4e8e-865b-4901f5fbbb75', 'Search Suggestions System', 'Medium', 'LeetCode', 'https://leetcode.com/problems/search-suggestions-system/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c337246d-dae3-4c24-97c6-f822aa381224', '9c34aeb4-f14d-47fd-9224-3cd28552e7f4', 'Word Break', 'Medium', 'LeetCode', 'https://leetcode.com/problems/word-break/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('eaab6e4e-12de-440c-ac7a-88c9f07aaabc', '9c34aeb4-f14d-47fd-9224-3cd28552e7f4', 'Replace Words', 'Medium', 'LeetCode', 'https://leetcode.com/problems/replace-words/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('dcca8ba1-f4f8-4371-a51a-aa9cddef347c', '9c34aeb4-f14d-47fd-9224-3cd28552e7f4', 'Word Break II', 'Hard', 'LeetCode', 'https://leetcode.com/problems/word-break-ii/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b8299e0b-6916-4bf5-af64-42b8b750eb1a', '9c34aeb4-f14d-47fd-9224-3cd28552e7f4', 'Concatenated Words', 'Hard', 'LeetCode', 'https://leetcode.com/problems/concatenated-words/', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('b83343f0-4bc3-4a89-baf2-1c06bb791bae', '27635b2a-3773-42bd-a6c0-f474a23402de', 'Maximum XOR of Two Numbers in Array', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array/description/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('0ce669bc-f607-4df6-b634-3d72514af2ce', '27635b2a-3773-42bd-a6c0-f474a23402de', 'Bit Manipulation / Subset XOR Problems', 'Medium', 'LeetCode', 'https://leetcode.com/problems/sum-of-all-subset-xor-totals/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('ee256f23-03df-4f19-b5d5-fe897bb582c4', '27635b2a-3773-42bd-a6c0-f474a23402de', 'Maximum XOR With an Element From Array', 'Hard', 'LeetCode', 'https://leetcode.com/problems/maximum-xor-with-an-element-from-array/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('6a2cfd80-243a-4291-baa8-f3de37c0ab98', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Missing Number', 'Easy', 'LeetCode', 'https://leetcode.com/problems/missing-number/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('aa23d851-098f-4f2c-99bb-500ddaa85367', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Number of 1 Bits / Hamming Weight', 'Easy', 'LeetCode', 'https://leetcode.com/problems/number-of-1-bits/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('066da190-9f86-4d68-b689-270af87152dd', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Alternating Bits', 'Easy', 'LeetCode', 'https://leetcode.com/problems/binary-number-with-alternating-bits/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('bc85a935-a259-4497-b930-f1cad63d13d6', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Check kth Bit is Set or Not', 'Easy', 'GFG', 'https://www.geeksforgeeks.org/problems/check-whether-k-th-bit-is-set-or-not-1587115620/1', 4);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('be8144a4-349d-4ffb-ba52-49b5a4f4959f', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Power of Two', 'Easy', 'LeetCode', 'https://leetcode.com/problems/power-of-two/description/', 5);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('72746e97-ddee-46ee-bb3a-dc46d352d40c', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Single Number', 'Easy', 'LeetCode', 'https://leetcode.com/problems/single-number/', 6);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('c231beda-9bf4-41b6-93ac-16999a6028d7', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Unique Numbers II', 'Medium', 'GFG', 'https://www.geeksforgeeks.org/problems/finding-the-numbers0215/1', 7);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('91a8cf51-3441-4457-ab7d-e1426232d779', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Single Number II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/single-number-ii/', 8);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('66dc8df9-f27c-482d-8805-ccad7677cf4f', '2c3fe3de-e715-4444-a204-14a5083d05d6', 'Single Number III', 'Medium', 'LeetCode', 'https://leetcode.com/problems/single-number-iii/description/', 9);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('43633d72-c8c5-4ebb-9394-8a46f4c425dc', '82f52168-a174-4490-971a-ab1cdb4772e6', 'Subsets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subsets/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('7d4e8023-1c5a-4d31-8bf9-f631db01080b', '82f52168-a174-4490-971a-ab1cdb4772e6', 'Subsets II', 'Medium', 'LeetCode', 'https://leetcode.com/problems/subsets-ii/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('f3f260bd-d4d0-4cc9-9784-3e4c7493b427', '82f52168-a174-4490-971a-ab1cdb4772e6', 'Partition to K Equal Sum Subsets', 'Medium', 'LeetCode', 'https://leetcode.com/problems/partition-to-k-equal-sum-subsets/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5143975e-7b16-4da3-826e-d6edfe2290f1', '1504f2f0-ce78-4f0f-ae86-ff0db88a673f', 'Sum of Subset XOR Totals', 'Easy', 'LeetCode', 'https://leetcode.com/problems/sum-of-all-subset-xor-totals/', 1);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('74c11a62-1e65-4944-85fe-ead4f318c90a', '1504f2f0-ce78-4f0f-ae86-ff0db88a673f', 'Maximum XOR of Two Numbers in Array', 'Medium', 'LeetCode', 'https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array/description/', 2);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('646a33d5-2f5c-4d96-8351-1400ac8ed68a', '1504f2f0-ce78-4f0f-ae86-ff0db88a673f', 'Subarray XOR Queries / K-th XOR', 'Medium', 'LeetCode', 'https://leetcode.com/problems/xor-queries-of-a-subarray/description/', 3);
INSERT INTO public.problems (id, pattern_id, title, difficulty, platform, url, order_index) VALUES ('5c03f7db-fcc1-4ca2-9dcc-9fa145e50f6b', '1504f2f0-ce78-4f0f-ae86-ff0db88a673f', 'Maximum XOR With an Element From Array', 'Hard', 'LeetCode', 'https://leetcode.com/problems/maximum-xor-with-an-element-from-array/', 4);