// ==UserScript==
// @name leetcode2acwing
// @name:zh-CN leetcode2acwing
// @namespace https://github.com/zooltd/leetcode2acwing
// @supportURL https://github.com/zooltd/leetcode2acwing
// @home-url https://greasyfork.org/en/scripts/447992-leetcode2acwing
// @description Redirect LeetCode problem site to Acwing solution site.
// @description:zh-CN 从LeetCode问题页面跳转至AcWing题解页面。
// @match https://leetcode.com/problems/*
// @match https://leetcode.cn/problems/*
// @version 1.0.8
// @author Youhan Wu
// @require https://cdn.jsdelivr.net/combine/npm/@violentmonkey/dom@2,npm/@violentmonkey/ui@0.7
// @run-at document-idle
// @license MIT
// @grant GM_addStyle
// ==/UserScript==
(function () {
'use strict';
const title2URL = new Map([['two-sum', 'https://www.acwing.com/activity/content/problem/content/2326/'], ['add-two-numbers', 'https://www.acwing.com/activity/content/problem/content/2327/'], ['longest-substring-without-repeating-characters', 'https://www.acwing.com/activity/content/problem/content/2328/'], ['median-of-two-sorted-arrays', 'https://www.acwing.com/activity/content/problem/content/2329/'], ['longest-palindromic-substring', 'https://www.acwing.com/activity/content/problem/content/2330/'], ['zigzag-conversion', 'https://www.acwing.com/activity/content/problem/content/2331/'], ['reverse-integer', 'https://www.acwing.com/activity/content/problem/content/2332/'], ['string-to-integer-atoi', 'https://www.acwing.com/activity/content/problem/content/2333/'], ['palindrome-number', 'https://www.acwing.com/activity/content/problem/content/2334/'], ['regular-expression-matching', 'https://www.acwing.com/activity/content/problem/content/2335/'], ['container-with-most-water', 'https://www.acwing.com/activity/content/problem/content/2344/'], ['integer-to-roman', 'https://www.acwing.com/activity/content/problem/content/2345/'], ['roman-to-integer', 'https://www.acwing.com/activity/content/problem/content/2346/'], ['longest-common-prefix', 'https://www.acwing.com/activity/content/problem/content/2347/'], ['3sum', 'https://www.acwing.com/activity/content/problem/content/2348/'], ['3sum-closest', 'https://www.acwing.com/activity/content/problem/content/2349/'], ['letter-combinations-of-a-phone-number', 'https://www.acwing.com/activity/content/problem/content/2350/'], ['4sum', 'https://www.acwing.com/activity/content/problem/content/2351/'], ['remove-nth-node-from-end-of-list', 'https://www.acwing.com/activity/content/problem/content/2352/'], ['valid-parentheses', 'https://www.acwing.com/activity/content/problem/content/2353/'], ['merge-two-sorted-lists', 'https://www.acwing.com/activity/content/problem/content/2354/'], ['generate-parentheses', 'https://www.acwing.com/activity/content/problem/content/2355/'], ['merge-k-sorted-lists', 'https://www.acwing.com/activity/content/problem/content/2356/'], ['swap-nodes-in-pairs', 'https://www.acwing.com/activity/content/problem/content/2357/'], ['reverse-nodes-in-k-group', 'https://www.acwing.com/activity/content/problem/content/2358/'], ['remove-duplicates-from-sorted-array', 'https://www.acwing.com/activity/content/problem/content/2359/'], ['remove-element', 'https://www.acwing.com/activity/content/problem/content/2360/'], ['implement-strstr', 'https://www.acwing.com/activity/content/problem/content/2361/'], ['divide-two-integers', 'https://www.acwing.com/activity/content/problem/content/2362/'], ['substring-with-concatenation-of-all-words', 'https://www.acwing.com/activity/content/problem/content/2363/'], ['next-permutation', 'https://www.acwing.com/activity/content/problem/content/2368/'], ['longest-valid-parentheses', 'https://www.acwing.com/activity/content/problem/content/2369/'], ['search-in-rotated-sorted-array', 'https://www.acwing.com/activity/content/problem/content/2370/'], ['find-first-and-last-position-of-element-in-sorted-array', 'https://www.acwing.com/activity/content/problem/content/2371/'], ['search-insert-position', 'https://www.acwing.com/activity/content/problem/content/2372/'], ['valid-sudoku', 'https://www.acwing.com/activity/content/problem/content/2373/'], ['sudoku-solver', 'https://www.acwing.com/activity/content/problem/content/2374/'], ['count-and-say', 'https://www.acwing.com/activity/content/problem/content/2375/'], ['combination-sum', 'https://www.acwing.com/activity/content/problem/content/2376/'], ['combination-sum-ii', 'https://www.acwing.com/activity/content/problem/content/2377/'], ['first-missing-positive', 'https://www.acwing.com/activity/content/problem/content/2378/'], ['trapping-rain-water', 'https://www.acwing.com/activity/content/problem/content/2379/'], ['multiply-strings', 'https://www.acwing.com/activity/content/problem/content/2380/'], ['wildcard-matching', 'https://www.acwing.com/activity/content/problem/content/2381/'], ['jump-game-ii', 'https://www.acwing.com/activity/content/problem/content/2382/'], ['permutations', 'https://www.acwing.com/activity/content/problem/content/2383/'], ['permutations-ii', 'https://www.acwing.com/activity/content/problem/content/2384/'], ['rotate-image', 'https://www.acwing.com/activity/content/problem/content/2385/'], ['group-anagrams', 'https://www.acwing.com/activity/content/problem/content/2386/'], ['powx-n', 'https://www.acwing.com/activity/content/problem/content/2387/'], ['n-queens', 'https://www.acwing.com/activity/content/problem/content/2396/'], ['n-queens-ii', 'https://www.acwing.com/activity/content/problem/content/2397/'], ['maximum-subarray', 'https://www.acwing.com/activity/content/problem/content/2398/'], ['spiral-matrix', 'https://www.acwing.com/activity/content/problem/content/2399/'], ['jump-game', 'https://www.acwing.com/activity/content/problem/content/2400/'], ['merge-intervals', 'https://www.acwing.com/activity/content/problem/content/2401/'], ['insert-interval', 'https://www.acwing.com/activity/content/problem/content/2402/'], ['length-of-last-word', 'https://www.acwing.com/activity/content/problem/content/2403/'], ['spiral-matrix-ii', 'https://www.acwing.com/activity/content/problem/content/2404/'], ['permutation-sequence', 'https://www.acwing.com/activity/content/problem/content/2405/'], ['rotate-list', 'https://www.acwing.com/activity/content/problem/content/2406/'], ['unique-paths', 'https://www.acwing.com/activity/content/problem/content/2407/'], ['unique-paths-ii', 'https://www.acwing.com/activity/content/problem/content/2408/'], ['minimum-path-sum', 'https://www.acwing.com/activity/content/problem/content/2409/'], ['valid-number', 'https://www.acwing.com/activity/content/problem/content/2410/'], ['plus-one', 'https://www.acwing.com/activity/content/problem/content/2411/'], ['add-binary', 'https://www.acwing.com/activity/content/problem/content/2412/'], ['text-justification', 'https://www.acwing.com/activity/content/problem/content/2413/'], ['sqrtx', 'https://www.acwing.com/activity/content/problem/content/2414/'], ['climbing-stairs', 'https://www.acwing.com/activity/content/problem/content/2415/'], ['simplify-path', 'https://www.acwing.com/activity/content/problem/content/2420/'], ['edit-distance', 'https://www.acwing.com/activity/content/problem/content/2421/'], ['set-matrix-zeroes', 'https://www.acwing.com/activity/content/problem/content/2422/'], ['search-a-2d-matrix', 'https://www.acwing.com/activity/content/problem/content/2423/'], ['sort-colors', 'https://www.acwing.com/activity/content/problem/content/2424/'], ['minimum-window-substring', 'https://www.acwing.com/activity/content/problem/content/2425/'], ['combinations', 'https://www.acwing.com/activity/content/problem/content/2426/'], ['subsets', 'https://www.acwing.com/activity/content/problem/content/2427/'], ['word-search', 'https://www.acwing.com/activity/content/problem/content/2428/'], ['remove-duplicates-from-sorted-array-ii', 'https://www.acwing.com/activity/content/problem/content/2429/'], ['search-in-rotated-sorted-array-ii', 'https://www.acwing.com/activity/content/problem/content/2430/'], ['remove-duplicates-from-sorted-list-ii', 'https://www.acwing.com/activity/content/problem/content/2431/'], ['remove-duplicates-from-sorted-list', 'https://www.acwing.com/activity/content/problem/content/2432/'], ['largest-rectangle-in-histogram', 'https://www.acwing.com/activity/content/problem/content/2433/'], ['maximal-rectangle', 'https://www.acwing.com/activity/content/problem/content/2434/'], ['partition-list', 'https://www.acwing.com/activity/content/problem/content/2435/'], ['scramble-string', 'https://www.acwing.com/activity/content/problem/content/2436/'], ['merge-sorted-array', 'https://www.acwing.com/activity/content/problem/content/2437/'], ['gray-code', 'https://www.acwing.com/activity/content/problem/content/2438/'], ['subsets-ii', 'https://www.acwing.com/activity/content/problem/content/2439/'], ['decode-ways', 'https://www.acwing.com/activity/content/problem/content/2444/'], ['reverse-linked-list-ii', 'https://www.acwing.com/activity/content/problem/content/2445/'], ['restore-ip-addresses', 'https://www.acwing.com/activity/content/problem/content/2446/'], ['binary-tree-inorder-traversal', 'https://www.acwing.com/activity/content/problem/content/2447/'], ['unique-binary-search-trees-ii', 'https://www.acwing.com/activity/content/problem/content/2448/'], ['unique-binary-search-trees', 'https://www.acwing.com/activity/content/problem/content/2449/'], ['interleaving-string', 'https://www.acwing.com/activity/content/problem/content/2450/'], ['validate-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/2451/'], ['recover-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/2452/'], ['same-tree', 'https://www.acwing.com/activity/content/problem/content/2453/'], ['symmetric-tree', 'https://www.acwing.com/activity/content/problem/content/2454/'], ['binary-tree-level-order-traversal', 'https://www.acwing.com/activity/content/problem/content/2455/'], ['binary-tree-zigzag-level-order-traversal', 'https://www.acwing.com/activity/content/problem/content/2456/'], ['maximum-depth-of-binary-tree', 'https://www.acwing.com/activity/content/problem/content/2457/'], ['construct-binary-tree-from-preorder-and-inorder-traversal', 'https://www.acwing.com/activity/content/problem/content/2458/'], ['construct-binary-tree-from-inorder-and-postorder-traversal', 'https://www.acwing.com/activity/content/problem/content/2459/'], ['binary-tree-level-order-traversal-ii', 'https://www.acwing.com/activity/content/problem/content/2460/'], ['convert-sorted-array-to-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/2461/'], ['convert-sorted-list-to-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/2462/'], ['balanced-binary-tree', 'https://www.acwing.com/activity/content/problem/content/2463/'], ['minimum-depth-of-binary-tree', 'https://www.acwing.com/activity/content/problem/content/2473/'], ['path-sum', 'https://www.acwing.com/activity/content/problem/content/2474/'], ['path-sum-ii', 'https://www.acwing.com/activity/content/problem/content/2475/'], ['flatten-binary-tree-to-linked-list', 'https://www.acwing.com/activity/content/problem/content/2476/'], ['distinct-subsequences', 'https://www.acwing.com/activity/content/problem/content/2477/'], ['populating-next-right-pointers-in-each-node', 'https://www.acwing.com/activity/content/problem/content/2478/'], ['populating-next-right-pointers-in-each-node-ii', 'https://www.acwing.com/activity/content/problem/content/2479/'], ['pascals-triangle', 'https://www.acwing.com/activity/content/problem/content/2480/'], ['pascals-triangle-ii', 'https://www.acwing.com/activity/content/problem/content/2481/'], ['triangle', 'https://www.acwing.com/activity/content/problem/content/2482/'], ['best-time-to-buy-and-sell-stock', 'https://www.acwing.com/activity/content/problem/content/2483/'], ['best-time-to-buy-and-sell-stock-ii', 'https://www.acwing.com/activity/content/problem/content/2484/'], ['best-time-to-buy-and-sell-stock-iii', 'https://www.acwing.com/activity/content/problem/content/2485/'], ['binary-tree-maximum-path-sum', 'https://www.acwing.com/activity/content/problem/content/2486/'], ['valid-palindrome', 'https://www.acwing.com/activity/content/problem/content/2487/'], ['word-ladder-ii', 'https://www.acwing.com/activity/content/problem/content/2488/'], ['word-ladder', 'https://www.acwing.com/activity/content/problem/content/2489/'], ['longest-consecutive-sequence', 'https://www.acwing.com/activity/content/problem/content/2490/'], ['sum-root-to-leaf-numbers', 'https://www.acwing.com/activity/content/problem/content/2491/'], ['surrounded-regions', 'https://www.acwing.com/activity/content/problem/content/2492/'], ['palindrome-partitioning', 'https://www.acwing.com/activity/content/problem/content/2501/'], ['palindrome-partitioning-ii', 'https://www.acwing.com/activity/content/problem/content/2502/'], ['clone-graph', 'https://www.acwing.com/activity/content/problem/content/2503/'], ['gas-station', 'https://www.acwing.com/activity/content/problem/content/2504/'], ['candy', 'https://www.acwing.com/activity/content/problem/content/2505/'], ['single-number', 'https://www.acwing.com/activity/content/problem/content/2506/'], ['single-number-ii', 'https://www.acwing.com/activity/content/problem/content/2507/'], ['copy-list-with-random-pointer', 'https://www.acwing.com/activity/content/problem/content/2508/'], ['word-break', 'https://www.acwing.com/activity/content/problem/content/2509/'], ['word-break-ii', 'https://www.acwing.com/activity/content/problem/content/2510/'], ['linked-list-cycle', 'https://www.acwing.com/activity/content/problem/content/2511/'], ['linked-list-cycle-ii', 'https://www.acwing.com/activity/content/problem/content/2512/'], ['reorder-list', 'https://www.acwing.com/activity/content/problem/content/2513/'], ['binary-tree-preorder-traversal', 'https://www.acwing.com/activity/content/problem/content/2514/'], ['binary-tree-postorder-traversal', 'https://www.acwing.com/activity/content/problem/content/2515/'], ['lru-cache', 'https://www.acwing.com/activity/content/problem/content/2516/'], ['insertion-sort-list', 'https://www.acwing.com/activity/content/problem/content/2517/'], ['sort-list', 'https://www.acwing.com/activity/content/problem/content/2518/'], ['max-points-on-a-line', 'https://www.acwing.com/activity/content/problem/content/2519/'], ['evaluate-reverse-polish-notation', 'https://www.acwing.com/activity/content/problem/content/2520/'], ['reverse-words-in-a-string', 'https://www.acwing.com/activity/content/problem/content/2532/'], ['maximum-product-subarray', 'https://www.acwing.com/activity/content/problem/content/2533/'], ['find-minimum-in-rotated-sorted-array', 'https://www.acwing.com/activity/content/problem/content/2534/'], ['find-minimum-in-rotated-sorted-array-ii', 'https://www.acwing.com/activity/content/problem/content/2535/'], ['min-stack', 'https://www.acwing.com/activity/content/problem/content/2536/'], ['intersection-of-two-linked-lists', 'https://www.acwing.com/activity/content/problem/content/2537/'], ['find-peak-element', 'https://www.acwing.com/activity/content/problem/content/2538/'], ['maximum-gap', 'https://www.acwing.com/activity/content/problem/content/2539/'], ['compare-version-numbers', 'https://www.acwing.com/activity/content/problem/content/2540/'], ['fraction-to-recurring-decimal', 'https://www.acwing.com/activity/content/problem/content/2541/'], ['two-sum-ii-input-array-is-sorted', 'https://www.acwing.com/activity/content/problem/content/2542/'], ['excel-sheet-column-title', 'https://www.acwing.com/activity/content/problem/content/2543/'], ['majority-element', 'https://www.acwing.com/activity/content/problem/content/2544/'], ['excel-sheet-column-number', 'https://www.acwing.com/activity/content/problem/content/2545/'], ['factorial-trailing-zeroes', 'https://www.acwing.com/activity/content/problem/content/2546/'], ['binary-search-tree-iterator', 'https://www.acwing.com/activity/content/problem/content/2547/'], ['dungeon-game', 'https://www.acwing.com/activity/content/problem/content/2548/'], ['largest-number', 'https://www.acwing.com/activity/content/problem/content/2549/'], ['repeated-dna-sequences', 'https://www.acwing.com/activity/content/problem/content/2550/'], ['best-time-to-buy-and-sell-stock-iv', 'https://www.acwing.com/activity/content/problem/content/2551/'], ['rotate-array', 'https://www.acwing.com/activity/content/problem/content/2563/'], ['reverse-bits', 'https://www.acwing.com/activity/content/problem/content/2564/'], ['number-of-1-bits', 'https://www.acwing.com/activity/content/problem/content/2565/'], ['house-robber', 'https://www.acwing.com/activity/content/problem/content/2566/'], ['binary-tree-right-side-view', 'https://www.acwing.com/activity/content/problem/content/2567/'], ['number-of-islands', 'https://www.acwing.com/activity/content/problem/content/2568/'], ['bitwise-and-of-numbers-range', 'https://www.acwing.com/activity/content/problem/content/2569/'], ['happy-number', 'https://www.acwing.com/activity/content/problem/content/2570/'], ['remove-linked-list-elements', 'https://www.acwing.com/activity/content/problem/content/2571/'], ['count-primes', 'https://www.acwing.com/activity/content/problem/content/2572/'], ['isomorphic-strings', 'https://www.acwing.com/activity/content/problem/content/2573/'], ['reverse-linked-list', 'https://www.acwing.com/activity/content/problem/content/2574/'], ['course-schedule', 'https://www.acwing.com/activity/content/problem/content/2575/'], ['implement-trie-prefix-tree', 'https://www.acwing.com/activity/content/problem/content/2576/'], ['minimum-size-subarray-sum', 'https://www.acwing.com/activity/content/problem/content/2577/'], ['course-schedule-ii', 'https://www.acwing.com/activity/content/problem/content/2578/'], ['design-add-and-search-words-data-structure', 'https://www.acwing.com/activity/content/problem/content/2579/'], ['word-search-ii', 'https://www.acwing.com/activity/content/problem/content/2580/'], ['house-robber-ii', 'https://www.acwing.com/activity/content/problem/content/2581/'], ['shortest-palindrome', 'https://www.acwing.com/activity/content/problem/content/2582/'], ['kth-largest-element-in-an-array', 'https://www.acwing.com/activity/content/problem/content/2596/'], ['combination-sum-iii', 'https://www.acwing.com/activity/content/problem/content/2597/'], ['contains-duplicate', 'https://www.acwing.com/activity/content/problem/content/2598/'], ['the-skyline-problem', 'https://www.acwing.com/activity/content/problem/content/2599/'], ['contains-duplicate-ii', 'https://www.acwing.com/activity/content/problem/content/2600/'], ['contains-duplicate-iii', 'https://www.acwing.com/activity/content/problem/content/2601/'], ['maximal-square', 'https://www.acwing.com/activity/content/problem/content/2602/'], ['count-complete-tree-nodes', 'https://www.acwing.com/activity/content/problem/content/2603/'], ['rectangle-area', 'https://www.acwing.com/activity/content/problem/content/2604/'], ['basic-calculator', 'https://www.acwing.com/activity/content/problem/content/2605/'], ['implement-stack-using-queues', 'https://www.acwing.com/activity/content/problem/content/2606/'], ['invert-binary-tree', 'https://www.acwing.com/activity/content/problem/content/2607/'], ['basic-calculator-ii', 'https://www.acwing.com/activity/content/problem/content/2608/'], ['summary-ranges', 'https://www.acwing.com/activity/content/problem/content/2609/'], ['majority-element-ii', 'https://www.acwing.com/activity/content/problem/content/2610/'], ['kth-smallest-element-in-a-bst', 'https://www.acwing.com/activity/content/problem/content/2611/'], ['power-of-two', 'https://www.acwing.com/activity/content/problem/content/2612/'], ['implement-queue-using-stacks', 'https://www.acwing.com/activity/content/problem/content/2613/'], ['number-of-digit-one', 'https://www.acwing.com/activity/content/problem/content/2614/'], ['palindrome-linked-list', 'https://www.acwing.com/activity/content/problem/content/2615/'], ['lowest-common-ancestor-of-a-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/2629/'], ['lowest-common-ancestor-of-a-binary-tree', 'https://www.acwing.com/activity/content/problem/content/2630/'], ['delete-node-in-a-linked-list', 'https://www.acwing.com/activity/content/problem/content/2631/'], ['product-of-array-except-self', 'https://www.acwing.com/activity/content/problem/content/2632/'], ['sliding-window-maximum', 'https://www.acwing.com/activity/content/problem/content/2633/'], ['search-a-2d-matrix-ii', 'https://www.acwing.com/activity/content/problem/content/2634/'], ['different-ways-to-add-parentheses', 'https://www.acwing.com/activity/content/problem/content/2635/'], ['valid-anagram', 'https://www.acwing.com/activity/content/problem/content/2636/'], ['binary-tree-paths', 'https://www.acwing.com/activity/content/problem/content/2637/'], ['add-digits', 'https://www.acwing.com/activity/content/problem/content/2638/'], ['single-number-iii', 'https://www.acwing.com/activity/content/problem/content/2639/'], ['ugly-number', 'https://www.acwing.com/activity/content/problem/content/2640/'], ['ugly-number-ii', 'https://www.acwing.com/activity/content/problem/content/2641/'], ['missing-number', 'https://www.acwing.com/activity/content/problem/content/2642/'], ['integer-to-english-words', 'https://www.acwing.com/activity/content/problem/content/2643/'], ['h-index', 'https://www.acwing.com/activity/content/problem/content/2644/'], ['h-index-ii', 'https://www.acwing.com/activity/content/problem/content/2645/'], ['first-bad-version', 'https://www.acwing.com/activity/content/problem/content/2646/'], ['perfect-squares', 'https://www.acwing.com/activity/content/problem/content/2647/'], ['expression-add-operators', 'https://www.acwing.com/activity/content/problem/content/2648/'], ['move-zeroes', 'https://www.acwing.com/activity/content/problem/content/2663/'], ['peeking-iterator', 'https://www.acwing.com/activity/content/problem/content/2664/'], ['find-the-duplicate-number', 'https://www.acwing.com/activity/content/problem/content/2665/'], ['game-of-life', 'https://www.acwing.com/activity/content/problem/content/2666/'], ['word-pattern', 'https://www.acwing.com/activity/content/problem/content/2667/'], ['nim-game', 'https://www.acwing.com/activity/content/problem/content/2668/'], ['find-median-from-data-stream', 'https://www.acwing.com/activity/content/problem/content/2669/'], ['serialize-and-deserialize-binary-tree', 'https://www.acwing.com/activity/content/problem/content/2670/'], ['bulls-and-cows', 'https://www.acwing.com/activity/content/problem/content/2671/'], ['longest-increasing-subsequence', 'https://www.acwing.com/activity/content/problem/content/2672/'], ['remove-invalid-parentheses', 'https://www.acwing.com/activity/content/problem/content/2673/'], ['range-sum-query-immutable', 'https://www.acwing.com/activity/content/problem/content/2674/'], ['range-sum-query-2d-immutable', 'https://www.acwing.com/activity/content/problem/content/2675/'], ['additive-number', 'https://www.acwing.com/activity/content/problem/content/2676/'], ['range-sum-query-mutable', 'https://www.acwing.com/activity/content/problem/content/2677/'], ['best-time-to-buy-and-sell-stock-with-cooldown', 'https://www.acwing.com/activity/content/problem/content/2678/'], ['minimum-height-trees', 'https://www.acwing.com/activity/content/problem/content/2679/'], ['burst-balloons', 'https://www.acwing.com/activity/content/problem/content/2680/'], ['super-ugly-number', 'https://www.acwing.com/activity/content/problem/content/2681/'], ['count-of-smaller-numbers-after-self', 'https://www.acwing.com/activity/content/problem/content/2682/'], ['remove-duplicate-letters', 'https://www.acwing.com/activity/content/problem/content/2709/'], ['maximum-product-of-word-lengths', 'https://www.acwing.com/activity/content/problem/content/2710/'], ['bulb-switcher', 'https://www.acwing.com/activity/content/problem/content/2711/'], ['create-maximum-number', 'https://www.acwing.com/activity/content/problem/content/2712/'], ['coin-change', 'https://www.acwing.com/activity/content/problem/content/2713/'], ['wiggle-sort-ii', 'https://www.acwing.com/activity/content/problem/content/2714/'], ['power-of-three', 'https://www.acwing.com/activity/content/problem/content/2715/'], ['count-of-range-sum', 'https://www.acwing.com/activity/content/problem/content/2716/'], ['odd-even-linked-list', 'https://www.acwing.com/activity/content/problem/content/2717/'], ['longest-increasing-path-in-a-matrix', 'https://www.acwing.com/activity/content/problem/content/2718/'], ['patching-array', 'https://www.acwing.com/activity/content/problem/content/2719/'], ['verify-preorder-serialization-of-a-binary-tree', 'https://www.acwing.com/activity/content/problem/content/2720/'], ['reconstruct-itinerary', 'https://www.acwing.com/activity/content/problem/content/2721/'], ['increasing-triplet-subsequence', 'https://www.acwing.com/activity/content/problem/content/2722/'], ['self-crossing', 'https://www.acwing.com/activity/content/problem/content/2723/'], ['palindrome-pairs', 'https://www.acwing.com/activity/content/problem/content/2724/'], ['house-robber-iii', 'https://www.acwing.com/activity/content/problem/content/2725/'], ['counting-bits', 'https://www.acwing.com/activity/content/problem/content/2726/'], ['flatten-nested-list-iterator', 'https://www.acwing.com/activity/content/problem/content/2727/'], ['power-of-four', 'https://www.acwing.com/activity/content/problem/content/2728/'], ['integer-break', 'https://www.acwing.com/activity/content/problem/content/2733/'], ['reverse-string', 'https://www.acwing.com/activity/content/problem/content/2734/'], ['reverse-vowels-of-a-string', 'https://www.acwing.com/activity/content/problem/content/2735/'], ['top-k-frequent-elements', 'https://www.acwing.com/activity/content/problem/content/2736/'], ['intersection-of-two-arrays', 'https://www.acwing.com/activity/content/problem/content/2737/'], ['intersection-of-two-arrays-ii', 'https://www.acwing.com/activity/content/problem/content/2738/'], ['data-stream-as-disjoint-intervals', 'https://www.acwing.com/activity/content/problem/content/2739/'], ['russian-doll-envelopes', 'https://www.acwing.com/activity/content/problem/content/2740/'], ['design-twitter', 'https://www.acwing.com/activity/content/problem/content/2741/'], ['count-numbers-with-unique-digits', 'https://www.acwing.com/activity/content/problem/content/2742/'], ['max-sum-of-rectangle-no-larger-than-k', 'https://www.acwing.com/activity/content/problem/content/2743/'], ['water-and-jug-problem', 'https://www.acwing.com/activity/content/problem/content/2744/'], ['valid-perfect-square', 'https://www.acwing.com/activity/content/problem/content/2745/'], ['largest-divisible-subset', 'https://www.acwing.com/activity/content/problem/content/2746/'], ['sum-of-two-integers', 'https://www.acwing.com/activity/content/problem/content/2747/'], ['super-pow', 'https://www.acwing.com/activity/content/problem/content/2748/'], ['find-k-pairs-with-smallest-sums', 'https://www.acwing.com/activity/content/problem/content/2749/'], ['guess-number-higher-or-lower', 'https://www.acwing.com/activity/content/problem/content/2750/'], ['guess-number-higher-or-lower-ii', 'https://www.acwing.com/activity/content/problem/content/2751/'], ['wiggle-subsequence', 'https://www.acwing.com/activity/content/problem/content/2752/'], ['combination-sum-iv', 'https://www.acwing.com/activity/content/problem/content/2763/'], ['kth-smallest-element-in-a-sorted-matrix', 'https://www.acwing.com/activity/content/problem/content/2764/'], ['insert-delete-getrandom-o1', 'https://www.acwing.com/activity/content/problem/content/2765/'], ['insert-delete-getrandom-o1-duplicates-allowed', 'https://www.acwing.com/activity/content/problem/content/2766/'], ['linked-list-random-node', 'https://www.acwing.com/activity/content/problem/content/2767/'], ['ransom-note', 'https://www.acwing.com/activity/content/problem/content/2768/'], ['shuffle-an-array', 'https://www.acwing.com/activity/content/problem/content/2769/'], ['mini-parser', 'https://www.acwing.com/activity/content/problem/content/2770/'], ['lexicographical-numbers', 'https://www.acwing.com/activity/content/problem/content/2771/'], ['first-unique-character-in-a-string', 'https://www.acwing.com/activity/content/problem/content/2772/'], ['longest-absolute-file-path', 'https://www.acwing.com/activity/content/problem/content/2773/'], ['find-the-difference', 'https://www.acwing.com/activity/content/problem/content/2774/'], ['elimination-game', 'https://www.acwing.com/activity/content/problem/content/2775/'], ['perfect-rectangle', 'https://www.acwing.com/activity/content/problem/content/2776/'], ['is-subsequence', 'https://www.acwing.com/activity/content/problem/content/2777/'], ['utf-8-validation', 'https://www.acwing.com/activity/content/problem/content/2778/'], ['decode-string', 'https://www.acwing.com/activity/content/problem/content/2779/'], ['longest-substring-with-at-least-k-repeating-characters', 'https://www.acwing.com/activity/content/problem/content/2780/'], ['rotate-function', 'https://www.acwing.com/activity/content/problem/content/2781/'], ['integer-replacement', 'https://www.acwing.com/activity/content/problem/content/2782/'], ['random-pick-index', 'https://www.acwing.com/activity/content/problem/content/2797/'], ['evaluate-division', 'https://www.acwing.com/activity/content/problem/content/2798/'], ['nth-digit', 'https://www.acwing.com/activity/content/problem/content/2799/'], ['binary-watch', 'https://www.acwing.com/activity/content/problem/content/2800/'], ['remove-k-digits', 'https://www.acwing.com/activity/content/problem/content/2801/'], ['frog-jump', 'https://www.acwing.com/activity/content/problem/content/2802/'], ['sum-of-left-leaves', 'https://www.acwing.com/activity/content/problem/content/2803/'], ['convert-a-number-to-hexadecimal', 'https://www.acwing.com/activity/content/problem/content/2804/'], ['queue-reconstruction-by-height', 'https://www.acwing.com/activity/content/problem/content/2805/'], ['trapping-rain-water-ii', 'https://www.acwing.com/activity/content/problem/content/2806/'], ['longest-palindrome', 'https://www.acwing.com/activity/content/problem/content/2807/'], ['split-array-largest-sum', 'https://www.acwing.com/activity/content/problem/content/2808/'], ['fizz-buzz', 'https://www.acwing.com/activity/content/problem/content/2809/'], ['arithmetic-slices', 'https://www.acwing.com/activity/content/problem/content/2810/'], ['third-maximum-number', 'https://www.acwing.com/activity/content/problem/content/2811/'], ['add-strings', 'https://www.acwing.com/activity/content/problem/content/2812/'], ['partition-equal-subset-sum', 'https://www.acwing.com/activity/content/problem/content/2813/'], ['pacific-atlantic-water-flow', 'https://www.acwing.com/activity/content/problem/content/2814/'], ['battleships-in-a-board', 'https://www.acwing.com/activity/content/problem/content/2815/'], ['strong-password-checker', 'https://www.acwing.com/activity/content/problem/content/2816/'], ['maximum-xor-of-two-numbers-in-an-array', 'https://www.acwing.com/activity/content/problem/content/2819/'], ['reconstruct-original-digits-from-english', 'https://www.acwing.com/activity/content/problem/content/2820/'], ['longest-repeating-character-replacement', 'https://www.acwing.com/activity/content/problem/content/2821/'], ['construct-quad-tree', 'https://www.acwing.com/activity/content/problem/content/2822/'], ['n-ary-tree-level-order-traversal', 'https://www.acwing.com/activity/content/problem/content/2823/'], ['flatten-a-multilevel-doubly-linked-list', 'https://www.acwing.com/activity/content/problem/content/2824/'], ['all-oone-data-structure', 'https://www.acwing.com/activity/content/problem/content/2825/'], ['minimum-genetic-mutation', 'https://www.acwing.com/activity/content/problem/content/2826/'], ['number-of-segments-in-a-string', 'https://www.acwing.com/activity/content/problem/content/2827/'], ['non-overlapping-intervals', 'https://www.acwing.com/activity/content/problem/content/2828/'], ['find-right-interval', 'https://www.acwing.com/activity/content/problem/content/2858/'], ['path-sum-iii', 'https://www.acwing.com/activity/content/problem/content/2859/'], ['find-all-anagrams-in-a-string', 'https://www.acwing.com/activity/content/problem/content/2860/'], ['k-th-smallest-in-lexicographical-order', 'https://www.acwing.com/activity/content/problem/content/2861/'], ['arranging-coins', 'https://www.acwing.com/activity/content/problem/content/2862/'], ['find-all-duplicates-in-an-array', 'https://www.acwing.com/activity/content/problem/content/2863/'], ['string-compression', 'https://www.acwing.com/activity/content/problem/content/2864/'], ['add-two-numbers-ii', 'https://www.acwing.com/activity/content/problem/content/2865/'], ['arithmetic-slices-ii-subsequence', 'https://www.acwing.com/activity/content/problem/content/2866/'], ['number-of-boomerangs', 'https://www.acwing.com/activity/content/problem/content/2867/'], ['find-all-numbers-disappeared-in-an-array', 'https://www.acwing.com/activity/content/problem/content/2868/'], ['serialize-and-deserialize-bst', 'https://www.acwing.com/activity/content/problem/content/2869/'], ['delete-node-in-a-bst', 'https://www.acwing.com/activity/content/problem/content/2870/'], ['sort-characters-by-frequency', 'https://www.acwing.com/activity/content/problem/content/2871/'], ['minimum-number-of-arrows-to-burst-balloons', 'https://www.acwing.com/activity/content/problem/content/2872/'], ['minimum-moves-to-equal-array-elements', 'https://www.acwing.com/activity/content/problem/content/2873/'], ['4sum-ii', 'https://www.acwing.com/activity/content/problem/content/2874/'], ['assign-cookies', 'https://www.acwing.com/activity/content/problem/content/2875/'], ['132-pattern', 'https://www.acwing.com/activity/content/problem/content/2876/'], ['circular-array-loop', 'https://www.acwing.com/activity/content/problem/content/2877/'], ['poor-pigs', 'https://www.acwing.com/activity/content/problem/content/2878/'], ['repeated-substring-pattern', 'https://www.acwing.com/activity/content/problem/content/2879/'], ['lfu-cache', 'https://www.acwing.com/activity/content/problem/content/2880/'], ['hamming-distance', 'https://www.acwing.com/activity/content/problem/content/2881/'], ['minimum-moves-to-equal-array-elements-ii', 'https://www.acwing.com/activity/content/problem/content/2882/'], ['island-perimeter', 'https://www.acwing.com/activity/content/problem/content/2883/'], ['can-i-win', 'https://www.acwing.com/activity/content/problem/content/2884/'], ['count-the-repetitions', 'https://www.acwing.com/activity/content/problem/content/2885/'], ['unique-substrings-in-wraparound-string', 'https://www.acwing.com/activity/content/problem/content/2886/'], ['validate-ip-address', 'https://www.acwing.com/activity/content/problem/content/2887/'], ['implement-rand10-using-rand7', 'https://www.acwing.com/activity/content/problem/content/2888/'], ['concatenated-words', 'https://www.acwing.com/activity/content/problem/content/2889/'], ['matchsticks-to-square', 'https://www.acwing.com/activity/content/problem/content/2890/'], ['ones-and-zeroes', 'https://www.acwing.com/activity/content/problem/content/2891/'], ['heaters', 'https://www.acwing.com/activity/content/problem/content/2892/'], ['number-complement', 'https://www.acwing.com/activity/content/problem/content/2893/'], ['total-hamming-distance', 'https://www.acwing.com/activity/content/problem/content/2894/'], ['generate-random-point-in-a-circle', 'https://www.acwing.com/activity/content/problem/content/2895/'], ['largest-palindrome-product', 'https://www.acwing.com/activity/content/problem/content/2896/'], ['sliding-window-median', 'https://www.acwing.com/activity/content/problem/content/2897/'], ['magical-string', 'https://www.acwing.com/activity/content/problem/content/2908/'], ['license-key-formatting', 'https://www.acwing.com/activity/content/problem/content/2909/'], ['smallest-good-base', 'https://www.acwing.com/activity/content/problem/content/2910/'], ['max-consecutive-ones', 'https://www.acwing.com/activity/content/problem/content/2911/'], ['predict-the-winner', 'https://www.acwing.com/activity/content/problem/content/2912/'], ['zuma-game', 'https://www.acwing.com/activity/content/problem/content/2913/'], ['increasing-subsequences', 'https://www.acwing.com/activity/content/problem/content/2914/'], ['construct-the-rectangle', 'https://www.acwing.com/activity/content/problem/content/2915/'], ['reverse-pairs', 'https://www.acwing.com/activity/content/problem/content/2916/'], ['target-sum', 'https://www.acwing.com/activity/content/problem/content/2917/'], ['teemo-attacking', 'https://www.acwing.com/activity/content/problem/content/2918/'], ['next-greater-element-i', 'https://www.acwing.com/activity/content/problem/content/2919/'], ['random-point-in-non-overlapping-rectangles', 'https://www.acwing.com/activity/content/problem/content/2920/'], ['diagonal-traverse', 'https://www.acwing.com/activity/content/problem/content/2921/'], ['keyboard-row', 'https://www.acwing.com/activity/content/problem/content/2922/'], ['find-mode-in-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/2923/'], ['ipo', 'https://www.acwing.com/activity/content/problem/content/2924/'], ['next-greater-element-ii', 'https://www.acwing.com/activity/content/problem/content/2925/'], ['base-7', 'https://www.acwing.com/activity/content/problem/content/2926/'], ['relative-ranks', 'https://www.acwing.com/activity/content/problem/content/2927/'], ['perfect-number', 'https://www.acwing.com/activity/content/problem/content/2943/'], ['most-frequent-subtree-sum', 'https://www.acwing.com/activity/content/problem/content/2944/'], ['fibonacci-number', 'https://www.acwing.com/activity/content/problem/content/2945/'], ['find-bottom-left-tree-value', 'https://www.acwing.com/activity/content/problem/content/2946/'], ['freedom-trail', 'https://www.acwing.com/activity/content/problem/content/2947/'], ['find-largest-value-in-each-tree-row', 'https://www.acwing.com/activity/content/problem/content/2948/'], ['longest-palindromic-subsequence', 'https://www.acwing.com/activity/content/problem/content/2949/'], ['super-washing-machines', 'https://www.acwing.com/activity/content/problem/content/2950/'], ['coin-change-2', 'https://www.acwing.com/activity/content/problem/content/2951/'], ['random-flip-matrix', 'https://www.acwing.com/activity/content/problem/content/2952/'], ['detect-capital', 'https://www.acwing.com/activity/content/problem/content/2953/'], ['longest-uncommon-subsequence-i', 'https://www.acwing.com/activity/content/problem/content/2954/'], ['longest-uncommon-subsequence-ii', 'https://www.acwing.com/activity/content/problem/content/2955/'], ['continuous-subarray-sum', 'https://www.acwing.com/activity/content/problem/content/2956/'], ['longest-word-in-dictionary-through-deleting', 'https://www.acwing.com/activity/content/problem/content/2957/'], ['contiguous-array', 'https://www.acwing.com/activity/content/problem/content/2958/'], ['beautiful-arrangement', 'https://www.acwing.com/activity/content/problem/content/2959/'], ['random-pick-with-weight', 'https://www.acwing.com/activity/content/problem/content/2960/'], ['minesweeper', 'https://www.acwing.com/activity/content/problem/content/2961/'], ['minimum-absolute-difference-in-bst', 'https://www.acwing.com/activity/content/problem/content/2962/'], ['k-diff-pairs-in-an-array', 'https://www.acwing.com/activity/content/problem/content/3032/'], ['encode-and-decode-tinyurl', 'https://www.acwing.com/activity/content/problem/content/3033/'], ['complex-number-multiplication', 'https://www.acwing.com/activity/content/problem/content/3034/'], ['convert-bst-to-greater-tree', 'https://www.acwing.com/activity/content/problem/content/3035/'], ['minimum-time-difference', 'https://www.acwing.com/activity/content/problem/content/3036/'], ['single-element-in-a-sorted-array', 'https://www.acwing.com/activity/content/problem/content/3037/'], ['reverse-string-ii', 'https://www.acwing.com/activity/content/problem/content/3038/'], ['01-matrix', 'https://www.acwing.com/activity/content/problem/content/3039/'], ['diameter-of-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3040/'], ['remove-boxes', 'https://www.acwing.com/activity/content/problem/content/3041/'], ['number-of-provinces', 'https://www.acwing.com/activity/content/problem/content/3042/'], ['student-attendance-record-i', 'https://www.acwing.com/activity/content/problem/content/3043/'], ['student-attendance-record-ii', 'https://www.acwing.com/activity/content/problem/content/3044/'], ['optimal-division', 'https://www.acwing.com/activity/content/problem/content/3045/'], ['brick-wall', 'https://www.acwing.com/activity/content/problem/content/3046/'], ['next-greater-element-iii', 'https://www.acwing.com/activity/content/problem/content/3047/'], ['reverse-words-in-a-string-iii', 'https://www.acwing.com/activity/content/problem/content/3048/'], ['logical-or-of-two-binary-grids-represented-as-quad-trees', 'https://www.acwing.com/activity/content/problem/content/3049/'], ['maximum-depth-of-n-ary-tree', 'https://www.acwing.com/activity/content/problem/content/3050/'], ['subarray-sum-equals-k', 'https://www.acwing.com/activity/content/problem/content/3051/'], ['array-partition', 'https://www.acwing.com/activity/content/problem/content/3161/'], ['binary-tree-tilt', 'https://www.acwing.com/activity/content/problem/content/3162/'], ['find-the-closest-palindrome', 'https://www.acwing.com/activity/content/problem/content/3163/'], ['array-nesting', 'https://www.acwing.com/activity/content/problem/content/3164/'], ['reshape-the-matrix', 'https://www.acwing.com/activity/content/problem/content/3165/'], ['permutation-in-string', 'https://www.acwing.com/activity/content/problem/content/3166/'], ['subtree-of-another-tree', 'https://www.acwing.com/activity/content/problem/content/3167/'], ['distribute-candies', 'https://www.acwing.com/activity/content/problem/content/3168/'], ['out-of-boundary-paths', 'https://www.acwing.com/activity/content/problem/content/3169/'], ['shortest-unsorted-continuous-subarray', 'https://www.acwing.com/activity/content/problem/content/3170/'], ['delete-operation-for-two-strings', 'https://www.acwing.com/activity/content/problem/content/3171/'], ['erect-the-fence', 'https://www.acwing.com/activity/content/problem/content/3172/'], ['n-ary-tree-preorder-traversal', 'https://www.acwing.com/activity/content/problem/content/3173/'], ['n-ary-tree-postorder-traversal', 'https://www.acwing.com/activity/content/problem/content/3174/'], ['tag-validator', 'https://www.acwing.com/activity/content/problem/content/3175/'], ['fraction-addition-and-subtraction', 'https://www.acwing.com/activity/content/problem/content/3176/'], ['valid-square', 'https://www.acwing.com/activity/content/problem/content/3177/'], ['longest-harmonious-subsequence', 'https://www.acwing.com/activity/content/problem/content/3178/'], ['range-addition-ii', 'https://www.acwing.com/activity/content/problem/content/3179/'], ['minimum-index-sum-of-two-lists', 'https://www.acwing.com/activity/content/problem/content/3180/'], ['non-negative-integers-without-consecutive-ones', 'https://www.acwing.com/activity/content/problem/content/3193/'], ['can-place-flowers', 'https://www.acwing.com/activity/content/problem/content/3194/'], ['construct-string-from-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3195/'], ['find-duplicate-file-in-system', 'https://www.acwing.com/activity/content/problem/content/3196/'], ['valid-triangle-number', 'https://www.acwing.com/activity/content/problem/content/3197/'], ['merge-two-binary-trees', 'https://www.acwing.com/activity/content/problem/content/3198/'], ['task-scheduler', 'https://www.acwing.com/activity/content/problem/content/3199/'], ['design-circular-queue', 'https://www.acwing.com/activity/content/problem/content/3200/'], ['add-one-row-to-tree', 'https://www.acwing.com/activity/content/problem/content/3201/'], ['maximum-product-of-three-numbers', 'https://www.acwing.com/activity/content/problem/content/3202/'], ['k-inverse-pairs-array', 'https://www.acwing.com/activity/content/problem/content/3216/'], ['course-schedule-iii', 'https://www.acwing.com/activity/content/problem/content/3217/'], ['smallest-range-covering-elements-from-k-lists', 'https://www.acwing.com/activity/content/problem/content/3218/'], ['sum-of-square-numbers', 'https://www.acwing.com/activity/content/problem/content/3219/'], ['exclusive-time-of-functions', 'https://www.acwing.com/activity/content/problem/content/3220/'], ['average-of-levels-in-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3221/'], ['shopping-offers', 'https://www.acwing.com/activity/content/problem/content/3222/'], ['decode-ways-ii', 'https://www.acwing.com/activity/content/problem/content/3223/'], ['solve-the-equation', 'https://www.acwing.com/activity/content/problem/content/3224/'], ['design-circular-deque', 'https://www.acwing.com/activity/content/problem/content/3225/'], ['maximum-average-subarray-i', 'https://www.acwing.com/activity/content/problem/content/3226/'], ['set-mismatch', 'https://www.acwing.com/activity/content/problem/content/3227/'], ['maximum-length-of-pair-chain', 'https://www.acwing.com/activity/content/problem/content/3228/'], ['palindromic-substrings', 'https://www.acwing.com/activity/content/problem/content/3229/'], ['replace-words', 'https://www.acwing.com/activity/content/problem/content/3230/'], ['dota2-senate', 'https://www.acwing.com/activity/content/problem/content/3231/'], ['2-keys-keyboard', 'https://www.acwing.com/activity/content/problem/content/3232/'], ['find-duplicate-subtrees', 'https://www.acwing.com/activity/content/problem/content/3233/'], ['two-sum-iv-input-is-a-bst', 'https://www.acwing.com/activity/content/problem/content/3234/'], ['maximum-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3235/'], ['print-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3260/'], ['robot-return-to-origin', 'https://www.acwing.com/activity/content/problem/content/3261/'], ['find-k-closest-elements', 'https://www.acwing.com/activity/content/problem/content/3262/'], ['split-array-into-consecutive-subsequences', 'https://www.acwing.com/activity/content/problem/content/3263/'], ['image-smoother', 'https://www.acwing.com/activity/content/problem/content/3264/'], ['maximum-width-of-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3265/'], ['strange-printer', 'https://www.acwing.com/activity/content/problem/content/3266/'], ['non-decreasing-array', 'https://www.acwing.com/activity/content/problem/content/3267/'], ['beautiful-arrangement-ii', 'https://www.acwing.com/activity/content/problem/content/3268/'], ['kth-smallest-number-in-multiplication-table', 'https://www.acwing.com/activity/content/problem/content/3269/'], ['trim-a-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/3270/'], ['maximum-swap', 'https://www.acwing.com/activity/content/problem/content/3271/'], ['second-minimum-node-in-a-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3272/'], ['bulb-switcher-ii', 'https://www.acwing.com/activity/content/problem/content/3273/'], ['number-of-longest-increasing-subsequence', 'https://www.acwing.com/activity/content/problem/content/3274/'], ['longest-continuous-increasing-subsequence', 'https://www.acwing.com/activity/content/problem/content/3275/'], ['cut-off-trees-for-golf-event', 'https://www.acwing.com/activity/content/problem/content/3276/'], ['implement-magic-dictionary', 'https://www.acwing.com/activity/content/problem/content/3277/'], ['map-sum-pairs', 'https://www.acwing.com/activity/content/problem/content/3278/'], ['valid-parenthesis-string', 'https://www.acwing.com/activity/content/problem/content/3279/'], ['24-game', 'https://www.acwing.com/activity/content/problem/content/3280/'], ['valid-palindrome-ii', 'https://www.acwing.com/activity/content/problem/content/3281/'], ['baseball-game', 'https://www.acwing.com/activity/content/problem/content/3282/'], ['redundant-connection', 'https://www.acwing.com/activity/content/problem/content/3283/'], ['redundant-connection-ii', 'https://www.acwing.com/activity/content/problem/content/3284/'], ['repeated-string-match', 'https://www.acwing.com/activity/content/problem/content/3285/'], ['longest-univalue-path', 'https://www.acwing.com/activity/content/problem/content/3286/'], ['knight-probability-in-chessboard', 'https://www.acwing.com/activity/content/problem/content/3287/'], ['maximum-sum-of-3-non-overlapping-subarrays', 'https://www.acwing.com/activity/content/problem/content/3288/'], ['employee-importance', 'https://www.acwing.com/activity/content/problem/content/3289/'], ['stickers-to-spell-word', 'https://www.acwing.com/activity/content/problem/content/3290/'], ['top-k-frequent-words', 'https://www.acwing.com/activity/content/problem/content/3291/'], ['binary-number-with-alternating-bits', 'https://www.acwing.com/activity/content/problem/content/3292/'], ['max-area-of-island', 'https://www.acwing.com/activity/content/problem/content/3293/'], ['count-binary-substrings', 'https://www.acwing.com/activity/content/problem/content/3294/'], ['degree-of-an-array', 'https://www.acwing.com/activity/content/problem/content/3295/'], ['partition-to-k-equal-sum-subsets', 'https://www.acwing.com/activity/content/problem/content/3296/'], ['falling-squares', 'https://www.acwing.com/activity/content/problem/content/3297/'], ['search-in-a-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/3298/'], ['insert-into-a-binary-search-tree', 'https://www.acwing.com/activity/content/problem/content/3299/'], ['kth-largest-element-in-a-stream', 'https://www.acwing.com/activity/content/problem/content/3300/'], ['binary-search', 'https://www.acwing.com/activity/content/problem/content/3301/'], ['design-hashset', 'https://www.acwing.com/activity/content/problem/content/3302/'], ['design-hashmap', 'https://www.acwing.com/activity/content/problem/content/3303/'], ['design-linked-list', 'https://www.acwing.com/activity/content/problem/content/3304/'], ['to-lower-case', 'https://www.acwing.com/activity/content/problem/content/3305/'], ['random-pick-with-blacklist', 'https://www.acwing.com/activity/content/problem/content/3306/'], ['minimum-ascii-delete-sum-for-two-strings', 'https://www.acwing.com/activity/content/problem/content/3307/'], ['subarray-product-less-than-k', 'https://www.acwing.com/activity/content/problem/content/3308/'], ['best-time-to-buy-and-sell-stock-with-transaction-fee', 'https://www.acwing.com/activity/content/problem/content/3309/'], ['range-module', 'https://www.acwing.com/activity/content/problem/content/3310/'], ['1-bit-and-2-bit-characters', 'https://www.acwing.com/activity/content/problem/content/3311/'], ['maximum-length-of-repeated-subarray', 'https://www.acwing.com/activity/content/problem/content/3312/'], ['find-k-th-smallest-pair-distance', 'https://www.acwing.com/activity/content/problem/content/3313/'], ['longest-word-in-dictionary', 'https://www.acwing.com/activity/content/problem/content/3314/'], ['accounts-merge', 'https://www.acwing.com/activity/content/problem/content/3315/'], ['remove-comments', 'https://www.acwing.com/activity/content/problem/content/3316/'], ['find-pivot-index', 'https://www.acwing.com/activity/content/problem/content/3317/'], ['split-linked-list-in-parts', 'https://www.acwing.com/activity/content/problem/content/3318/'], ['number-of-atoms', 'https://www.acwing.com/activity/content/problem/content/3319/'], ['self-dividing-numbers', 'https://www.acwing.com/activity/content/problem/content/3320/'], ['my-calendar-i', 'https://www.acwing.com/activity/content/problem/content/3321/'], ['count-different-palindromic-subsequences', 'https://www.acwing.com/activity/content/problem/content/3322/'], ['my-calendar-ii', 'https://www.acwing.com/activity/content/problem/content/3323/'], ['my-calendar-iii', 'https://www.acwing.com/activity/content/problem/content/3324/'], ['flood-fill', 'https://www.acwing.com/activity/content/problem/content/3325/'], ['asteroid-collision', 'https://www.acwing.com/activity/content/problem/content/3326/'], ['parse-lisp-expression', 'https://www.acwing.com/activity/content/problem/content/3327/'], ['monotone-increasing-digits', 'https://www.acwing.com/activity/content/problem/content/3328/'], ['daily-temperatures', 'https://www.acwing.com/activity/content/problem/content/3329/'], ['delete-and-earn', 'https://www.acwing.com/activity/content/problem/content/3330/'], ['cherry-pickup', 'https://www.acwing.com/activity/content/problem/content/3331/'], ['network-delay-time', 'https://www.acwing.com/activity/content/problem/content/3332/'], ['find-smallest-letter-greater-than-target', 'https://www.acwing.com/activity/content/problem/content/3333/'], ['prefix-and-suffix-search', 'https://www.acwing.com/activity/content/problem/content/3334/'], ['min-cost-climbing-stairs', 'https://www.acwing.com/activity/content/problem/content/3339/'], ['largest-number-at-least-twice-of-others', 'https://www.acwing.com/activity/content/problem/content/3335/'], ['shortest-completing-word', 'https://www.acwing.com/activity/content/problem/content/3336/'], ['contain-virus', 'https://www.acwing.com/activity/content/problem/content/3337/'], ['open-the-lock', 'https://www.acwing.com/activity/content/problem/content/3338/'], ['cracking-the-safe', 'https://www.acwing.com/activity/content/problem/content/3667/'], ['reach-a-number', 'https://www.acwing.com/activity/content/problem/content/3668/'], ['pyramid-transition-matrix', 'https://www.acwing.com/activity/content/problem/content/3669/'], ['set-intersection-size-at-least-two', 'https://www.acwing.com/activity/content/problem/content/3670/'], ['special-binary-string', 'https://www.acwing.com/activity/content/problem/content/3671/'], ['prime-number-of-set-bits-in-binary-representation', 'https://www.acwing.com/activity/content/problem/content/3672/'], ['partition-labels', 'https://www.acwing.com/activity/content/problem/content/3673/'], ['largest-plus-sign', 'https://www.acwing.com/activity/content/problem/content/3674/'], ['couples-holding-hands', 'https://www.acwing.com/activity/content/problem/content/3675/'], ['toeplitz-matrix', 'https://www.acwing.com/activity/content/problem/content/3676/'], ['reorganize-string', 'https://www.acwing.com/activity/content/problem/content/3677/'], ['max-chunks-to-make-sorted-ii', 'https://www.acwing.com/activity/content/problem/content/3678/'], ['max-chunks-to-make-sorted', 'https://www.acwing.com/activity/content/problem/content/3679/'], ['basic-calculator-iv', 'https://www.acwing.com/activity/content/problem/content/3680/'], ['jewels-and-stones', 'https://www.acwing.com/activity/content/problem/content/3681/'], ['sliding-puzzle', 'https://www.acwing.com/activity/content/problem/content/3682/'], ['global-and-local-inversions', 'https://www.acwing.com/activity/content/problem/content/3683/'], ['swap-adjacent-in-lr-string', 'https://www.acwing.com/activity/content/problem/content/3684/'], ['swim-in-rising-water', 'https://www.acwing.com/activity/content/problem/content/3685/'], ['k-th-symbol-in-grammar', 'https://www.acwing.com/activity/content/problem/content/3686/'], ['reaching-points', 'https://www.acwing.com/activity/content/problem/content/3755/'], ['rabbits-in-forest', 'https://www.acwing.com/activity/content/problem/content/3756/'], ['transform-to-chessboard', 'https://www.acwing.com/activity/content/problem/content/3757/'], ['minimum-distance-between-bst-nodes', 'https://www.acwing.com/activity/content/problem/content/3758/'], ['letter-case-permutation', 'https://www.acwing.com/activity/content/problem/content/3759/'], ['is-graph-bipartite', 'https://www.acwing.com/activity/content/problem/content/3760/'], ['k-th-smallest-prime-fraction', 'https://www.acwing.com/activity/content/problem/content/3761/'], ['cheapest-flights-within-k-stops', 'https://www.acwing.com/activity/content/problem/content/3762/'], ['rotated-digits', 'https://www.acwing.com/activity/content/problem/content/3763/'], ['escape-the-ghosts', 'https://www.acwing.com/activity/content/problem/content/3764/'], ['domino-and-tromino-tiling', 'https://www.acwing.com/activity/content/problem/content/3765/'], ['custom-sort-string', 'https://www.acwing.com/activity/content/problem/content/3766/'], ['number-of-matching-subsequences', 'https://www.acwing.com/activity/content/problem/content/3767/'], ['preimage-size-of-factorial-zeroes-function', 'https://www.acwing.com/activity/content/problem/content/3768/'], ['valid-tic-tac-toe-state', 'https://www.acwing.com/activity/content/problem/content/3769/'], ['number-of-subarrays-with-bounded-maximum', 'https://www.acwing.com/activity/content/problem/content/3770/'], ['rotate-string', 'https://www.acwing.com/activity/content/problem/content/3771/'], ['all-paths-from-source-to-target', 'https://www.acwing.com/activity/content/problem/content/3772/'], ['smallest-rotation-with-highest-score', 'https://www.acwing.com/activity/content/problem/content/3773/'], ['champagne-tower', 'https://www.acwing.com/activity/content/problem/content/3774/'], ['minimum-swaps-to-make-sequences-increasing', 'https://www.acwing.com/activity/content/problem/content/3819/'], ['find-eventual-safe-states', 'https://www.acwing.com/activity/content/problem/content/3820/'], ['bricks-falling-when-hit', 'https://www.acwing.com/activity/content/problem/content/3821/'], ['unique-morse-code-words', 'https://www.acwing.com/activity/content/problem/content/3822/'], ['split-array-with-same-average', 'https://www.acwing.com/activity/content/problem/content/3823/'], ['number-of-lines-to-write-string', 'https://www.acwing.com/activity/content/problem/content/3824/'], ['max-increase-to-keep-city-skyline', 'https://www.acwing.com/activity/content/problem/content/3825/'], ['soup-servings', 'https://www.acwing.com/activity/content/problem/content/3826/'], ['expressive-words', 'https://www.acwing.com/activity/content/problem/content/3827/'], ['chalkboard-xor-game', 'https://www.acwing.com/activity/content/problem/content/3828/'], ['subdomain-visit-count', 'https://www.acwing.com/activity/content/problem/content/3829/'], ['largest-triangle-area', 'https://www.acwing.com/activity/content/problem/content/3830/'], ['largest-sum-of-averages', 'https://www.acwing.com/activity/content/problem/content/3831/'], ['binary-tree-pruning', 'https://www.acwing.com/activity/content/problem/content/3832/'], ['bus-routes', 'https://www.acwing.com/activity/content/problem/content/3833/'], ['ambiguous-coordinates', 'https://www.acwing.com/activity/content/problem/content/3834/'], ['linked-list-components', 'https://www.acwing.com/activity/content/problem/content/3835/'], ['race-car', 'https://www.acwing.com/activity/content/problem/content/3836/'], ['most-common-word', 'https://www.acwing.com/activity/content/problem/content/3837/'], ['short-encoding-of-words', 'https://www.acwing.com/activity/content/problem/content/3838/'], ['shortest-distance-to-a-character', 'https://www.acwing.com/activity/content/problem/content/3878/'], ['card-flipping-game', 'https://www.acwing.com/activity/content/problem/content/3879/'], ['binary-trees-with-factors', 'https://www.acwing.com/activity/content/problem/content/3880/'], ['goat-latin', 'https://www.acwing.com/activity/content/problem/content/3881/'], ['friends-of-appropriate-ages', 'https://www.acwing.com/activity/content/problem/content/3882/'], ['most-profit-assigning-work', 'https://www.acwing.com/activity/content/problem/content/3883/'], ['making-a-large-island', 'https://www.acwing.com/activity/content/problem/content/3884/'], ['count-unique-characters-of-all-substrings-of-a-given-string', 'https://www.acwing.com/activity/content/problem/content/3885/'], ['consecutive-numbers-sum', 'https://www.acwing.com/activity/content/problem/content/3886/'], ['positions-of-large-groups', 'https://www.acwing.com/activity/content/problem/content/3887/'], ['masking-personal-information', 'https://www.acwing.com/activity/content/problem/content/3935/'], ['flipping-an-image', 'https://www.acwing.com/activity/content/problem/content/3936/'], ['find-and-replace-in-string', 'https://www.acwing.com/activity/content/problem/content/3937/'], ['sum-of-distances-in-tree', 'https://www.acwing.com/activity/content/problem/content/3938/'], ['image-overlap', 'https://www.acwing.com/activity/content/problem/content/3939/'], ['rectangle-overlap', 'https://www.acwing.com/activity/content/problem/content/3940/'], ['new-21-game', 'https://www.acwing.com/activity/content/problem/content/3941/'], ['push-dominoes', 'https://www.acwing.com/activity/content/problem/content/3942/'], ['similar-string-groups', 'https://www.acwing.com/activity/content/problem/content/3943/'], ['magic-squares-in-grid', 'https://www.acwing.com/activity/content/problem/content/3944/'], ['keys-and-rooms', 'https://www.acwing.com/activity/content/problem/content/3945/'], ['split-array-into-fibonacci-sequence', 'https://www.acwing.com/activity/content/problem/content/3946/'], ['guess-the-word', 'https://www.acwing.com/activity/content/problem/content/3947/'], ['backspace-string-compare', 'https://www.acwing.com/activity/content/problem/content/3948/'], ['longest-mountain-in-array', 'https://www.acwing.com/activity/content/problem/content/3949/'], ['hand-of-straights', 'https://www.acwing.com/activity/content/problem/content/3950/'], ['shortest-path-visiting-all-nodes', 'https://www.acwing.com/activity/content/problem/content/3951/'], ['shifting-letters', 'https://www.acwing.com/activity/content/problem/content/3952/'], ['maximize-distance-to-closest-person', 'https://www.acwing.com/activity/content/problem/content/3953/'], ['rectangle-area-ii', 'https://www.acwing.com/activity/content/problem/content/3954/'], ['loud-and-rich', 'https://www.acwing.com/activity/content/problem/content/3963/'], ['peak-index-in-a-mountain-array', 'https://www.acwing.com/activity/content/problem/content/3964/'], ['car-fleet', 'https://www.acwing.com/activity/content/problem/content/3965/'], ['k-similar-strings', 'https://www.acwing.com/activity/content/problem/content/3966/'], ['exam-room', 'https://www.acwing.com/activity/content/problem/content/3967/'], ['score-of-parentheses', 'https://www.acwing.com/activity/content/problem/content/3968/'], ['minimum-cost-to-hire-k-workers', 'https://www.acwing.com/activity/content/problem/content/3969/'], ['mirror-reflection', 'https://www.acwing.com/activity/content/problem/content/3970/'], ['buddy-strings', 'https://www.acwing.com/activity/content/problem/content/3971/'], ['lemonade-change', 'https://www.acwing.com/activity/content/problem/content/3972/'], ['score-after-flipping-matrix', 'https://www.acwing.com/activity/content/problem/content/3973/'], ['shortest-subarray-with-sum-at-least-k', 'https://www.acwing.com/activity/content/problem/content/3974/'], ['all-nodes-distance-k-in-binary-tree', 'https://www.acwing.com/activity/content/problem/content/3975/'], ['shortest-path-to-get-all-keys', 'https://www.acwing.com/activity/content/problem/content/3976/'], ['smallest-subtree-with-all-the-deepest-nodes', 'https://www.acwing.com/activity/content/problem/content/3977/'], ['prime-palindrome', 'https://www.acwing.com/activity/content/problem/content/3978/'], ['transpose-matrix', 'https://www.acwing.com/activity/content/problem/content/3979/'], ['binary-gap', 'https://www.acwing.com/activity/content/problem/content/3980/'], ['reordered-power-of-2', 'https://www.acwing.com/activity/content/problem/content/3981/'], ['advantage-shuffle', 'https://www.acwing.com/activity/content/problem/content/3982/'], ['minimum-number-of-refueling-stops', 'https://www.acwing.com/activity/content/problem/content/4008/'], ['leaf-similar-trees', 'https://www.acwing.com/activity/content/problem/content/4009/'], ['length-of-longest-fibonacci-subsequence', 'https://www.acwing.com/activity/content/problem/content/4010/'], ['walking-robot-simulation', 'https://www.acwing.com/activity/content/problem/content/4011/'], ['koko-eating-bananas', 'https://www.acwing.com/activity/content/problem/content/4012/'], ['middle-of-the-linked-list', 'https://www.acwing.com/activity/content/problem/content/4013/'], ['stone-game', 'https://www.acwing.com/activity/content/problem/content/4014/'], ['nth-magical-number', 'https://www.acwing.com/activity/content/problem/content/4015/'], ['profitable-schemes', 'https://www.acwing.com/activity/content/problem/content/4016/'], ['decoded-string-at-index', 'https://www.acwing.com/activity/content/problem/content/4017/'], ['boats-to-save-people', 'https://www.acwing.com/activity/content/problem/content/4018/'], ['reachable-nodes-in-subdivided-graph', 'https://www.acwing.com/activity/content/problem/content/4019/'], ['projection-area-of-3d-shapes', 'https://www.acwing.com/activity/content/problem/content/4020/'], ['uncommon-words-from-two-sentences', 'https://www.acwing.com/activity/content/problem/content/4021/'], ['spiral-matrix-iii', 'https://www.acwing.com/activity/content/problem/content/4022/'], ['possible-bipartition', 'https://www.acwing.com/activity/content/problem/content/4023/'], ['super-egg-drop', 'https://www.acwing.com/activity/content/problem/content/4024/'], ['fair-candy-swap', 'https://www.acwing.com/activity/content/problem/content/4025/'], ['construct-binary-tree-from-preorder-and-postorder-traversal', 'https://www.acwing.com/activity/content/problem/content/4026/'], ['find-and-replace-pattern', 'https://www.acwing.com/activity/content/problem/content/4027/'], ['sum-of-subsequence-widths', 'https://www.acwing.com/activity/content/problem/content/4126/'], ['surface-area-of-3d-shapes', 'https://www.acwing.com/activity/content/problem/content/4127/'], ['groups-of-special-equivalent-strings', 'https://www.acwing.com/activity/content/problem/content/4128/'], ['all-possible-full-binary-trees', 'https://www.acwing.com/activity/content/problem/content/4129/'], ['maximum-frequency-stack', 'https://www.acwing.com/activity/content/problem/content/4130/'], ['monotonic-array', 'https://www.acwing.com/activity/content/problem/content/4131/'], ['increasing-order-search-tree', 'https://www.acwing.com/activity/content/problem/content/4132/'], ['bitwise-ors-of-subarrays', 'https://www.acwing.com/activity/content/problem/content/4133/'], ['orderly-queue', 'https://www.acwing.com/activity/content/problem/content/4134/'], ['rle-iterator', 'https://www.acwing.com/activity/content/problem/content/4135/'], ['online-stock-span', 'https://www.acwing.com/activity/content/problem/content/4152/'], ['numbers-at-most-n-given-digit-set', 'https://www.acwing.com/activity/content/problem/content/4153/'], ['valid-permutations-for-di-sequence', 'https://www.acwing.com/activity/content/problem/content/4154/'], ['fruit-into-baskets', 'https://www.acwing.com/activity/content/problem/content/4155/'], ['sort-array-by-parity', 'https://www.acwing.com/activity/content/problem/content/4156/'], ['super-palindromes', 'https://www.acwing.com/activity/content/problem/content/4157/'], ['sum-of-subarray-minimums', 'https://www.acwing.com/activity/content/problem/content/4158/'], ['smallest-range-i', 'https://www.acwing.com/activity/content/problem/content/4159/'], ['snakes-and-ladders', 'https://www.acwing.com/activity/content/problem/content/4160/'], ['smallest-range-ii', 'https://www.acwing.com/activity/content/problem/content/4161/'], ['online-election', 'https://www.acwing.com/activity/content/problem/content/4162/'], ['sort-an-array', 'https://www.acwing.com/activity/content/problem/content/4163/'], ['cat-and-mouse', 'https://www.acwing.com/activity/content/problem/content/4164/'], ['x-of-a-kind-in-a-deck-of-cards', 'https://www.acwing.com/activity/content/problem/content/4165/'], ['partition-array-into-disjoint-intervals', 'https://www.acwing.com/activity/content/problem/content/4166/'], ['word-subsets', 'https://www.acwing.com/activity/content/problem/content/4167/'], ['reverse-only-letters', 'https://www.acwing.com/activity/content/problem/content/4168/'], ['maximum-sum-circular-subarray', 'https://www.acwing.com/activity/content/problem/content/4169/'], ['complete-binary-tree-inserter', 'https://www.acwing.com/activity/content/problem/content/4170/'], ['number-of-music-playlists', 'https://www.acwing.com/activity/content/problem/content/4171/'], ['minimum-add-to-make-parentheses-valid', 'https://www.acwing.com/activity/content/problem/content/4182/'], ['sort-array-by-parity-ii', 'https://www.acwing.com/activity/content/problem/content/4183/'], ['3sum-with-multiplicity', 'https://www.acwing.com/activity/content/problem/content/4184/'], ['minimize-malware-spread', 'https://www.acwing.com/activity/content/problem/content/4185/'], ['long-pressed-name', 'https://www.acwing.com/activity/content/problem/content/4186/'], ['flip-string-to-monotone-increasing', 'https://www.acwing.com/activity/content/problem/content/4187/'], ['three-equal-parts', 'https://www.acwing.com/activity/content/problem/content/4188/'], ['minimize-malware-spread-ii', 'https://www.acwing.com/activity/content/problem/content/4189/'], ['unique-email-addresses', 'https://www.acwing.com/activity/content/problem/content/4190/'], ['binary-subarrays-with-sum', 'https://www.acwing.com/activity/content/problem/content/4191/'], ['minimum-falling-path-sum', 'https://www.acwing.com/activity/content/problem/content/4208/'], ['beautiful-array', 'https://www.acwing.com/activity/content/problem/content/4209/'], ['number-of-recent-calls', 'https://www.acwing.com/activity/content/problem/content/4210/'], ['shortest-bridge', 'https://www.acwing.com/activity/content/problem/content/4211/'], ['knight-dialer', 'https://www.acwing.com/activity/content/problem/content/4212/'], ['stamping-the-sequence', 'https://www.acwing.com/activity/content/problem/content/4213/'], ['reorder-data-in-log-files', 'https://www.acwing.com/activity/content/problem/content/4214/'], ['range-sum-of-bst', 'https://www.acwing.com/activity/content/problem/content/4215/'], ['minimum-area-rectangle', 'https://www.acwing.com/activity/content/problem/content/4216/'], ['distinct-subsequences-ii', 'https://www.acwing.com/activity/content/problem/content/4217/'], ['valid-mountain-array', 'https://www.acwing.com/activity/content/problem/content/4218/'], ['di-string-match', 'https://www.acwing.com/activity/content/problem/content/4219/'], ['find-the-shortest-superstring', 'https://www.acwing.com/activity/content/problem/content/4220/'], ['delete-columns-to-make-sorted', 'https://www.acwing.com/activity/content/problem/content/4221/'], ['minimum-increment-to-make-array-unique', 'https://www.acwing.com/activity/content/problem/content/4222/'], ['validate-stack-sequences', 'https://www.acwing.com/activity/content/problem/content/4223/'], ['most-stones-removed-with-same-row-or-column', 'https://www.acwing.com/activity/content/problem/content/4224/'], ['bag-of-tokens', 'https://www.acwing.com/activity/content/problem/content/4225/'], ['largest-time-for-given-digits', 'https://www.acwing.com/activity/content/problem/content/4226/'], ['reveal-cards-in-increasing-order', 'https://www.acwing.com/activity/content/problem/content/4227/'], ['flip-equivalent-binary-trees', 'https://www.acwing.com/activity/content/problem/content/4239/'], ['largest-component-size-by-common-factor', 'https://www.acwing.com/activity/content/problem/content/4240/'], ['verifying-an-alien-dictionary', 'https://www.acwing.com/activity/content/problem/content/4241/'], ['array-of-doubled-pairs', 'https://www.acwing.com/activity/content/problem/content/4242/'], ['delete-columns-to-make-sorted-ii', 'https://www.acwing.com/activity/content/problem/content/4243/'], ['tallest-billboard', 'https://www.acwing.com/activity/content/problem/content/4244/'], ['prison-cells-after-n-days', 'https://www.acwing.com/activity/content/problem/content/4245/'], ['check-completeness-of-a-binary-tree', 'https://www.acwing.com/activity/content/problem/content/4246/'], ['regions-cut-by-slashes', 'https://www.acwing.com/activity/content/problem/content/4247/'], ['delete-columns-to-make-sorted-iii', 'https://www.acwing.com/activity/content/problem/content/4248/'], ['n-repeated-element-in-size-2n-array', 'https://www.acwing.com/activity/content/problem/content/4265/'], ['maximum-width-ramp', 'https://www.acwing.com/activity/content/problem/content/4266/'], ['minimum-area-rectangle-ii', 'https://www.acwing.com/activity/content/problem/content/4267/'], ['least-operators-to-express-number', 'https://www.acwing.com/activity/content/problem/content/4268/'], ['univalued-binary-tree', 'https://www.acwing.com/activity/content/problem/content/4269/'], ['vowel-spellchecker', 'https://www.acwing.com/activity/content/problem/content/4270/'], ['numbers-with-same-consecutive-differences', 'https://www.acwing.com/activity/content/problem/content/4271/'], ['binary-tree-cameras', 'https://www.acwing.com/activity/content/problem/content/4272/'], ['pancake-sorting', 'https://www.acwing.com/activity/content/problem/content/4273/'], ['powerful-integers', 'https://www.acwing.com/activity/content/problem/content/4274/'], ['flip-binary-tree-to-match-preorder-traversal', 'https://www.acwing.com/activity/content/problem/content/4275/'], ['equal-rational-numbers', 'https://www.acwing.com/activity/content/problem/content/4276/'], ['k-closest-points-to-origin', 'https://www.acwing.com/activity/content/problem/content/4277/'], ['subarray-sums-divisible-by-k', 'https://www.acwing.com/activity/content/problem/content/4278/'], ['odd-even-jump', 'https://www.acwing.com/activity/content/problem/content/4279/'], ['largest-perimeter-triangle', 'https://www.acwing.com/activity/content/problem/content/4280/'], ['squares-of-a-sorted-array', 'https://www.acwing.com/activity/content/problem/content/4281/'], ['longest-turbulent-subarray', 'https://www.acwing.com/activity/content/problem/content/4282/'], ['distribute-coins-in-binary-tree', 'https://www.acwing.com/activity/content/problem/content/4283/'], ['unique-paths-iii', 'https://www.acwing.com/activity/content/problem/content/4284/'], ['time-based-key-value-store', 'https://www.acwing.com/activity/content/problem/content/4306/'], ['triples-with-bitwise-and-equal-to-zero', 'https://www.acwing.com/activity/content/problem/content/4307/'], ['minimum-cost-for-tickets', 'https://www.acwing.com/activity/content/problem/content/4308/'], ['string-without-aaa-or-bbb', 'https://www.acwing.com/activity/content/problem/content/4309/'], ['sum-of-even-numbers-after-queries', 'https://www.acwing.com/activity/content/problem/content/4310/'], ['interval-list-intersections', 'https://www.acwing.com/activity/content/problem/content/4311/'], ['vertical-order-traversal-of-a-binary-tree', 'https://www.acwing.com/activity/content/problem/content/4312/'], ['smallest-string-starting-from-leaf', 'https://www.acwing.com/activity/content/problem/content/4313/'], ['add-to-array-form-of-integer', 'https://www.acwing.com/activity/content/problem/content/4314/'], ['satisfiability-of-equality-equations', 'https://www.acwing.com/activity/content/problem/content/4315/'], ['broken-calculator', 'https://www.acwing.com/activity/content/problem/content/5730/'], ['subarrays-with-k-different-integers', 'https://www.acwing.com/activity/content/problem/content/5731/'], ['cousins-in-binary-tree', 'https://www.acwing.com/activity/content/problem/content/5732/'], ['rotting-oranges', 'https://www.acwing.com/activity/content/problem/content/5733/'], ['minimum-number-of-k-consecutive-bit-flips', 'https://www.acwing.com/activity/content/problem/content/5734/'], ['number-of-squareful-arrays', 'https://www.acwing.com/activity/content/problem/content/5735/'], ['find-the-town-judge', 'https://www.acwing.com/activity/content/problem/content/5736/'], ['maximum-binary-tree-ii', 'https://www.acwing.com/activity/content/problem/content/5737/'], ['available-captures-for-rook', 'https://www.acwing.com/activity/content/problem/content/5738/'], ['minimum-cost-to-merge-stones', 'https://www.acwing.com/activity/content/problem/content/5739/'], ['grid-illumination', 'https://www.acwing.com/activity/content/problem/content/5748/'], ['find-common-characters', 'https://www.acwing.com/activity/content/problem/content/5749/'], ['check-if-word-is-valid-after-substitutions', 'https://www.acwing.com/activity/content/problem/content/5750/'], ['max-consecutive-ones-iii', 'https://www.acwing.com/activity/content/problem/content/5751/'], ['maximize-sum-of-array-after-k-negations', 'https://www.acwing.com/activity/content/problem/content/5752/'], ['clumsy-factorial', 'https://www.acwing.com/activity/content/problem/content/5753/'], ['minimum-domino-rotations-for-equal-row', 'https://www.acwing.com/activity/content/problem/content/5754/'], ['construct-binary-search-tree-from-preorder-traversal', 'https://www.acwing.com/activity/content/problem/content/5755/'], ['complement-of-base-10-integer', 'https://www.acwing.com/activity/content/problem/content/5756/'], ['pairs-of-songs-with-total-durations-divisible-by-60', 'https://www.acwing.com/activity/content/problem/content/5757/'], ['capacity-to-ship-packages-within-d-days', 'https://www.acwing.com/activity/content/problem/content/5778/'], ['numbers-with-repeated-digits', 'https://www.acwing.com/activity/content/problem/content/5779/'], ['partition-array-into-three-parts-with-equal-sum', 'https://www.acwing.com/activity/content/problem/content/5788/'], ['best-sightseeing-pair', 'https://www.acwing.com/activity/content/problem/content/5789/'], ['smallest-integer-divisible-by-k', 'https://www.acwing.com/activity/content/problem/content/5790/'], ['binary-string-with-substrings-representing-1-to-n', 'https://www.acwing.com/activity/content/problem/content/5791/'], ['convert-to-base-2', 'https://www.acwing.com/activity/content/problem/content/5792/'], ['binary-prefix-divisible-by-5', 'https://www.acwing.com/activity/content/problem/content/5793/'], ['next-greater-node-in-linked-list', 'https://www.acwing.com/activity/content/problem/content/5794/'], ['number-of-enclaves', 'https://www.acwing.com/activity/content/problem/content/5795/'], ['remove-outermost-parentheses', 'https://www.acwing.com/activity/content/problem/content/5796/'], ['sum-of-root-to-leaf-binary-numbers', 'https://www.acwing.com/activity/content/problem/content/5797/'], ['camelcase-matching', 'https://www.acwing.com/activity/content/problem/content/5807/'], ['video-stitching', 'https://www.acwing.com/activity/content/problem/content/5808/'], ['divisor-game', 'https://www.acwing.com/activity/content/problem/content/5809/'], ['maximum-difference-between-node-and-ancestor', 'https://www.acwing.com/activity/content/problem/content/5810/'], ['longest-arithmetic-subsequence', 'https://www.acwing.com/activity/content/problem/content/5811/'], ['recover-a-tree-from-preorder-traversal', 'https://www.acwing.com/activity/content/problem/content/5812/'], ['two-city-scheduling', 'https://www.acwing.com/activity/content/problem/content/5813/'], ['matrix-cells-in-distance-order', 'https://www.acwing.com/activity/content/problem/content/5814/'], ['maximum-sum-of-two-non-overlapping-subarrays', 'https://www.acwing.com/activity/content/problem/content/5815/'], ['stream-of-characters', 'https://www.acwing.com/activity/content/problem/content/5816/'], ['moving-stones-until-consecutive', 'https://www.acwing.com/activity/content/problem/content/5834/'], ['coloring-a-border', 'https://www.acwing.com/activity/content/problem/content/5835/'], ['uncrossed-lines', 'https://www.acwing.com/activity/content/problem/content/5836/'], ['escape-a-large-maze', 'https://www.acwing.com/activity/content/problem/content/5837/'], ['valid-boomerang', 'https://www.acwing.com/activity/content/problem/content/5838/'], ['binary-search-tree-to-greater-sum-tree', 'https://www.acwing.com/activity/content/problem/content/5839/'], ['minimum-score-triangulation-of-polygon', 'https://www.acwing.com/activity/content/problem/content/5840/'], ['moving-stones-until-consecutive-ii', 'https://www.acwing.com/activity/content/problem/content/5841/'], ['robot-bounded-in-circle', 'https://www.acwing.com/activity/content/problem/content/5842/'], ['flower-planting-with-no-adjacent', 'https://www.acwing.com/activity/content/problem/content/5843/'], ['partition-array-for-maximum-sum', 'https://www.acwing.com/activity/content/problem/content/5865/'], ['longest-duplicate-substring', 'https://www.acwing.com/activity/content/problem/content/5866/'], ['last-stone-weight', 'https://www.acwing.com/activity/content/problem/content/5867/'], ['remove-all-adjacent-duplicates-in-string', 'https://www.acwing.com/activity/content/problem/content/5868/'], ['longest-string-chain', 'https://www.acwing.com/activity/content/problem/content/5869/'], ['last-stone-weight-ii', 'https://www.acwing.com/activity/content/problem/content/5870/'], ['height-checker', 'https://www.acwing.com/activity/content/problem/content/5871/'], ['grumpy-bookstore-owner', 'https://www.acwing.com/activity/content/problem/content/5872/'], ['previous-permutation-with-one-swap', 'https://www.acwing.com/activity/content/problem/content/5873/'], ['distant-barcodes', 'https://www.acwing.com/activity/content/problem/content/5874/'], ['greatest-common-divisor-of-strings', 'https://www.acwing.com/activity/content/problem/content/5883/'], ['flip-columns-for-maximum-number-of-equal-rows', 'https://www.acwing.com/activity/content/problem/content/5884/'], ['adding-two-negabinary-numbers', 'https://www.acwing.com/activity/content/problem/content/5885/'], ['number-of-submatrices-that-sum-to-target', 'https://www.acwing.com/activity/content/problem/content/5886/'], ['occurrences-after-bigram', 'https://www.acwing.com/activity/content/problem/content/5887/'], ['letter-tile-possibilities', 'https://www.acwing.com/activity/content/problem/content/5888/'], ['insufficient-nodes-in-root-to-leaf-paths', 'https://www.acwing.com/activity/content/problem/content/5889/'], ['smallest-subsequence-of-distinct-characters', 'https://www.acwing.com/activity/content/problem/content/5890/'], ['duplicate-zeros', 'https://www.acwing.com/activity/content/problem/content/5891/'], ['largest-values-from-labels', 'https://www.acwing.com/activity/content/problem/content/5892/'], ['shortest-path-in-binary-matrix', 'https://www.acwing.com/activity/content/problem/content/5906/'], ['shortest-common-supersequence', 'https://www.acwing.com/activity/content/problem/content/5907/'], ['statistics-from-a-large-sample', 'https://www.acwing.com/activity/content/problem/content/5908/'], ['car-pooling', 'https://www.acwing.com/activity/content/problem/content/5909/'], ['find-in-mountain-array', 'https://www.acwing.com/activity/content/problem/content/5910/'], ['brace-expansion-ii', 'https://www.acwing.com/activity/content/problem/content/5911/'], ['distribute-candies-to-people', 'https://www.acwing.com/activity/content/problem/content/5912/'], ['path-in-zigzag-labelled-binary-tree', 'https://www.acwing.com/activity/content/problem/content/5913/'], ['filling-bookcase-shelves', 'https://www.acwing.com/activity/content/problem/content/5914/'], ['parsing-a-boolean-expression', 'https://www.acwing.com/activity/content/problem/content/5915/'], ['defanging-an-ip-address', 'https://www.acwing.com/activity/content/problem/content/5928/'], ['corporate-flight-bookings', 'https://www.acwing.com/activity/content/problem/content/5929/'], ['delete-nodes-and-return-forest', 'https://www.acwing.com/activity/content/problem/content/5930/'], ['maximum-nesting-depth-of-two-valid-parentheses-strings', 'https://www.acwing.com/activity/content/problem/content/5931/'], ['relative-sort-array', 'https://www.acwing.com/activity/content/problem/content/5932/'], ['lowest-common-ancestor-of-deepest-leaves', 'https://www.acwing.com/activity/content/problem/content/5933/'], ['longest-well-performing-interval', 'https://www.acwing.com/activity/content/problem/content/5934/'], ['smallest-sufficient-team', 'https://www.acwing.com/activity/content/problem/content/5935/'], ['number-of-equivalent-domino-pairs', 'https://www.acwing.com/activity/content/problem/content/5936/'], ['shortest-path-with-alternating-colors', 'https://www.acwing.com/activity/content/problem/content/5937/'], ['minimum-cost-tree-from-leaf-values', 'https://www.acwing.com/activity/content/problem/content/6960/'], ['maximum-of-absolute-value-expression', 'https://www.acwing.com/activity/content/problem/content/6961/'], ['n-th-tribonacci-number', 'https://www.acwing.com/activity/content/problem/content/6962/'], ['alphabet-board-path', 'https://www.acwing.com/activity/content/problem/content/6963/'], ['largest-1-bordered-square', 'https://www.acwing.com/activity/content/problem/content/6964/'], ['stone-game-ii', 'https://www.acwing.com/activity/content/problem/content/6965/'], ['longest-common-subsequence', 'https://www.acwing.com/activity/content/problem/content/6966/'], ['decrease-elements-to-make-array-zigzag', 'https://www.acwing.com/activity/content/problem/content/6967/'], ['binary-tree-coloring-game', 'https://www.acwing.com/activity/content/problem/content/6968/'], ['snapshot-array', 'https://www.acwing.com/activity/content/problem/content/6969/'], ['longest-chunked-palindrome-decomposition', 'https://www.acwing.com/activity/content/problem/content/6970/'], ['day-of-the-year', 'https://www.acwing.com/activity/content/problem/content/6984/'], ['number-of-dice-rolls-with-target-sum', 'https://www.acwing.com/activity/content/problem/content/6985/'], ['swap-for-longest-repeated-character-substring', 'https://www.acwing.com/activity/content/problem/content/6986/'], ['online-majority-element-in-subarray', 'https://www.acwing.com/activity/content/problem/content/6987/'], ['find-words-that-can-be-formed-by-characters', 'https://www.acwing.com/activity/content/problem/content/6988/'], ['maximum-level-sum-of-a-binary-tree', 'https://www.acwing.com/activity/content/problem/content/6989/'], ['as-far-from-land-as-possible', 'https://www.acwing.com/activity/content/problem/content/6990/'], ['last-substring-in-lexicographical-order', 'https://www.acwing.com/activity/content/problem/content/6991/'], ['invalid-transactions', 'https://www.acwing.com/activity/content/problem/content/6992/'], ['compare-strings-by-frequency-of-the-smallest-character', 'https://www.acwing.com/activity/content/problem/content/6993/'], ['remove-zero-sum-consecutive-nodes-from-linked-list', 'https://www.acwing.com/activity/content/problem/content/6994/'], ['dinner-plate-stacks', 'https://www.acwing.com/activity/content/problem/content/6995/'], ['prime-arrangements', 'https://www.acwing.com/activity/content/problem/content/6996/'], ['can-make-palindrome-from-substring', 'https://www.acwing.com/activity/content/problem/content/6997/'], ['number-of-valid-words-for-each-puzzle', 'https://www.acwing.com/activity/content/problem/content/6998/'], ['distance-between-bus-stops', 'https://www.acwing.com/activity/content/problem/content/6999/'], ['day-of-the-week', 'https://www.acwing.com/activity/content/problem/content/7000/'], ['maximum-subarray-sum-with-one-deletion', 'https://www.acwing.com/activity/content/problem/content/7001/'], ['make-array-strictly-increasing', 'https://www.acwing.com/activity/content/problem/content/7002/'], ['maximum-number-of-balloons', 'https://www.acwing.com/activity/content/problem/content/7003/'], ['reverse-substrings-between-each-pair-of-parentheses', 'https://www.acwing.com/activity/content/problem/content/7019/'], ['k-concatenation-maximum-sum', 'https://www.acwing.com/activity/content/problem/content/7020/'], ['critical-connections-in-a-network', 'https://www.acwing.com/activity/content/problem/content/7021/'], ['minimum-absolute-difference', 'https://www.acwing.com/activity/content/problem/content/7022/'], ['ugly-number-iii', 'https://www.acwing.com/activity/content/problem/content/7023/'], ['smallest-string-with-swaps', 'https://www.acwing.com/activity/content/problem/content/7024/'], ['sort-items-by-groups-respecting-dependencies', 'https://www.acwing.com/activity/content/problem/content/7025/'], ['design-skiplist', 'https://www.acwing.com/activity/content/problem/content/7026/'], ['unique-number-of-occurrences', 'https://www.acwing.com/activity/content/problem/content/7027/'], ['get-equal-substrings-within-budget', 'https://www.acwing.com/activity/content/problem/content/7028/'], ['remove-all-adjacent-duplicates-in-string-ii', 'https://www.acwing.com/activity/content/problem/content/7053/'], ['minimum-moves-to-reach-target-with-rotations', 'https://www.acwing.com/activity/content/problem/content/7054/'], ['minimum-cost-to-move-chips-to-the-same-position', 'https://www.acwing.com/activity/content/problem/content/7055/'], ['longest-arithmetic-subsequence-of-given-difference', 'https://www.acwing.com/activity/content/problem/content/7056/'], ['path-with-maximum-gold', 'https://www.acwing.com/activity/content/problem/content/7057/'], ['count-vowels-permutation', 'https://www.acwing.com/activity/content/problem/content/7058/'], ['split-a-string-in-balanced-strings', 'https://www.acwing.com/activity/content/problem/content/7059/'], ['queens-that-can-attack-the-king', 'https://www.acwing.com/activity/content/problem/content/7060/'], ['dice-roll-simulation', 'https://www.acwing.com/activity/content/problem/content/7061/'], ['maximum-equal-frequency', 'https://www.acwing.com/activity/content/problem/content/7062/'], ['airplane-seat-assignment-probability', 'https://www.acwing.com/activity/content/problem/content/7074/'], ['check-if-it-is-a-straight-line', 'https://www.acwing.com/activity/content/problem/content/7075/'], ['remove-sub-folders-from-the-filesystem', 'https://www.acwing.com/activity/content/problem/content/7076/'], ['replace-the-substring-for-balanced-string', 'https://www.acwing.com/activity/content/problem/content/7077/'], ['maximum-profit-in-job-scheduling', 'https://www.acwing.com/activity/content/problem/content/7078/'], ['find-positive-integer-solution-for-a-given-equation', 'https://www.acwing.com/activity/content/problem/content/7079/'], ['circular-permutation-in-binary-representation', 'https://www.acwing.com/activity/content/problem/content/7080/'], ['maximum-length-of-a-concatenated-string-with-unique-characters', 'https://www.acwing.com/activity/content/problem/content/7081/'], ['tiling-a-rectangle-with-the-fewest-squares', 'https://www.acwing.com/activity/content/problem/content/7082/'], ['minimum-swaps-to-make-strings-equal', 'https://www.acwing.com/activity/content/problem/content/7083/'], ['count-number-of-nice-subarrays', 'https://www.acwing.com/activity/content/problem/content/7100/'], ['minimum-remove-to-make-valid-parentheses', 'https://www.acwing.com/activity/content/problem/content/7101/'], ['check-if-it-is-a-good-array', 'https://www.acwing.com/activity/content/problem/content/7102/'], ['cells-with-odd-values-in-a-matrix', 'https://www.acwing.com/activity/content/problem/content/7103/'], ['reconstruct-a-2-row-binary-matrix', 'https://www.acwing.com/activity/content/problem/content/7104/'], ['number-of-closed-islands', 'https://www.acwing.com/activity/content/problem/content/7105/'], ['maximum-score-words-formed-by-letters', 'https://www.acwing.com/activity/content/problem/content/7106/'], ['shift-2d-grid', 'https://www.acwing.com/activity/content/problem/content/7107/'], ['find-elements-in-a-contaminated-binary-tree', 'https://www.acwing.com/activity/content/problem/content/7108/'], ['greatest-sum-divisible-by-three', 'https://www.acwing.com/activity/content/problem/content/7109/'], ['minimum-moves-to-move-a-box-to-their-target-location', 'https://www.acwing.com/activity/content/problem/content/7163/'], ['minimum-time-visiting-all-points', 'https://www.acwing.com/activity/content/problem/content/7164/'], ['count-servers-that-communicate', 'https://www.acwing.com/activity/content/problem/content/7165/'], ['search-suggestions-system', 'https://www.acwing.com/activity/content/problem/content/7166/'], ['number-of-ways-to-stay-in-the-same-place-after-some-steps', 'https://www.acwing.com/activity/content/problem/content/7167/'], ['find-winner-on-a-tic-tac-toe-game', 'https://www.acwing.com/activity/content/problem/content/7168/'], ['number-of-burgers-with-no-waste-of-ingredients', 'https://www.acwing.com/activity/content/problem/content/7169/'], ['count-square-submatrices-with-all-ones', 'https://www.acwing.com/activity/content/problem/content/7170/'], ['palindrome-partitioning-iii', 'https://www.acwing.com/activity/content/problem/content/7171/'], ['subtract-the-product-and-sum-of-digits-of-an-integer', 'https://www.acwing.com/activity/content/problem/content/7172/'], ['group-the-people-given-the-group-size-they-belong-to', 'https://www.acwing.com/activity/content/problem/content/7191/'], ['find-the-smallest-divisor-given-a-threshold', 'https://www.acwing.com/activity/content/problem/content/7192/'], ['minimum-number-of-flips-to-convert-binary-matrix-to-zero-matrix', 'https://www.acwing.com/activity/content/problem/content/7193/'], ['iterator-for-combination', 'https://www.acwing.com/activity/content/problem/content/7194/'], ['element-appearing-more-than-25-in-sorted-array', 'https://www.acwing.com/activity/content/problem/content/7195/'], ['remove-covered-intervals', 'https://www.acwing.com/activity/content/problem/content/7196/'], ['minimum-falling-path-sum-ii', 'https://www.acwing.com/activity/content/problem/content/7197/'], ['convert-binary-number-in-a-linked-list-to-integer', 'https://www.acwing.com/activity/content/problem/content/7198/'], ['sequential-digits', 'https://www.acwing.com/activity/content/problem/content/7199/'], ['maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold', 'https://www.acwing.com/activity/content/problem/content/7200/']]);
const button = document.createElement('button');
button.textContent = 'AcWing';
button.style.cssText = `
position: fixed;
bottom: 20px;
right: 20px;
z-index: 9999;
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
`;
const titleSlug = window.location.pathname.split('/')[2];
const url = title2URL.get(titleSlug);
button.addEventListener('click', function () {
if (url) {
window.open(url);
} else {
alert('Not found in AcWing');
}
});
document.body.appendChild(button);
})();