rustgym 0.2.0

rustgym solutions
Documentation
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
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
mod _1_two_sum;
//
mod _2_add_two_numbers;
//
mod _3_longest_substring_without_repeating_characters;
//
mod _4_median_of_two_sorted_arrays;
//
mod _5_longest_palindromic_substring;
//
mod _6_zigzag_conversion;
//
mod _7_reverse_integer;
//
mod _8_string_to_integer;
//
mod _9_palindrome_number;
//
mod _10_regular_expression_matching;
//
mod _11_container_with_most_water;
//
mod _12_integer_to_roman;
//
mod _13_roman_to_integer;
//
mod _14_longest_common_prefix;
//
mod _15_three_sum;
//
mod _16_3sum_closest;
//
mod _17_letter_combinations_of_a_phone_number;
//
mod _18_4sum;
//
mod _19_remove_nth_node_from_end_of_list;
//
mod _20_valid_parentheses;
//
mod _21_merge_two_sorted_lists;
//
mod _22_generate_parentheses;
//
mod _23_merge_k_sorted_lists;
//
mod _24_swap_nodes_in_pairs;
//
mod _25_reverse_nodes_in_k_group;
//
mod _26_remove_duplicates_from_sorted_array;
//
mod _27_remove_element;
//
mod _28_implement_str_str;
//
mod _29_divide_two_integers;
//
mod _30_substring_with_concatenation_of_all_words;
//
mod _31_next_permutation;
//
mod _32_longest_valid_parentheses;
//
mod _33_search_in_rotated_sorted_array;
//
mod _34_find_first_and_last_position_of_elements_in_sorted_array;
//
mod _35_search_insert_position;
//
mod _36_valid_sudoku;
//
mod _37_sudoku_solver;
//
mod _38_count_and_say;
//
mod _39_combination_sum;
//
mod _40_combination_sum_2;
//
mod _41_first_missing_positive;
//
mod _42_trapping_rain_water;
//
mod _43_multiply_strings;
//
mod _44_wildcard_matching;
//
mod _45_jump_game_2;
//
mod _46_permutations;
//
mod _47_permutations_2;
//
mod _48_rotate_image;
//
mod _49_group_anagrams;
//
mod _50_pow_x_n;
//
mod _51_n_queens;
//
mod _52_n_queens_2;
//
mod _53_maximum_subarray;
//
mod _54_spiral_matrix;
//
mod _55_jump_game;
//
mod _56_merge_intervals;
//
mod _57_insert_interval;
//
mod _59_spiral_matrix_2;
//
mod _60_permutation_sequence;
//
mod _61_rotate_list;
//
mod _62_unique_paths;
//
mod _63_unique_paths_2;
//
mod _64_minimum_path_sum;
//
mod _65_valid_number;
//
mod _66_plus_one;
//
mod _67_add_binary;
//
mod _68_text_justification;
//
mod _69_sqrt;
//
mod _70_climbing_stairs;
//
mod _71_simplify_path;
//
mod _72_edit_distance;
//
mod _73_set_matrix_zeroes;
//
mod _74_search_a_2d_matrix;
//
mod _75_sort_colors;
//
mod _76_minimum_window_substring;
//
mod _77_combinations;
//
mod _78_subsets;
//
mod _79_word_search;
//
mod _81_search_in_rotated_sorted_array_2;
//
mod _80_remove_duplicates_from_sorted_array_2;
//
mod _82_remove_duplicates_from_sorted_list_2;
//
mod _83_remove_duplicates_from_sorted_list;
//
mod _84_largest_rectangle_in_histogram;
//
mod _85_maximal_rectangle;
//
mod _86_partition_list;
//
mod _87_scramble_string;
//
mod _88_merge_sorted_array;
//
mod _89_gray_code;
//
mod _90_subsets_2;
//
mod _91_decode_ways;
//
mod _92_reverse_linked_list_2;
//
mod _93_restore_ip_addresses;
//
mod _94_binary_tree_inorder_traversal;
//
mod _95_unique_binary_search_trees_2;
//
mod _96_unique_binary_search_trees;
//
mod _97_interleaving_string;
//
mod _98_validate_binary_search_tree;
//
mod _99_recover_binary_search_tree;
//
mod _100_same_tree;
//
mod _101_symmetric_tree;
//
mod _102_binary_tree_level_order_traversal;
//
mod _103_binary_tree_zigzag_level_order_traversal;
//
mod _104_maximum_depth_of_binary_tree;
//
mod _105_construct_binary_tree_from_preorder_and_inorder_traversal;
//
mod _106_construct_binary_tree_from_inorder_and_postorder_traversal;
//
mod _107_binary_tree_level_order_traversal_2;
//
mod _108_convert_sorted_array_binary_search_tree;
//
mod _109_convert_sorted_list_to_binary_search_tree;
//
mod _110_balanced_binary_tree;
//
mod _111_minimum_depth_of_binary_tree;
//
mod _112_path_sum;
//
mod _113_path_sum_2;
//
mod _114_flatten_binary_tree_to_linked_list;
//
mod _115_distinct_subsequences;
//
mod _118_pascal_triangle;
//
mod _119_pascal_triangle_2;
//
mod _120_triangle;
//
mod _121_best_time_to_buy_and_sell_stock;
//
mod _122_best_time_to_buy_and_sell_stock_2;
//
mod _123_best_time_to_buy_and_sell_stock_3;
//
mod _124_binary_tree_maximum_path_sum;
//
mod _125_valid_palindrome;
//
mod _126_word_ladder_2;
//
mod _127_word_ladder;
//
mod _128_longest_consecutive_sequence;
//
mod _129_sum_root_to_leaf_numbers;
//
mod _130_surrounded_regions;
//
mod _131_palindrome_partitioning;
//
mod _132_palindrome_partitioning_2;
//
mod _134_gas_station;
//
mod _135_candy;
//
mod _136_single_number;
//
mod _137_single_number_2;
//
mod _139_word_break;
//
mod _140_word_break_2;
//
mod _143_reorder_list;
//
mod _145_binary_tree_postorder_traversal;
//
mod _146_lru_cache;
//
mod _147_insertion_sort_list;
//
mod _148_sort_list;
//
mod _149_max_points_on_a_line;
//
mod _150_evaluate_reverse_polish_notation;
//
mod _151_reverse_words_in_a_string;
//
mod _152_maximum_product_subarray;
//
mod _153_find_minimum_in_rotated_sorted_array;
//
mod _155_min_stack;
//
mod _156_binary_tree_upside_down;
//
mod _157_read_n_characters_given_read4;
//
mod _159_longest_substring_with_at_most_two_distinc_characters;
//
mod _161_one_edit_distance;
//
mod _162_find_peak_element;
//
mod _163_missing_ranges;
//
mod _164_maximum_gap;
//
mod _165_compare_version_numbers;
//
mod _166_fraction_to_recurring_decimal;
//
mod _167_two_sum_2;
//
mod _168_excel_sheet_column_title;
//
mod _169_majority_element;
//
mod _170_two_sum_3;
//
mod _171_excel_sheet_column_number;
//
mod _172_factorial_trailing_zeroes;
//
mod _173_binary_search_tree_iterator;
//
mod _174_dungeon_game;
//
mod _179_largest_number;
//
mod _186_reverse_words_in_a_string_2;
//
mod _187_repeated_dna_sequences;
//
mod _188_best_time_to_buy_and_sell_stock_4;
//
mod _189_rotate_array;
//
mod _190_reverse_bits;
//
mod _191_number_of_1_bits;
//
mod _198_house_robber;
//
mod _199_binary_tree_right_side_view;
//
mod _200_number_of_islands;
//
mod _201_bitwise_and_of_numbers_range;
//
mod _202_happy_number;
//
mod _203_remove_linked_list_elements;
//
mod _204_count_primes;
//
mod _205_isomorphic_strings;
//
mod _206_reverse_linked_list;
//
mod _207_course_schedule;
//
mod _208_implement_trie;
//
mod _209_minimum_size_subarray_sum;
//
mod _210_course_schedule_2;
//
mod _211_add_and_search_word_data_structure_design;
//
mod _212_word_search_2;
//
mod _213_house_robber_2;
//
mod _214_shortest_palindrome;
//
mod _215_kth_largest_element_in_an_array;
//
mod _216_combination_sum_3;
//
mod _217_contains_duplicate;
//
mod _218_the_skyline_problem;
//
mod _219_contains_duplicate_2;
//
mod _220_contains_duplicate_3;
//
mod _221_maximal_square;
//
mod _222_count_complete_tree_nodes;
//
mod _223_rectangle_area;
//
mod _224_basic_calculator;
//
mod _225_implement_stack_using_queues;
//
mod _226_invert_binary_tree;
//
mod _227_basic_calculator_2;
//
mod _228_summary_ranges;
//
mod _229_majority_element_2;
//
mod _230_kth_smallest_element_in_a_bst;
//
mod _231_power_of_two;
//
mod _232_implent_queue_using_stacks;
//
mod _233_number_of_digit_one;
//
mod _234_palindrome_linked_list;
//
mod _235_lowest_common_ancestor_of_a_binary_search_tree;
//
mod _236_lowest_common_ancestor_of_a_binary_tree;
//
mod _238_product_of_array_except_self;
//
mod _239_sliding_window_maximum;
//
mod _240_search_a_2d_matrix_2;
//
mod _241_different_ways_to_add_parentheses;
//
mod _242_valid_anagram;
//
mod _243_shortest_word_distance;
//
mod _244_shortest_word_distance_2;
//
mod _245_shortest_word_distance_3;
//
mod _246_strobogrammantic_number;
//
mod _247_strobogrammatic_number_2;
//
mod _248_strobogrammatic_number_3;
//
mod _249_group_shifted_strings;
//
mod _250_count_univalue_subtrees;
//
mod _251_flatten_2d_vector;
//
mod _257_binary_tree_paths;
//
mod _258_add_digits;
//
mod _252_meeting_rooms;
//
mod _253_meeting_rooms_2;
//
mod _254_factor_combinations;
//
mod _255_verify_preorder_sequence_in_binary_search_tree;
//
mod _256_paint_house;
//
mod _259_3sum_smaller;
//
mod _260_single_number_3;
//
mod _261_graph_valid_tree;
//
mod _263_ugly_number;
//
mod _264_ugly_number_2;
//
mod _265_paint_house_2;
//
mod _266_palindrome_permutation;
//
mod _267_palindrome_permutation_2;
//
mod _268_missing_number;
//
mod _269_alien_dictionary;
//
mod _270_closest_binary_search_tree_value;
//
mod _271_encode_and_decode_strings;
//
mod _272_closest_binary_search_tree_value_2;
//
mod _273_integer_to_english_words;
//
mod _274_h_index;
//
mod _275_h_index_2;
//
mod _276_paint_fence;
//
mod _277_find_the_celebrity;
//
mod _278_first_bad_version;
//
mod _279_perfect_squares;
//
mod _280_wiggle_sort;
//
mod _281_zigzag_iterator;
//
mod _282_expression_add_operators;
//
mod _283_move_zeros;
//
mod _285_inorder_successor_in_bst;
//
mod _294_flip_game_2;
//
mod _296_best_meeting_point;
//
mod _286_walls_and_gates;
//
mod _287_find_the_duplicate_number;
//
mod _288_unique_word_abbreviation;
//
mod _289_game_of_life;
//
mod _290_word_pattern;
//
mod _291_word_pattern_2;
//
mod _292_nim_game;
//
mod _293_flip_game;
//
mod _295_find_median_from_data_stream;
//
mod _297_serialize_and_deserialize_binary_tree;
//
mod _298_binary_tree_longest_consecutive_sequence;
//
mod _299_bulls_and_cows;
//
mod _300_longest_increasing_subsequence;
//
mod _301_remove_invalid_parentheses;
//
mod _302_smallest_rectangle_enclosing_black_pixels;
//
mod _303_range_sum_query;
//
mod _304_range_sum_query_2d_immutable;
//
mod _305_number_of_islands_2;
//
mod _306_additive_number;
//
mod _307_range_sum_query_mutable;
//
mod _309_best_time_to_buy_and_sell_stock_with_cooldown;
//
mod _310_minimum_height_trees;
//
mod _311_sparse_matrix_multiplication;
//
mod _312_burst_balloons;
//
mod _313_super_ugly_number;
//
mod _314_binary_tree_vertical_order_traversal;
//
mod _315_count_of_smaller_numbers_after_self;
//
mod _316_remove_duplicate_letters;
//
mod _317_shortest_distance_from_all_buildings;
//
mod _318_maximum_product_of_word_lengths;
//
mod _319_bulb_switcher;
//
mod _320_generalized_abbreviation;
//
mod _321_create_maximum_number;
//
mod _322_coin_change;
//
mod _323_number_of_connected_components_in_an_unditected_graph;
//
mod _324_wiggle_sort_2;
//
mod _325_maximum_size_subarray_sum_equals_k;
//
mod _326_power_of_three;
//
mod _328_odd_even_linked_list;
//
mod _329_longest_increasing_path_in_a_matrix;
//
mod _330_patching_array;
//
mod _331_verify_preorder_serialization_of_a_binary_tree;
//
mod _332_reconstruct_itinerary;
//
mod _333_largest_bst_subtree;
//
mod _334_increasing_triplet_subsequence;
//
mod _336_palindrome_pairs;
//
mod _337_house_robber_3;
//
mod _338_counting_bits;
//
mod _339_nested_list_weight_sum;
//
mod _340_longest_substring_with_at_most_k_distinct_characters;
//
mod _341_flatten_nested_list_iterator;
//
mod _342_power_of_four;
//
mod _343_integer_break;
//
mod _344_reverse_string;
//
mod _345_reverse_vowels_of_a_string;
//
mod _346_moving_average_from_data_stream;
//
mod _347_top_k_frequent_elements;
//
mod _348_design_tic_tac_toe;
//
mod _349_intersection_of_two_arrays;
//
mod _350_intersection_of_two_arrays_2;
//
mod _351_android_unlock_patterns;
//
mod _352_data_stream_as_disjoint_intervals;
//
mod _353_design_snake_game;
//
mod _354_russian_doll_envelopes;
//
mod _355_design_twitter;
//
mod _356_line_reflection;
//
mod _357_count_numbers_with_unique_digits;
//
mod _358_rearrange_string_k_distance_apart;
//
mod _359_logger_rate_limiter;
//
mod _360_sort_transformed_array;
//
mod _361_bomb_enemy;
//
mod _362_design_hit_counter;
//
mod _363_max_sum_of_rectangle_no_larger_than_k;
//
mod _364_nested_list_weight_sum_2;
//
mod _365_water_and_jug_problem;
//
mod _366_find_leaves_of_binary_tree;
//
mod _367_valid_perfect_square;
//
mod _368_largest_divisible_subset;
//
mod _369_plus_one_linked_list;
//
mod _370_range_addition;
//
mod _371_sum_of_two_integers;
//
mod _372_super_pow;
//
mod _373_find_k_pairs_with_smallest_sums;
//
mod _374_guess_number_higher_or_lower;
//
mod _375_guess_number_higher_or_lower_2;
//
mod _376_wiggle_subsequence;
//
mod _377_combination_sum_4;
//
mod _378_kth_smallest_element_in_a_sorted_matrix;
//
mod _379_design_phone_directory;
//
mod _380_insert_delete_get_random_o1;
//
mod _381_insert_delete_get_random_o1_duplicate_allowed;
//
mod _382_linked_list_random_node;
//
mod _383_ransom_note;
//
mod _384_shuffle_an_array;
//
mod _385_mini_parser;
//
mod _386_lexicographical_numbers;
//
mod _387_first_unique_character_in_a_string;
//
mod _388_longest_absolute_file_path;
//
mod _389_find_the_difference;
//
mod _390_elimination_game;
//
mod _391_perfect_rectangle;
//
mod _392_is_subsequence;
//
mod _393_utf8_validation;
//
mod _394_decode_string;
//
mod _395_longest_substring_with_at_least_k_repeating_characters;
//
mod _396_rotate_function;
//
mod _397_integer_replacement;
//
mod _398_random_pick_index;
//
mod _399_evaluate_division;
//
mod _400_nth_digit;
//
mod _401_binary_watch;
//
mod _402_remove_k_digits;
//
mod _403_frog_jump;
//
mod _404_sum_of_left_leaves;
//
mod _405_convert_a_number_to_hexadecimal;
//
mod _406_queue_reconstruction_by_height;
//
mod _407_trapping_rain_water_2;
//
mod _408_valid_word_abbreviation;
//
mod _409_longest_palindrome;
//
mod _410_split_array_largest_sum;
//
mod _411_minimum_unique_word_abbreviation;
//
mod _412_fizz_buzz;
//
mod _413_arithmetic_slices;
//
mod _414_third_maximum_number;
//
mod _415_add_strings;
//
mod _416_partition_equal_subset_sum;
//
mod _417_pacific_atlantic_water_flow;
//
mod _418_sentence_screen_fitting;
//
mod _419_battleships_in_a_board;
//
mod _420_strong_password_checker;
//
mod _421_maximum_xor_of_two_numbers_in_an_array;
//
mod _422_valid_word_square;
//
mod _423_reconstruct_original_digits_from_english;
//
mod _424_longest_repeating_character_replacement;
//
mod _425_word_squares;
//
mod _432_all_o_one_data_structure;
//
mod _433_minimum_genetic_mutation;
//
mod _434_number_of_segments_in_a_string;
//
mod _435_non_overlapping_intervals;
//
mod _436_find_right_interval;
//
mod _437_path_sum_3;
//
mod _438_find_all_anagrams_in_a_string;
//
mod _439_ternary_expression_parser;
//
mod _441_arranging_coins;
//
mod _442_find_all_duplicates_in_an_array;
//
mod _443_string_compression;
//
mod _444_sequence_reconstruction;
//
mod _445_add_two_numbers_2;
//
mod _446_arithmetic_slices_2_subsequence;
//
mod _447_number_of_boomerangs;
//
mod _448_find_all_numbers_disappeared_in_an_array;
//
mod _449_serialize_and_deserialize_bst;
//
mod _450_delete_node_in_a_bst;
//
mod _451_sort_characters_by_frequency;
//
mod _452_minimum_number_of_arrows_to_burst_ballons;
//
mod _453_minimum_moves_to_equal_array_elements;
//
mod _454_4sum_2;
//
mod _455_assign_cookies;
//
mod _456_132_pattern;
//
mod _457_circular_array_loop;
//
mod _458_poor_pigs;
//
mod _459_repeated_substring_pattern;
//
mod _460_lfu_cache;
//
mod _461_hamming_distance;
//
mod _462_minimum_moves_to_equal_array_elements_2;
//
mod _463_island_perimeter;
//
mod _464_can_i_win;
//
mod _465_optimal_account_balancing;
//
mod _467_unique_substrings_in_wraparound_string;
//
mod _468_validate_ip_address;
//
mod _469_convex_polygon;
//
mod _470_implement_rand10_using_rand7;
//
mod _471_encode_string_with_shortest_length;
//
mod _472_concatenated_words;
//
mod _473_matchsticks_to_square;
//
mod _474_ones_and_zeroes;
//
mod _475_heaters;
//
mod _476_number_complement;
//
mod _477_total_hamming_distance;
//
mod _478_generate_random_point_in_circle;
//
mod _479_largest_palindrome_product;
//
mod _480_sliding_window_median;
//
mod _481_magical_string;
//
mod _482_license_key_formatting;
//
mod _484_find_permutation;
//
mod _485_max_consecutive_ones;
//
mod _486_predict_the_winner;
//
mod _487_max_consecutive_ones_2;
//
mod _488_zuma_game;
//
mod _490_the_maze;
//
mod _491_increasing_subsequences;
//
mod _492_construct_the_rectangle;
//
mod _493_reverse_pairs;
//
mod _494_target_sum;
//
mod _495_teemo_attacking;
//
mod _496_next_greater_element_1;
//
mod _497_random_point_in_nonoverlapping_rectangles;
//
mod _498_diagonal_traverse;
//
mod _499_the_maze_3;
//
mod _500_keyboard_row;
//
mod _501_find_mode_in_binary_search_tree;
//
mod _502_ipo;
//
mod _503_next_greater_element_2;
//
mod _504_base_7;
//
mod _505_the_maze_2;
//
mod _506_relative_ranks;
//
mod _507_perfect_number;
//
mod _508_most_frequent_subtree_sum;
//
mod _509_fibonacci_number;
//
mod _513_find_bottom_left_tree_value;
//
mod _514_freedom_trail;
//
mod _515_find_largest_value_in_each_row;
//
mod _516_longest_palindromic_subsequence;
//
mod _517_super_washing_machines;
//
mod _518_coin_change_2;
//
mod _519_random_flip_matrix;
//
mod _520_detect_captial;
//
mod _521_longest_uncommon_subsequence_1;
//
mod _522_longest_uncommon_subsequence_2;
//
mod _523_continuous_subarray_sum;
//
mod _524_longest_word_in_dictionary_through_deleting;
//
mod _525_contiguous_array;
//
mod _526_beautiful_arrangment;
//
mod _527_word_abbreviation;
//
mod _528_random_pick_with_weight;
//
mod _529_minesweeper;
//
mod _530_minimum_absolute_difference_in_bst;
//
mod _531_lonely_pixel_1;
//
mod _532_k_diff_pairs_in_an_array;
//
mod _533_lonely_pixel_2;
//
mod _535_encode_and_decode_tiny_url;
//
mod _536_construct_binary_tree_from_string;
//
mod _537_complex_number_multiplication;
//
mod _538_convert_bst_to_greater_tree;
//
mod _539_minimum_time_difference;
//
mod _540_single_element_in_a_sorted_array;
//
mod _541_reverse_string_2;
//
mod _542_01_matrix;
//
mod _543_diameter_of_binary_tree;
//
mod _544_output_contest_matches;
//
mod _545_boundary_of_binary_tree;
//
mod _546_remove_boxes;
//
mod _547_friend_circles;
//
mod _548_split_array_with_equal_sum;
//
mod _549_binary_tree_longest_consecutive_sequence_2;
//
mod _551_student_attendance_record_1;
//
mod _552_student_attendance_record_2;
//
mod _553_optimal_division;
//
mod _554_brick_wall;
//
mod _555_split_concatenated_strings;
//
mod _556_next_greater_element_3;
//
mod _557_reverse_words_in_a_string_3;
//
mod _560_subarray_sum_equals_k;
//
mod _561_array_partition_1;
//
mod _562_longest_line_of_consecutive_one_in_matrix;
//
mod _563_binary_tree_tilt;
//
mod _564_find_the_closest_palindrome;
//
mod _565_array_nesting;
//
mod _566_reshape_the_matrix;
//
mod _567_permutation_in_string;
//
mod _568_maximum_vacation_days;
//
mod _572_subtree_of_another_tree;
//
mod _573_squirrel_simulation;
//
mod _575_distribute_candies;
//
mod _576_out_of_boundary_paths;
//
mod _581_shortest_unsorted_continuous_subarray;
//
mod _582_kill_process;
//
mod _583_delete_operation_for_two_strings;
//
mod _588_design_in_memory_file_system;
//
mod _592_fraction_addition_and_subtraction;
//
mod _593_valid_square;
//
mod _594_longest_harmonious_subsequence;
//
mod _598_range_addition_2;
//
mod _599_minimum_index_sum_of_two_lists;
//
mod _604_design_compressed_string_iterator;
//
mod _605_can_place_flowers;
//
mod _606_construct_string_from_binary_tree;
//
mod _609_find_duplicate_file_in_system;
//
mod _611_valid_triangle_number;
//
mod _616_add_bold_tag_in_string;
//
mod _617_merge_two_binary_trees;
//
mod _621_task_scheduler;
//
mod _622_design_circular_queue;
//
mod _623_add_one_row_to_tree;
//
mod _624_maximum_distance_in_arrays;
//
mod _625_minimum_factorization;
//
mod _628_maximum_product_of_three_numbers;
//
mod _630_course_schedule_3;
//
mod _631_design_excel_sum_formula;
//
mod _632_smallest_range_covering_elements_from_k_lists;
//
mod _633_sum_of_square_numbers;
//
mod _634_find_the_derangement_of_an_array;
//
mod _635_design_log_storage_system;
//
mod _636_exclusive_time_of_functions;
//
mod _637_average_of_levels_in_binary_tree;
//
mod _638_shopping_offers;
//
mod _640_solve_the_equation;
//
mod _641_design_circular_deque;
//
mod _642_design_search_autocomplete_system;
//
mod _643_maximum_average_subarray_1;
//
mod _645_set_mismatch;
//
mod _646_maximum_length_of_pair_chain;
//
mod _647_palindromic_substrings;
//
mod _648_replace_words;
//
mod _649_dota2_senate;
//
mod _650_2_keys_keyboard;
//
mod _651_4_keys_keyboard;
//
mod _652_find_duplicate_subtrees;
//
mod _653_two_sum_4;
//
mod _654_maximum_binary_tree;
//
mod _655_print_binary_tree;
//
mod _657_robot_return_to_origin;
//
mod _658_find_k_cloest_elements;
//
mod _659_split_array_into_consecutive_subsequences;
//
mod _660_remove_9;
//
mod _661_image_smoother;
//
mod _662_maximum_width_of_binary_tree;
//
mod _663_equal_tree_partition;
//
mod _665_non_decreasing_array;
//
mod _666_path_sum_4;
//
mod _667_beautiful_arrangement_2;
//
mod _668_kth_smallest_number_in_multiplication;
//
mod _669_trim_a_binary_search_tree;
//
mod _670_maximum_swap;
//
mod _671_second_minimum_node_in_a_binary_tree;
//
mod _672_bulb_switcher_2;
//
mod _674_longest_continuous_increasing_subsequence;
//
mod _675_cut_off_trees_for_golf_event;
//
mod _676_implement_magic_dictionary;
//
mod _677_map_sum_pairs;
//
mod _678_valid_parenthesis_string;
//
mod _679_24_game;
//
mod _680_valid_palindrome_2;
//
mod _681_next_closest_time;
//
mod _682_baseball_game;
//
mod _683_k_empty_slots;
//
mod _684_redundant_connection;
//
mod _686_repeated_string_match;
//
mod _687_longest_univalue_path;
//
mod _688_knight_probability_in_chessboard;
//
mod _689_maximum_sum_of_3_non_overlapping_subarrays;
//
mod _692_top_k_frequent_words;
//
mod _693_binary_number_with_alternating_bits;
//
mod _694_number_of_distinct_islands;
//
mod _695_max_area_of_island;
//
mod _696_count_binary_substrings;
//
mod _697_degree_of_an_array;
//
mod _698_partition_to_k_equal_sum_subsets;
//
mod _700_search_in_a_binary_search_tree;
//
mod _701_insert_into_a_binary_search_tree;
//
mod _703_kth_largest_element_in_a_stream;
//
mod _704_binary_search;
//
mod _705_design_hash_set;
//
mod _706_design_hash_map;
//
mod _707_design_linked_list;
//
mod _709_to_lower_case;
//
mod _712_minimum_ascii_delete_sum_for_two_string;
//
mod _713_subarray_product_less_than_k;
//
mod _714_best_time_to_buy_and_sell_stock_with_transaction_fee;
//
mod _716_max_stack;
//
mod _717_1bit_and_2bit_characters;
//
mod _718_maximum_length_of_repeated_subarray;
//
mod _719_find_kth_smallest_pair_distance;
//
mod _720_longest_word_in_dictionary;
//
mod _721_accounts_merge;
//
mod _722_remove_comments;
//
mod _723_candy_crush;
//
mod _724_find_pivot_index;
//
mod _725_split_linked_list_in_parts;
//
mod _726_number_of_atoms;
//
mod _728_self_dividing_numbers;
//
mod _729_my_calendar_1;
//
mod _731_my_calendar_2;
//
mod _732_my_calendar_3;
//
mod _733_flood_fill;
//
mod _734_sentence_similarity;
//
mod _735_asteroid_collision;
//
mod _737_sentence_similarity_2;
//
mod _738_monotone_increasing_digits;
//
mod _739_daily_temperatures;
//
mod _740_delete_and_earn;
//
mod _742_closest_leaf_in_binary_tree;
//
mod _743_network_delay_time;
//
mod _744_find_smallest_letter_greater_than_target;
//
mod _746_min_cost_climbing_stairs;
//
mod _747_largest_number_at_least_twice_of_others;
//
mod _748_shortest_completing_word;
//
mod _750_number_of_corner_rectangles;
//
mod _751_ip_to_cidr;
//
mod _752_open_the_lock;
//
mod _753_cracking_the_safe;
//
mod _754_reach_a_number;
//
mod _755_pour_water;
//
mod _756_pyramid_transition_matrix;
//
mod _758_bold_words_in_string;
//
mod _760_find_anagram_mappings;
//
mod _761_special_binary_string;
//
mod _762_prime_number_of_set_bits_in_binary_representation;
//
mod _763_partition_labels;
//
mod _764_largest_plus_sign;
//
mod _765_couples_holding_hands;
//
mod _766_toeplitiz_matrix;
//
mod _767_reorganize_string;
//
mod _768_max_chunks_to_make_sorted_2;
//
mod _769_max_chunks_to_make_sorted;
//
mod _770_basic_calculator_4;
//
mod _771_jewels_and_stones;
//
mod _772_basic_calculator_3;
//
mod _773_sliding_puzzle;
//
mod _774_minimize_max_distance_to_gas_station;
//
mod _775_global_and_local_inversions;
//
mod _776_split_bst;
//
mod _777_swap_adjacent_in_lr_string;
//
mod _778_swim_in_rising_water;
//
mod _779_kth_symbol_in_grammar;
//
mod _780_reaching_points;
//
mod _781_rabbits_in_forest;
//
mod _783_minimum_distance_between_bst_nodes;
//
mod _784_letter_case_permutation;
//
mod _785_is_graph_bipartite;
//
mod _786_kth_smallest_prime_faction;
//
mod _787_cheapest_flights_within_k_stops;
//
mod _788_rotated_digits;
//
mod _789_escape_the_ghosts;
//
mod _790_domino_and_tromino_tiling;
//
mod _791_custom_sort_string;
//
mod _792_number_of_matching_subsequences;
//
mod _794_valid_tic_tac_toe_state;
//
mod _795_number_of_subarrays_with_bounded_maximum;
//
mod _796_rotate_string;
//
mod _797_all_paths_from_source_to_target;
//
mod _799_champagne_tower;
//
mod _800_similar_rgb_color;
//
mod _801_minimum_swaps_to_make_sequences_increasing;
//
mod _802_find_eventual_safe_states;
//
mod _804_unique_morse_code_words;
//
mod _806_number_of_lines_to_write_string;
//
mod _807_max_increase_to_keep_city_skyline;
//
mod _808_soup_servings;
//
mod _809_expressive_words;
//
mod _811_subdomain_visit_count;
//
mod _812_largest_triangle_area;
//
mod _813_largest_sum_of_averages;
//
mod _814_binary_tree_pruning;
//
mod _815_bus_routes;
//
mod _816_ambiguous_coordinates;
//
mod _817_linked_list_components;
//
mod _818_race_car;
//
mod _819_most_common_word;
//
mod _820_short_encoding_of_words;
//
mod _821_shortest_distance_to_a_character;
//
mod _822_card_flipping_game;
//
mod _823_binary_trees_with_factors;
//
mod _824_goat_latin;
//
mod _825_friends_of_appropriate_ages;
//
mod _826_most_profix_assigning_work;
//
mod _827_making_a_large_island;
//
mod _828_count_unique_characters_of_a_given_string;
//
mod _829_consecutive_numbers_sum;
//
mod _830_positions_of_large_groups;
//
mod _831_masking_personal_information;
//
mod _832_flipping_an_image;
//
mod _833_find_and_replace_in_string;
//
mod _835_image_overlap;
//
mod _836_rectangle_overlap;
//
mod _837_new_21_game;
//
mod _838_push_dominoes;
//
mod _840_magic_squares_in_grid;
//
mod _841_keys_and_rooms;
//
mod _842_split_array_into_fibonacci_sequence;
//
mod _844_backspace_string_compare;
//
mod _845_longest_mountain_in_array;
//
mod _846_hand_of_straights;
//
mod _847_shortest_path_visiting_all_nodes;
//
mod _848_shifting_letters;
//
mod _849_maximize_distance_to_closest_person;
//
mod _851_loud_and_rich;
//
mod _852_peak_index_in_a_mountain_array;
//
mod _853_car_fleet;
//
mod _854_k_similar_strings;
//
mod _855_exam_room;
//
mod _856_score_of_parentheses;
//
mod _858_mirror_reflection;
//
mod _859_buddy_strings;
//
mod _860_lemonade_change;
//
mod _861_score_after_flipping_matrix;
//
mod _862_shortest_subarray_with_sum_at_least_k;
//
mod _863_all_nodes_distance_k_in_binary_tree;
//
mod _865_smallest_subtree_with_all_the_deepest_nodes;
//
mod _866_prime_palindrome;
//
mod _867_transpose_matrix;
//
mod _868_binary_gap;
//
mod _869_reordered_power_of_2;
//
mod _870_advantage_shuffle;
//
mod _871_minimum_number_of_refueling_stops;
//
mod _872_leaf_similar_trees;
//
mod _873_length_of_longest_fibonacci_subsequence;
//
mod _874_walking_robot_simulation;
//
mod _875_koko_eating_bananas;
//
mod _876_middle_of_the_linked_list;
//
mod _877_stone_game;
//
mod _880_decoded_string_at_index;
//
mod _881_boats_to_save_people;
//
mod _883_projection_area_of_3d_shapes;
//
mod _884_uncommon_words_from_two_sentences;
//
mod _885_spiral_matrix_3;
//
mod _886_possible_bipartition;
//
mod _888_fair_candy_swap;
//
mod _889_construct_binary_tree_from_preorder_and_postorder_traversal;
//
mod _890_find_and_replace_pattern;
//
mod _892_surface_area_of_3d_shapes;
//
mod _893_groups_of_special_equivalent_string;
//
mod _894_all_possible_full_binary_trees;
//
mod _895_maximum_frequency_stack;
//
mod _896_monotonic_array;
//
mod _897_increasing_order_search_tree;
//
mod _898_bitwise_ors_of_subarrays;
//
mod _899_orderly_queue;
//
mod _900_rle_iterator;
//
mod _901_online_stock_span;
//
mod _904_fruit_into_baskets;
//
mod _905_sort_array_by_parity;
//
mod _907_sum_of_subarray_minimums;
//
mod _908_smallest_range_1;
//
mod _909_snakes_and_ladders;
//
mod _910_smallest_range_2;
//
mod _911_online_election;
//
mod _912_sort_an_array;
//
mod _914_x_of_a_kind_in_a_deck_of_cards;
//
mod _915_partition_array_into_disjoint_intervals;
//
mod _916_word_subsets;
//
mod _917_reverse_only_letters;
//
mod _918_maximum_sum_circular_subarray;
//
mod _919_complete_binary_tree_inserter;
//
mod _921_minimum_add_to_make_parentheses_valid;
//
mod _922_sort_array_by_parity_2;
//
mod _923_3sum_with_multiplicity;
//
mod _924_minimize_malware_spread;
//
mod _925_long_pressed_name;
//
mod _926_flip_string_to_monotone_increasing;
//
mod _929_unique_email_addresses;
//
mod _930_binary_subarrays_with_sum;
//
mod _931_minimum_falling_path_sum;
//
mod _932_beautiful_array;
//
mod _933_number_of_recent_calls;
//
mod _934_shortest_bridge;
//
mod _935_knight_dialer;
//
mod _937_reorder_log_files;
//
mod _938_range_sum_of_bst;
//
mod _939_minimum_area_rectangle;
//
mod _941_valid_mountain_array;
//
mod _942_di_string_match;
//
mod _944_delete_columns_to_make_sorted;
//
mod _945_minimum_increment_to_make_array_unique;
//
mod _946_validate_stack_sequences;
//
mod _947_most_stones_removed_with_same_row_or_column;
//
mod _948_bag_of_tokens;
//
mod _949_largest_time_for_given_digits;
//
mod _950_reveal_cards_in_increasing_order;
//
mod _951_flip_equivalent_binary_trees;
//
mod _953_verifying_an_alien_dictionary;
//
mod _954_array_of_doubled_pairs;
//
mod _955_delete_columns_to_make_sorted_2;
//
mod _957_prison_cells_after_n_days;
//
mod _958_check_completeness_of_a_binary_tree;
//
mod _959_regions_cut_by_slashes;
//
mod _960_delete_columns_to_make_sorted_3;
//
mod _961_n_repeated_element_in_size_2n_array;
//
mod _962_maximum_with_ramp;
//
mod _963_minimum_area_rectangle_2;
//
mod _965_univalued_binary_tree;
//
mod _966_vowel_spellchecker;
//
mod _967_numbers_with_same_consecutive_differences;
//
mod _969_pancake_sorting;
//
mod _970_powerful_integers;
//
mod _971_flip_binary_tree_to_match_preorder_traversal;
//
mod _973_k_closest_points_to_origin;
//
mod _974_subarray_sums_divisible_by_k;
//
mod _976_largest_perimeter_triangle;
//
mod _977_squares_of_a_sorted_array;
//
mod _978_longest_turbulent_subarray;
//
mod _979_distribute_coins_in_binary_tree;
//
mod _980_unique_paths_3;
//
mod _981_time_based_key_value_store;
//
mod _982_triples_with_bitwise_and_equal_to_zero;
//
mod _983_minimum_cost_for_tickets;
//
mod _984_string_without_aaa_or_bbb;
//
mod _985_sum_of_even_numbers_after_queries;
//
mod _986_interval_list_intersections;
//
mod _987_vertical_order_traversal_of_a_binary_tree;
//
mod _988_smallest_string_starting_from_leaf;
//
mod _989_add_to_array_form_of_integer;
//
mod _990_satisfiability_of_equality_equations;
//
mod _991_broken_calculator;
//
mod _992_subarrays_with_k_different_integers;
//
mod _993_cousins_in_binary_tree;
//
mod _994_rotting_oranges;
//
mod _997_find_the_town_judge;
//
mod _998_maximum_binary_tree_2;
//
mod _999_available_captures_for_rook;
//
mod _1002_find_common_characters;
//
mod _1003_check_if_word_is_valid_after_substitutions;
//
mod _1004_max_consecutive_ones_3;
//
mod _1005_maximize_sum_of_array_after_k_negations;
//
mod _1006_clumsy_factorial;
//
mod _1007_minimum_domino_rotations_for_equal_row;
//
mod _1008_construct_binary_search_tree_from_preorder_traversal;
//
mod _1009_complement_of_base_10_integer;
//
mod _1010_pairs_of_songs_with_total_durations_divisible_by_60;
//
mod _1011_capacity_to_ship_packages_within_d_days;
//
mod _1013_partition_array_into_three_parts_with_equal_sum;
//
mod _1014_best_sightseeing_pair;
//
mod _1015_smallest_integer_divisible_by_k;
//
mod _1016_binary_string_with_substrings_representing_1_to_n;
//
mod _1017_convert_to_base_minus_2;
//
mod _1018_binary_prefix_divisible_by_5;
//
mod _1019_next_greater_node_in_linked_list;
//
mod _1020_number_of_enclaves;
//
mod _1021_remove_outermost_parentheses;
//
mod _1022_sum_root_to_leaf_binary_number;
//
mod _1023_camelcase_matching;
//
mod _1024_video_stitching;
//
mod _1025_divisor_game;
//
mod _1026_maximum_difference_between_node_and_ancestor;
//
mod _1027_longest_arithmetic_sequence;
//
mod _1028_recover_a_tree_from_preorder_traversal;
//
mod _1029_two_city_scheduling;
//
mod _1030_matrix_cells_in_distance_order;
//
mod _1031_maximum_sum_of_two_non_overlapping_subarrays;
//
mod _1033_moving_stones_until_consecutive;
//
mod _1034_coloring_a_border;
//
mod _1035_uncrossed_lines;
//
mod _1036_escape_a_large_maze;
//
mod _1037_valid_boomerang;
//
mod _1038_binary_search_tree_to_greater_sum_tree;
//
mod _1039_minimum_score_triangulation_of_polygon;
//
mod _1040_moving_stones_until_consecutive_2;
//
mod _1041_robot_bounded_in_circle;
//
mod _1042_flower_planting_with_no_adjacent;
//
mod _1043_partition_array_for_maximum_sum;
//
mod _1044_longest_duplicate_substring;
//
mod _1046_last_stone_weight;
//
mod _1047_remove_all_adjacent_duplicates_in_string;
//
mod _1048_longest_string_chain;
//
mod _1049_last_stone_weight_2;
//
mod _1051_height_checker;
//
mod _1052_grumpy_bookstore_owner;
//
mod _1053_previous_permutation_with_one_swap;
//
mod _1054_distant_barcodes;
//
mod _1055_shortest_way_to_form_string;
//
mod _1056_confusing_number;
//
mod _1057_campus_bikes;
//
mod _1058_minimize_rounding_error_to_meet_target;
//
mod _1059_all_paths_from_source_lead_to_destination;
//
mod _1060_missing_element_in_sorted_array;
//
mod _1061_lexicographically_smallest_equivalent_string;
//
mod _1062_longest_repeating_substring;
//
mod _1063_number_of_valid_subarrays;
//
mod _1064_fixed_point;
//
mod _1065_index_pairs_of_a_string;
//
mod _1066_campus_bikes_2;
//
mod _1071_greatest_common_divisor_of_strings;
//
mod _1072_flip_columns_for_maximum_number_of_equal_rows;
//
mod _1073_adding_two_negabinary_numbers;
//
mod _1074_number_of_submatrices_that_sum_to_target;
//
mod _1078_occurrences_after_bigram;
//
mod _1079_letter_tile_possibilities;
//
mod _1080_insufficient_nodes_in_root_to_leaf_paths;
//
mod _1081_smallest_subsequence_of_distinct_characters;
//
mod _1085_sum_of_digits_in_the_minmum_number;
//
mod _1086_high_five;
//
mod _1087_brace_expansion;
//
mod _1089_duplicate_zeros;
//
mod _1090_largest_values_from_labels;
//
mod _1091_shortest_path_in_binary_matrix;
//
mod _1093_statistics_from_a_large_sample;
//
mod _1092_shortest_common_supersequence;
//
mod _1094_car_pooling;
//
mod _1096_brace_expansion_2;
//
mod _1099_two_sum_less_than_k;
//
mod _1100_find_k_length_substrings_with_no_repeated_characters;
//
mod _1101_the_earliest_moment_when_everyone_become_friends;
//
mod _1102_path_with_maximum_minimum_value;
//
mod _1103_distribute_candies_to_people;
//
mod _1104_path_in_zigzag_labelled_binary_tree;
//
mod _1105_filling_bookcase_shelves;
//
mod _1106_parsing_a_boolean_expression;
//
mod _1108_defanging_an_ip_address;
//
mod _1109_corp_flight_bookings;
//
mod _1110_delete_nodes_and_return_forest;
//
mod _1111_maximum_nesting_depth_of_two_valid_parentheses_strings;
//
mod _1118_number_of_days_in_a_month;
//
mod _1119_remove_vowels_from_a_string;
//
mod _1120_maximum_average_subtree;
//
mod _1121_divide_array_into_increasing_sequences;
//
mod _1122_relative_sort_array;
//
mod _1123_lowest_common_ancestor_or_deepest_leaves;
//
mod _1124_longest_well_performing_interval;
//
mod _1128_number_of_equivalent_domino_pairs;
//
mod _1129_shortest_path_with_alternating_colors;
//
mod _1130_minimum_cost_tree_from_leaf_values;
//
mod _1131_maximum_of_absolute_value_expression;
//
mod _1032_stream_of_characters;
//
mod _1133_largest_unique_number;
//
mod _1134_armstrong_number;
//
mod _1135_connecting_cities_with_minimum_cost;
//
mod _1136_parallel_courses;
//
mod _1137_n_th_tribonacci_number;
//
mod _1138_alphabet_board_path;
//
mod _1139_largest_1_bordered_square;
//
mod _1140_stone_game_2;
//
mod _1143_longest_common_subsequence;
//
mod _1144_decrease_elements_to_make_array_zigzag;
//
mod _1145_binary_tree_coloring_game;
//
mod _1146_snapshot_array;
//
mod _1147_longest_chunked_palindrome_decomposition;
//
mod _1150_check_if_a_number_is_majority_element_in_a_sorted_array;
//
mod _1151_minimum_swaps_to_group_all_1s_together;
//
mod _1152_analyze_user_website_visit_pattern;
//
mod _1154_day_of_the_year;
//
mod _1155_number_of_dice_rolls_with_target_sum;
//
mod _1156_swap_for_longest_repeated_character_substring;
//
mod _1160_find_words_that_can_be_formed_by_characters;
//
mod _1161_maximum_level_sum_of_a_binary_tree;
//
mod _1162_as_far_from_land_as_possible;
//
mod _1165_single_row_keyboard;
//
mod _1166_design_file_system;
//
mod _1167_minimum_cost_to_connect_sticks;
//
mod _1168_optimize_water_distribution_in_a_village;
//
mod _1169_invalid_transactions;
//
mod _1170_compare_strings_by_frequency_of_the_smallest_character;
//
mod _1171_remove_zero_sum_consecutive_nodes_from_linked_list;
//
mod _1172_dinner_plate_stacks;
//
mod _1175_prime_arrangements;
//
mod _1176_diet_plan_performance;
//
mod _1177_can_make_palindrome_from_substring;
//
mod _1180_count_substring_with_only_one_distinct_letter;
//
mod _1181_before_and_after_puzzle;
//
mod _1182_shortest_distance_to_target_color;
//
mod _1183_maximum_number_of_ones;
//
mod _1184_distance_between_bus_stops;
//
mod _1185_day_of_the_week;
//
mod _1186_maximum_subarray_sum_with_one_deletion;
//
mod _1189_maximum_number_of_balloons;
//
mod _1190_reverse_substrings_between_each_pair_of_parentheses;
//
mod _1191_k_concatenation_maximum_sum;
//
mod _1192_critical_connections_in_a_network;
//
mod _1196_how_many_apples_can_you_put_into_the_basket;
//
mod _1197_minimum_knight_moves;
//
mod _1197_minimum_knight_moves_math;
//
mod _1198_find_smallest_common_element_in_all_rows;
//
mod _1200_minimum_absolute_difference;
//
mod _1201_ugly_number_3;
//
mod _1202_smallest_string_with_swaps;
//
mod _1203_sort_items_by_groups_respecting_dependencies;
//
mod _1206_design_skiplist;
//
mod _1207_unique_number_of_occurrences;
//
mod _1208_get_equal_substrings_within_budget;
//
mod _1209_remove_all_adjacent_duplicates_in_string_2;
//
mod _1210_minimum_moves_to_reach_target_with_rotations;
//
mod _1213_intersection_of_three_sorted_arrays;
//
mod _1214_two_sum_bsts;
//
mod _1215_stepping_numbers;
//
mod _1216_valid_palindrome_3;
//
mod _1217_play_with_chips;
//
mod _1218_longest_arithmetic_subsequence_of_given_difference;
//
mod _1219_path_with_maximum_gold;
//
mod _1220_count_vowels_permutation;
//
mod _1221_split_a_string_in_balanced_strings;
//
mod _1222_queens_that_can_attack_the_king;
//
mod _1223_dice_roll_simulation;
//
mod _1227_airplane_seat_assignment_probability;
//
mod _1228_missing_number_in_arithmetic_progression;
//
mod _1229_meeting_scheduler;
//
mod _1230_toss_strange_coins;
//
mod _1231_divide_chocolate;
//
mod _1232_check_if_it_is_a_straight_line;
//
mod _1233_remove_sub_folders_from_the_filesystem;
//
mod _1234_replace_the_substring_for_balanced_string;
//
mod _1235_maximum_profit_in_job_scheduling;
//
mod _1237_find_positive_integer_solution_for_a_given_equation;
//
mod _1238_circular_permutation_in_binary_representation;
//
mod _1239_maximum_length_of_concatenated_string_with_unique_characters;
//
mod _1240_tiling_a_rectangle_with_the_fewest_squares;
//
mod _1243_array_transformation;
//
mod _1244_design_a_leaderboard;
//
mod _1245_tree_diameter;
//
mod _1247_minimum_swaps_to_make_strings_equal;
//
mod _1248_count_number_of_nice_subarrays;
//
mod _1249_minimum_remove_to_make_valid_parentheses;
//
mod _1250_check_if_it_is_a_good_array;
//
mod _1254_number_of_closed_islands;
//
mod _1255_maximum_score_words_formed_by_letters;
//
mod _1258_synonymous_sentences;
//
mod _1252_cells_with_odd_values_in_a_matrix;
//
mod _1253_reconstruct_a_2_row_binary_matrix;
//
mod _1256_encode_number;
//
mod _1257_smallest_common_region;
//
mod _1259_handshakes_that_don_t_cross;
//
mod _1260_shift_2d_grid;
//
mod _1261_find_elements_in_contaminated_binary_tree;
//
mod _1262_greatest_sum_divisible_by_three;
//
mod _1263_minimum_moves_to_move_a_box_to_their_target_location;
//
mod _1266_minimum_time_visition_all_points;
//
mod _1267_count_servers_that_communicate;
//
mod _1268_search_suggestions_system;
//
mod _1271_hexspeak;
//
mod _1272_remove_interval;
//
mod _1273_delete_tree_nodes;
//
mod _1274_number_of_ships_in_rectangle;
//
mod _1275_find_winner_on_a_tic_tac_toe_game;
//
mod _1276_number_of_burgers_with_no_waste_of_ingredients;
//
mod _1277_count_square_submatrices_with_all_ones;
//
mod _1278_palindrome_partitioning_3;
//
mod _1281_subtract_the_product_and_sum_of_digits_of_an_integer;
//
mod _1282_group_the_people_given_the_group_size_they_belong_to;
//
mod _1283_find_the_smallest_divisor_given_a_threshold;
//
mod _1284_minimum_number_of_flips_to_convert_binary_matrix_to_zero_matrix;
//
mod _1286_iterator_for_combination;
//
mod _1287_element_appearing_more_than_25_in_sorted_array;
//
mod _1288_remove_covered_intervals;
//
mod _1289_minimum_falling_path_sum_2;
//
mod _1290_convert_binary_number_in_a_linked_list_to_integer;
//
mod _1291_sequential_digits;
//
mod _1292_maximum_side_length_of_a_square_with_sum_less_than_or_equal_to_threshold;
//
mod _1295_find_numbers_with_even_number_of_digits;
//
mod _1296_divide_array_in_sets_of_k_consecutive_numbers;
//
mod _1297_maximum_number_of_occurrences_of_a_substring;
//
mod _1298_maximum_candies_you_can_get_from_boxes;
//
mod _1299_replace_elements_with_greatest_element_on_right_side;
//
mod _1300_sum_of_mutated_array_closest_to_target;
//
mod _1302_deepest_leaves_sum;
//
mod _1304_find_n_unique_integers_sum_up_to_zero;
//
mod _1305_all_elements_in_two_binary_search_tree;
//
mod _1306_jump_game_3;
//
mod _1309_decrypt_string_from_alphabet_to_integer_mapping;
//
mod _1310_xor_queries_of_a_subarray;
//
mod _1311_get_watched_videos_by_your_friends;
//
mod _1312_minimum_insertion_steps_to_make_a_string_palindrome;
//
mod _1314_matrix_block_sum;
//
mod _1313_decompres_run_length_encoded_list;
//
mod _1315_sum_of_nodes_with_even_valued_grandparent;
//
mod _1317_convert_integer_to_the_sum_of_two_no_zero_integers;
//
mod _1318_minimum_flips_to_make_a_or_b_equal_to_c;
//
mod _1319_number_of_operations_to_make_network_connected;
//
mod _1320_minimum_distance_to_type_a_word_using_two_fingers;
//
mod _1323_maximum_69_number;
//
mod _1324_print_words_vertically;
//
mod _1325_delete_leaves_with_a_given_value;
//
mod _1326_minimum_number_of_taps_to_open_to_water_a_garden;
//
mod _1328_break_a_palindrome;
//
mod _1329_sort_the_matrix_diagonally;
//
mod _1331_rank_transform_of_an_array;
//
mod _1332_remove_palindromic_subsequences;
//
mod _1333_filter_restaurants_by_vengan_friendly_price_and_distance;
//
mod _1334_find_the_city_with_the_smallest_number_of_neighbors_at_a_threshold_distance;
//
mod _1335_minimum_difficulty_of_a_job_schedule;
//
mod _1337_the_k_weakest_rows_in_a_matrix;
//
mod _1338_reduce_array_size_to_the_half;
//
mod _1339_maximum_product_of_splitted_binary_tree;
//
mod _1340_jump_game_5;
//
mod _1342_number_of_steps_to_reduce_a_number_to_zero;
//
mod _1343_number_of_sub_arrays_of_size_k_and_average_greater_than_or_equal_to_threshold;
//
mod _1344_angle_between_hands_of_a_clock;
//
mod _1346_check_if_n_and_its_double_exist;
//
mod _1347_minimum_number_of_steps_to_make_two_strings_anagram;
//
mod _1348_tweet_counts_per_frequency;
//
mod _1351_count_negative_numbers_in_a_sorted_matrix;
//
mod _1352_product_of_the_last_k_numbers;
//
mod _1353_maximum_number_of_events_that_can_be_attended;
//
mod _1356_sort_integers_by_the_number_of_1_bits;
//
mod _1357_apply_discount_every_n_orders;
//
mod _1358_number_of_substrings_containing_all_three_characters;
//
mod _1359_count_all_valid_pickup_and_delivery_options;
//
mod _1360_number_of_days_between_two_dates;
//
mod _1361_validate_binary_tree_nodes;
//
mod _1362_closest_divisors;
//
mod _1365_how_many_numbers_are_smaller_than_the_current_number;
//
mod _1366_rank_teams_by_votes;
//
mod _1367_linked_list_in_binary_tree;
//
mod _1368_minimum_cost_to_make_at_least_one_valid_path_in_a_grid;
//
mod _1370_increasing_decreasing_string;
//
mod _1371_find_the_longest_substring_containing_vowels_in_even_counts;
//
mod _1372_longest_zigzag_path_in_a_binary_tree;
//
mod _1374_generate_a_string_with_characters_that_have_odd_counts;
//
mod _1375_bulb_switcher_3;
//
mod _1376_time_needed_to_inform_all_employees;
//
mod _1377_frog_position_after_t_seconds;
//
mod _1380_lucky_numbers_in_a_matrix;
//
mod _1381_design_a_stack_with_increment_operation;
//
mod _1382_balance_a_binary_search_tree;
//
mod _1383_maximum_performance_of_a_team;
//
mod _1385_find_the_distance_value_between_two_arrays;
//
mod _1386_cinema_seat_allocation;
//
mod _1387_sort_integers_by_the_power_value;
//
mod _1389_create_target_array_in_the_given_order;
//
mod _1390_four_divisors;
//
mod _1391_check_if_there_is_a_valid_path_in_a_grid;
//
mod _1394_find_lucky_integer_in_an_array;
//
mod _1395_count_number_of_teams;
//
mod _1396_design_underground_system;
//
mod _1399_count_largest_group;
//
mod _1400_construct_k_palindrome_strings;
//
mod _1401_circle_and_rectangle_overlapping;
//
mod _1402_reducing_dishes;
//
mod _1403_minimum_subsequence_in_non_increasing_order;
//
mod _1404_number_of_steps_to_reduce_a_number_in_binary_representation_to_one;
//
mod _1405_longest_happy_string;
//
mod _1406_stone_game_3;
//
mod _1408_string_matching_in_an_array;
//
mod _1409_queries_on_a_permutation_with_key;
//
mod _1410_html_entity_parser;
//
mod _1411_number_of_ways_to_paint_n3_grid;
//
mod _1413_minimum_value_to_get_positive_step_by_step_sum;
//
mod _1414_find_the_minimum_number_of_fibonacci_numbers_whoes_sum_is_k;
//
mod _1415_the_k_th_lexicographical_string_of_all_happy_strings_of_length_n;
//
mod _1417_reformat_the_string;
//
mod _1418_display_table_of_food_orders_in_a_restaurant;
//
mod _1419_minimum_number_of_frogs_croaking;
//
mod _1420_build_array_where_you_can_find_the_maximum_exactly_k_comparisons;
//
mod _1422_maximum_score_after_splitting_a_string;
//
mod _1423_maximum_points_you_can_obtain_from_cards;
//
mod _1424_diagonal_traversel_2;
//
mod _1426_counting_elements;
//
mod _1427_perform_string_shifts;
//
mod _1428_leftmost_column_with_at_least_a_one;
//
mod _1429_first_unique_number;
//
mod _1430_chick_if_a_string_is_a_valid_sequence_from_root_to_leaves_path_in_a_binary_tree;
//
mod _1431_kids_with_the_greatest_number_of_candies;
//
mod _1432_max_difference_you_can_get_from_change_an_integer;
//
mod _1433_check_if_a_string_can_break_another_string;
//
mod _1436_destination_city;
//
mod _1437_check_if_all_1s_are_at_least_length_k_places_away;
//
mod _1438_longest_continuous_subarray_with_absolute_diff_less_than_or_equal_to_limit;
//
mod _1439_find_kth_smallest_sum_of_a_matrix_with_sorted_rows;
//
mod _1441_build_an_array_with_stack_operations;
//
mod _1442_count_triplets_that_can_form_two_arrays_of_equal_xor;
//
mod _1443_minimum_time_to_collect_all_apples_in_a_tree;
//
mod _1444_number_of_ways_of_cutting_a_pizza;
//
mod _1446_consecutive_characters;
//
mod _1447_simplified_fractions;
//
mod _1448_count_good_nodes_in_binary_tree;
//
mod _1450_number_of_students_doing_homework_at_a_given_time;
//
mod _1451_rearrange_words_in_a_sentence;
//
mod _1452_people_whose_list_of_favorite_companies_is_not_a_subset_of_another_list;
//
mod _1455_check_if_a_word_occurs_as_a_prefix_of_any_word_in_a_sentence;
//
mod _1456_maximum_number_of_vowels_in_a_substring_of_given_length;
//
mod _1457_pseudo_palindromic_paths_in_a_binary_tree;
//
mod _1460_make_two_arrays_equal_by_reversing_sub_arrays;
//
mod _1461_check_if_a_string_contains_all_binary_codes_of_size_k;
//
mod _1462_course_schedule_4;
//
mod _1463_cherry_pickup_2;
//
mod _1464_maximum_product_of_two_elements_in_an_array;
//
mod _1465_maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts;
//
mod _1466_reorder_routes_to_make_all_paths_lead_to_the_city_zero;
//
mod _1469_find_all_the_lonely_nodes;
//
mod _1470_shuffle_the_array;
//
mod _1471_the_k_strongest_values_in_an_array;
//
mod _1472_design_browser_history;
//
mod _1473_paint_house_3;
//
mod _1474_delete_n_nodes_after_m_nodes_of_a_linked_list;
//
mod _1475_final_prices_with_a_speial_discount_in_shop;
//
mod _1476_subrectangle_queries;
//
mod _1477_find_two_non_overlapping_sub_arrays_each_with_target_sum;
//
mod _1478_allocate_mailboxes;
//
mod _1480_running_sum_of_1d_array;
//
mod _1481_least_number_of_unique_integers_after_k_removals;
//
mod _1482_minimum_number_of_days_to_make_m_bouquets;
//
mod _1486_xor_operation_in_an_array;
//
mod _1487_making_file_names_unique;
//
mod _1488_avoid_flood_in_the_city;
//
mod _1489_find_critical_and_pseudo_critical_edges_in_minimum_spanning_tree;
//
mod _1491_average_salary_excluding_minimum_and_maximum_salary;
//
mod _1492_the_kth_factor_of_n;
//
mod _1493_longest_subarray_of_1s_after_deleting_one_element;
//
mod _1496_path_crossing;
//
mod _1497_check_if_array_pairs_are_divisible_by_k;
//
mod _1498_number_of_subsequences_that_satisfy_the_given_sum_condition;
//
mod _1500_design_a_file_sharing_system;
//
mod _1502_can_make_arithmetic_progression_from_sequence;
//
mod _1503_last_moment_before_all_ants_fall_out_of_a_plank;
//
mod _1504_count_submatrices_with_all_ones;
//
mod _1507_reformat_date;
//
mod _1508_range_sum_of_sorted_subarray_sums;
//
mod _1509_minimum_difference_between_largest_and_smallest_value_in_three_moves;
//
mod _1510_stone_game_4;
//
mod _1512_number_of_good_pairs;
//
mod _1513_number_of_substrings_with_only_1s;
//
mod _1514_path_with_maximum_probability;
//
mod _1515_best_position_for_a_service_center;
//
mod _1518_water_bottles;
//
mod _1519_number_of_nodes_in_the_sub_tree_with_the_same_label;
//
mod _1520_maximum_number_of_non_overlapping_substrings;
//
mod _1521_find_a_value_of_mysterious_function_closest_to_target;
//
mod _1523_cound_odd_numbers_in_interval_range;
//
mod _1524_number_of_sub_arrays_with_odd_sum;
//
mod _1525_number_of_good_ways_to_split_a_string;
//
mod _1526_minimum_number_of_increments_on_subarrays_to_form_a_target_array;
//
mod _1528_shuffle_string;
//
mod _1529_bulb_switcher_5;
//
mod _1530_number_of_good_leaf_nodes_pairs;
//
mod _1533_find_the_index_of_the_large_integer;
//
mod _1534_count_good_triplets;
//
mod _1535_find_the_winner_of_an_array_game;
//
mod _1536_minimum_swaps_to_arrange_a_binary_grid;
//
mod _1537_get_the_maximum_score;
//
mod _1538_guess_the_majority_in_an_hidden_array;
//
mod _1539_kth_missing_positive_number;
//
mod _1540_can_convert_string_in_k_moves;
//
mod _1541_minimum_insertions_to_balance_a_parentheses_string;
//
mod _1542_find_longest_awesome_substring;
//
mod _1544_make_the_string_great;
//
mod _1545_find_kth_bit_in_nth_binary_stringrs;
//
mod _1546_maximum_number_of_non_overlapping_subarrays_with_sum_equals_target;
//
mod _1547_minimum_cost_to_cut_a_stick;
//
mod _1548_the_most_similar_path_in_a_graph;
//
mod _1550_three_consecutive_odds;
//
mod _1551_minimum_operations_to_make_array_equalrs;
//
mod _1552_magnetic_force_between_two_balls;
//
mod _1553_minimum_number_of_days_to_eat_n_oranges;
//
mod _1554_strings_differ_by_one_character;
//
mod _1556_thousand_separator;
//
mod _1557_minimum_number_of_vertices_to_reach_all_nodes;
//
mod _1558_minimum_numbers_of_function_calls_to_make_target_array;
//
mod _1559_detect_cycles_in_2d_grid;
//
mod _1560_most_visited_sector_in_a_circular_track;
//
mod _1561_maximum_number_of_coins_you_can_get;
//
mod _1562_find_latest_group_of_size_m;
//
mod _1563_stone_game_5;
//
mod _1564_pub_boxes_into_the_warehouse_1;
//
mod _1566_detect_pattern_of_length_m_repeated_k_or_more_times;
//
mod _1567_maximum_length_of_subarray_with_positive_product;
//
mod _1568_minimum_number_of_days_to_disconnect_island;
//
mod _1569_number_of_ways_to_reorder_array_to_get_same_bst;
//
mod _1570_dot_product_of_two_sparse_vectors;
//
mod _1572_matrix_diagonal_sum;
//
mod _1573_number_of_ways_to_split_a_string;
//
mod _1574_shortest_subarray_to_be_removed_to_make_array_sorted;
//
mod _1575_count_all_possible_routes;
//
mod _1576_replace_all_to_avoid_consecutive_repeating_characters;
//
mod _1577_number_of_ways_where_square_of_number_is_equal_to_product_of_two_numbers;
//
mod _1578_minimum_deleteion_cost_to_avoid_repeating_letters;
//
mod _1579_remove_max_number_of_edges_to_keep_graph_fully_traversable;
//
mod _1580_put_boxes_into_the_warehouse_2;
//
mod _1582_special_positions_in_a_binary_matrix;
//
mod _1583_count_unhappy_friends;
//
mod _1584_min_cost_to_connect_all_points;
//
mod _1585_check_if_string_is_transformable_with_substring_sort_operations;
//
mod _1586_binary_search_tree_iterator_2;
//
mod _1588_sum_of_all_odd_length_subarrays;
//
mod _1589_maximum_sum_obtained_of_any_permutation;
//
mod _1590_make_sum_divisible_by_p;
//
mod _1591_strange_printer_2;
//
mod _1592_rearrange_spaces_between_words;
//
mod _1593_split_a_string_into_the_max_number_of_unique_substrings;
//
mod _1594_maximum_non_negative_product_in_a_matrix;
//
mod _1595_minimum_cost_to_connect_two_groups_of_points;
//
mod _1598_crawler_log_folder;
//
mod _1599_maximum_profit_of_operating_a_centennial_wheel;
//
mod _1600_throne_inheritance;
//
mod _1603_design_parking_system;
//
mod _1604_alart_using_same_key_card_three_or_more_times_in_a_one_hour_period;
//
mod _1605_find_valid_matrix_given_row_and_column_sums;
//
mod _1608_special_array_with_x_elements_greater_than_or_equal_x;
//
mod _1609_even_odd_tree;
//
mod _1611_minimum_one_bit_operations_to_make_integers_zero;
//
mod _1614_maximum_nesting_depth_of_the_parentheses;
//
mod _1615_maximal_network_rank;
//
mod _1616_split_two_strings_to_make_palindrome;
//
mod _1617_count_subtrees_with_max_distance_between_cities;
//
mod _1619_mean_of_array_after_removing_some_elements;
//
mod _1620_coordinate_with_maxium_network_quality;
//
mod _1621_number_of_sets_of_k_non_overlapping_line_segments;
//
mod _1624_largest_substring_between_two_equal_characters;
//
mod _1625_lexicographically_smaller_string_after_applying_operations;
//
mod _1626_best_team_with_no_conflicts;
//
mod _1627_graph_connectivity_with_threshold;
//
mod _1629_slowest_key;
//
mod _1630_arithmetic_subarrays;
//
mod _1631_path_with_minimum_effort;
//
mod _1636_sort_array_by_increasing_frequency;
//
mod _1637_widest_vertical_area_between_two_points_containing_no_points;
//
mod _1638_count_substrings_that_differ_by_one_characters;
//
mod _1640_check_array_formation_through_concatenation;
//
mod _1641_count_sorted_vowel_strings;
//
mod _1642_furthest_building_you_can_reach;
//
mod _1643_kth_smallest_instructions;
//
mod _1646_get_maximum_in_generated_array;
//
mod _1647_minimum_deletions_to_make_character_frequencies_unique;
//
mod _1648_sell_diminishing_valued_colored_balls;
//
mod _1652_defuse_the_bomb;
//
mod _1653_minimum_deletions_to_make_string_balanced;
//
mod _1654_minimum_jumps_to_reach_home;
//
mod _1656_design_an_ordered_stream;
//
mod _1657_determine_if_two_strings_are_close;
//
mod _1658_minimum_operations_to_reduce_x_to_zero;
//
mod _1659_maximize_grid_happiness;