Meta tags:
description= ✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解 - GitHub - halfrost/LeetCode-Go: ✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解;
Headings (most frequently used words):
launching, leetcode, in, tree, search, go, first, binary, footer, license, github, desktop, halfrost, name, already, use, latest, commit, git, stats, files, readme, md, data, structures, algorithm, problems, 个人数据, 目录, 分类, array, string, two, pointers, linked, list, stack, dynamic, programming, backtracking, depth, breadth, math, hash, table, sort, bit, manipulation, union, find, sliding, window, segment, indexed, thanks, about, releases, sponsor, this, project, packages, used, by, 23, contributors, 43, languages, topics, resources, stars, watchers, forks, navigation, sign, required, xcode, visual, studio, code,
Text of the page (most frequently used words):
medium (1306), easy (601), hard (540), number (298), the (252), minimum (190), with (182), array (182), maximum (175), sum (157), tree (149), #binary (143), string (134), find (129), and (106), count (98), all (87), two (84), list (69), make (69), longest (66), from (64), target (61), for (56), matrix (53), mid (50), equal (50), numbers (50), time (47), after (47), largest (47), game (47), smallest (46), search (45), valid (44), sorted (44), check (42), low (41), pairs (41), product (40), path (40), subarray (39), design (39), strings (38), word (38), can (37), int (37), linked (35), remove (35), that (34), value (34), subsequence (34), iii (34), each (34), high (32), nums (32), operations (32), nodes (32), given (32), unique (32), elements (32), palindrome (31), consecutive (31), distance (31), sort (30), range (30), substring (30), ways (30), characters (30), substrings (30), length (29), element (29), between (28), words (28), one (27), most (27), leetcode (26), score (26), shortest (26), you (25), max (25), subarrays (25), into (25), grid (25), arrays (25), len (24), node (24), increasing (24), cost (24), three (24), there (23), integers (23), integer (23), difference (23), problems (22), reverse (22), digits (22), same (21), common (21), github (19), query (19), size (19), than (19), paths (19), closest (19), average (19), order (19), right (18), return (18), first (18), res (18), queue (18), good (18), zero (18), kth (18), non (18), delete (18), split (17), xor (17), merge (17), get (17), graph (17), add (17), convert (17), traversal (17), this (16), index (16), distinct (16), even (16), digit (16), parentheses (16), points (16), subsequences (16), bst (16), row (15), minimize (15), greater (15), partition (15), sequence (15), analysis (15), jump (15), are (15), ones (15), permutation (15), prefix (14), maximize (14), total (14), frequency (14), system (14), expression (14), square (14), rectangle (14), left (13), table (13), queries (13), divisible (13), letter (13), people (13), days (13), groups (13), palindromic (13), construct (13), highest (13), best (13), swaps (13), moves (13), sentence (13), using (12), odd (12), reach (12), values (12), special (12), sales (12), area (12), water (12), last (12), duplicate (12), trees (12), code (12), your (11), update (11), else (11), employees (11), adjacent (11), day (11), replace (11), orders (11), group (11), next (11), absolute (11), stone (11), salary (11), least (11), window (10), more (10), data (10), stack (10), employee (10), build (10), different (10), users (10), overlapping (10), missing (10), not (10), repeated (10), form (10), ary (10), latest (9), intervals (9), bit (9), func (9), 时间复杂度 (9), depth (9), level (9), create (9), bitwise (9), steps (9), change (9), arithmetic (9), line (9), column (9), decode (9), flips (9), products (9), character (9), single (9), stock (9), students (9), duplicates (9), circular (9), swap (9), random (9), preorder (9), another (8), pattern (8), logn (8), positive (8), times (8), robot (8), divide (8), position (8), removing (8), rearrange (8), similar (8), pair (8), move (8), city (8), company (8), subtree (8), buy (8), candies (8), repeating (8), alternating (8), sums (8), sign (8), ancestor (8), customer (8), iterator (8), leaf (8), algorithm (7), halfrost (7), 100 (7), hdu (7), min (7), result (7), combination (7), print (7), continuous (7), matching (7), meeting (7), triplets (7), rank (7), set (7), intersection (7), root (7), house (7), possible (7), bank (7), type (7), customers (7), requests (7), equivalent (7), any (7), vowels (7), stream (7), squares (7), lowest (7), stones (7), friends (7), sub (7), interval (7), boxes (7), lists (7), sell (7), file (7), flip (7), triangle (7), license (6), dynamic (6), solutions (6), download (6), segment (6), freq (6), sliding (6), 的元素 (6), 相等的元素 (6), candidates (6), multiple (6), transactions (6), frequent (6), rooms (6), letters (6), within (6), rows (6), columns (6), strictly (6), amount (6), median (6), calculate (6), finding (6), threshold (6), bus (6), evaluate (6), sequences (6), less (6), greatest (6), tasks (6), discount (6), rectangles (6), containing (6), point (6), key (6), price (6), maze (6), balanced (6), second (6), subsets (6), network (6), occurrences (6), concatenation (6), height (6), where (6), subset (6), apples (6), rate (6), islands (6), implement (6), balls (6), rotated (6), dictionary (6), who (6), leaves (6), zigzag (6), bits (6), open (6), web (6), insert (6), packages (5), project (5), readme (5), math (5), star (5), bfs (5), append (5), pointers (5), original (5), deletions (5), indices (5), scores (5), required (5), nice (5), cycle (5), food (5), finish (5), decreasing (5), full (5), beauty (5), cards (5), cells (5), circle (5), zeros (5), equals (5), coins (5), beautiful (5), divisor (5), hidden (5), contains (5), winner (5), destination (5), color (5), fibonacci (5), tag (5), work (5), manager (5), course (5), student (5), base (5), view (5), partitioning (5), distribute (5), mountain (5), per (5), function (5), team (5), nth (5), name (5), majority (5), large (5), clone (5), paint (5), schedule (5), break (5), power (5), encode (5), online (5), user (5), play (5), weight (5), calculator (5), super (5), rotate (5), zeroes (5), abbreviation (5), inorder (5), commit (5), nothing (5), desktop (5), tags (5), branches (5), branch (5), repository (5), out (4), about (4), security (4), stars (4), structures (4), programming (4), interview (4), questions (4), books (4), beats (4), poj (4), problem (4), dfs (4), union (4), map (4), hash (4), trie (4), permutations (4), log (4), exists (4), negative (4), whose (4), lexicographically (4), fair (4), before (4), covered (4), collect (4), removals (4), items (4), generate (4), percentage (4), visible (4), spiral (4), place (4), degree (4), lower (4), case (4), match (4), profit (4), removal (4), has (4), lines (4), without (4), pick (4), complete (4), adding (4), buildings (4), excel (4), anagram (4), magic (4), lonely (4), smaller (4), equation (4), ranges (4), step (4), middle (4), colors (4), room (4), process (4), simulation (4), account (4), quality (4), store (4), critical (4), combinations (4), chessboard (4), seat (4), accounts (4), detect (4), have (4), divisors (4), insertion (4), peak (4), determine (4), segments (4), box (4), year (4), date (4), building (4), bounded (4), department (4), car (4), multiplication (4), operation (4), candy (4), report (4), reconstruct (4), oranges (4), reformat (4), phone (4), invalid (4), parser (4), reduce (4), vertical (4), reorder (4), island (4), recent (4), guess (4), shuffle (4), probability (4), lexicographical (4), happy (4), top (4), activity (4), many (4), validate (4), puzzle (4), falling (4), ugly (4), prime (4), keyboard (4), source (4), 3sum (4), postorder (4), keys (4), image (4), basic (4), self (4), perfect (4), flatten (4), 最小生成树 (4), 单源最短路径 (4), pull (4), try (4), again (4), launching (4), session (3), 2023 (3), forks (3), golang (3), com (3), test (3), coverage (3), runtime (3), thanks (3), bonus (3), indexed (3), 成段替换 (3), 区间求和 (3), 424 (3), 1004 (3), 1040 (3), 1052 (3), 803 (3), 1111 (3), manipulation (3), breadth (3), direction (3), findcombinationsum2 (3), backtracking (3), fixed (3), its (3), components (3), task (3), levels (3), players (3), together (3), optimal (3), limited (3), competition (3), needed (3), edges (3), edge (3), local (3), scheduler (3), matches (3), pieces (3), obtain (3), boolean (3), message (3), houses (3), undirected (3), english (3), replacement (3), strong (3), checker (3), tickets (3), floors (3), anagrams (3), escape (3), sharing (3), inside (3), rounds (3), machine (3), positions (3), parity (3), sheet (3), counting (3), limit (3), four (3), splitting (3), new (3), keep (3), running (3), earliest (3), obtained (3), title (3), recover (3), suffix (3), instructions (3), sentences (3), traffic (3), spaces (3), arrangement (3), sorting (3), land (3), drop (3), end (3), lead (3), friend (3), balance (3), vowel (3), encoded (3), events (3), parallel (3), courses (3), already (3), accepted (3), when (3), neighbors (3), exam (3), 2022 (3), did (3), final (3), performing (3), genetic (3), arrive (3), unsorted (3), information (3), spread (3), garden (3), perimeter (3), request (3), nearest (3), fence (3), recommendations (3), will (3), servers (3), biggest (3), contiguous (3), sticks (3), active (3), similarity (3), free (3), coordinate (3), connected (3), attended (3), deleting (3), eat (3), favorite (3), restore (3), hamming (3), calls (3), daily (3), tournament (3), fix (3), names (3), ordered (3), hopper (3), through (3), transform (3), subtrees (3), maximal (3), nesting (3), crawler (3), connect (3), strange (3), summary (3), put (3), warehouse (3), routes (3), diagonal (3), month (3), cut (3), diameter (3), only (3), submatrices (3), factor (3), pickup (3), representation (3), teams (3), slices (3), performance (3), counts (3), delivery (3), departments (3), visit (3), job (3), deepest (3), side (3), belong (3), tic (3), tac (3), toe (3), immutable (3), concatenated (3), solution (3), queens (3), person (3), knight (3), balloons (3), stops (3), compare (3), website (3), domino (3), moving (3), parts (3), factorial (3), uncommon (3), flipping (3), fraction (3), plus (3), calendar (3), coin (3), addition (3), serialize (3), deserialize (3), structure (3), wiggle (3), nested (3), robber (3), strobogrammatic (3), 有向图强连通分量 (3), cookbook (3), skills (3), please (3), load (3), git (3), master (3), happens (3), use (3), codespaces (3), actions (3), discussions (3), issues (3), signed (2), tab (2), refresh (2), reload (2), perform (2), blog (2), training (2), pricing (2), footer (2), navigation (2), html (2), contributors (2), used (2), learn (2), sponsors (2), sponsor (2), releases (2), jun (2), 2021 (2), mit (2), resources (2), algorithms (2), acm (2), icpc (2), facebook (2), topics (2), thank (2), reading (2), here (2), template (2), 区间增减 (2), 直接取根节点的值 (2), 1828 (2), 1542 (2), 离散化 (2), 简单hash (2), help (2), simple (2), 1698 (2), 单点增减 (2), billboard (2), 1394 (2), 1754 (2), 1166 (2), pushup (2), 1157 (2), 区间一 (2), 区间二 (2), 区间三 (2), 218 (2), 699 (2), 双指针滑动窗口的经典写法 (2), 右指针不断往右移 (2), 移动到不能往右移动为止 (2), 具体条件根据题目而定 (2), 当右指针到最右边以后 (2), 开始挪动左指针 (2), 释放窗口左边界 (2), 209 (2), 438 (2), 567 (2), 713 (2), 763 (2), 845 (2), 881 (2), 904 (2), 978 (2), 992 (2), 130 (2), 721 (2), 959 (2), 952 (2), lsb (2), 仅将第 (2), 位置为 (2), 11111 (2), 1054 (2), 插入排序 (2), 148 (2), 1011 (2), 1283 (2), cell (2), continue (2), 只是一个例子 (2), 不对应任何题 (2), copy (2), 1079 (2), 1019 (2), push (2), 1047 (2), 1021 (2), 142 (2), 归并排序 (2), 1074 (2), 287 (2), 2444 (2), powers (2), clock (2), gcd (2), fruits (2), factors (2), money (2), spent (2), kill (2), monsters (2), exactly (2), distances (2), budget (2), conditions (2), previous (2), win (2), shifting (2), black (2), blocks (2), choose (2), ideal (2), reachable (2), bad (2), rating (2), appear (2), twice (2), rolls (2), container (2), hand (2), league (2), fill (2), secret (2), jobs (2), roll (2), selling (2), units (2), arrange (2), equations (2), distribution (2), cookies (2), password (2), viii (2), text (2), obstacle (2), corner (2), apply (2), prices (2), importance (2), represent (2), chart (2), capacity (2), white (2), tiles (2), prefixes (2), video (2), platform (2), flowers (2), bloom (2), trailing (2), was (2), street (2), children (2), increments (2), eligible (2), decrypt (2), covering (2), distant (2), topic (2), post (2), directed (2), race (2), trips (2), brick (2), wall (2), global (2), winning (2), independently (2), pivot (2), found (2), passengers (2), cover (2), based (2), long (2), solving (2), pour (2), buckets (2), every (2), stamping (2), concatenating (2), double (2), replacing (2), watering (2), plants (2), averages (2), occurrence (2), rich (2), mirror (2), furthest (2), restricted (2), assign (2), walking (2), whether (2), separate (2), ascending (2), colored (2), both (2), everyone (2), 2026 (2), 2024 (2), 2020 (2), 2018 (2), 2016 (2), seniors (2), juniors (2), join (2), doubled (2), sessions (2), widest (2), call (2), cross (2), space (2), wasted (2), fancy (2), virus (2), which (2), followers (2), folders (2), painting (2), confirmation (2), bsts (2), triples (2), erect (2), leetcodify (2), rotating (2), movie (2), nim (2), triplet (2), page (2), cutting (2), rotation (2), egg (2), vii (2), run (2), memory (2), format (2), statistics (2), transaction (2), jumps (2), fleet (2), features (2), alternately (2), bag (2), changes (2), satisfy (2), xored (2), cat (2), mouse (2), checking (2), existence (2), fall (2), storage (2), differences (2), bomb (2), valued (2), differ (2), represented (2), contest (2), country (2), sets (2), some (2), fit (2), screen (2), cities (2), card (2), period (2), printer (2), visited (2), but (2), avoid (2), removed (2), dot (2), sparse (2), track (2), compression (2), condition (2), moment (2), progression (2), countries (2), crossing (2), friendly (2), movies (2), pseudo (2), flood (2), making (2), pointer (2), week (2), salaries (2), cherry (2), pizza (2), diff (2), traverse (2), restaurant (2), bought (2), lucky (2), capital (2), increment (2), frog (2), how (2), dates (2), hands (2), difficulty (2), alphabet (2), 1305 (2), elimination (2), visiting (2), their (2), formed (2), multithreaded (2), comments (2), tiling (2), scheduling (2), dice (2), rotations (2), monthly (2), fizz (2), buzz (2), plan (2), immediate (2), stacks (2), market (2), article (2), views (2), coloring (2), past (2), board (2), reported (2), posts (2), relative (2), forest (2), address (2), brace (2), expansion (2), labels (2), confusing (2), campus (2), bikes (2), chain (2), until (2), polygon (2), complement (2), available (2), captures (2), judge (2), origin (2), operators (2), width (2), regions (2), alien (2), files (2), addresses (2), malware (2), monotone (2), disjoint (2), shapes (2), magical (2), gap (2), transpose (2), reflection (2), overlap (2), skyline (2), write (2), hit (2), safe (2), rising (2), gas (2), station (2), chunks (2), bold (2), climbing (2), stairs (2), univalue (2), redundant (2), connection (2), bulb (2), switcher (2), input (2), seats (2), acceptance (2), boundary (2), managers (2), quad (2), division (2), attendance (2), record (2), pixel (2), successor (2), mode (2), cache (2), 4sum (2), burst (2), reconstruction (2), doubly (2), trapping (2), rain (2), note (2), getrandom (2), higher (2), pow (2), android (2), verify (2), mutable (2), version (2), emails (2), edit (2), read (2), read4 (2), ladder (2), pascal (2), populating (2), sudoku (2), roman (2), 个人数据 (2), sat (2), 旅行售货员问题 (2), aov (2), aoe (2), 欧拉回路 (2), 最大团问题 (2), ford (2), 多源最短路径 (2), edmonds (2), karp (2), 最大网络流 (2), 二分图匹配 (2), 跳跃表 (2), 后问题 (2), 背包问题 (2), 快速排序 (2), 外部排序 (2), 讲解文章 (2), 相关题目 (2), 哈希表 (2), 双端队列 (2), our (2), repo (2), style (2), google (2), ed716f0 (2), thesixonenine (2), 263 (2), codespace (2), xcode (2), cli (2), https (2), may (2), default (2), refname (2), show (2), could (2), fork (2), outside (2), insights (2), projects (2), notifications (2), manage (2), jan (2), action, api, contact, docs, status, privacy, terms, inc, python, javascript, css, scss, languages, published, watching, 635, watchers, competitions, algo, 扫描线, 这类题目需要将一些操作排序, 然后从左到右用一根扫描线扫过去最典型的就是矩形面积并, 周长并等题, picture, atlantis, 区间合并, 这类题目会询问区间中满足条件的连续最长区间, 所以pushup的时候需要对左右儿子的区间进行合并, 区间替换, 询问满足条件的最左端点, 3667, hotel, 区间更新, 由于只query一次总区间, 所以可以直接输出, 结点的信息, 成段增减, 区间异或, 3225, 2528, mayor, posters, 3468, just, hook, 单点更新, 单点替换, 区间最值, 区间求最大值的位子, 直接把update的操作在query里做了, 2795, inversion, hate, 敌兵布阵, 线段树, 从简单到困难, 灵活构建线段树, 线段树节点可以存储多条信息, 合并两个节点的, 操作也可以是多样的, 850, 离散化需要注意一个特殊情况, 假如三个区间为, 离散化后, 第一个区间为, 第二个区间为, 第三个区间为, 这样一来, 这和离散前的模型不符, 离散前, 很明显, 正确的做法是, 在相差大于, 的数间加一个数, 例如在上面, 中间加, 这样处理之后, 区间一是, 区间二是, 区间三是, 区间懒惰更新, 线段树的树的实现写法, 715, 732, 计数线段树的经典写法, 315, 327, 493, 线段树的经典数组实现写法, 将合并两个节点, 逻辑抽象出来了, 可以实现任意操作, 常见的操作有, 303, 307, 滑动窗口经典题, 239, 480, 能用并查集的题目, 一般也可以用, 只不过时间复杂度会高一点, 关于地图, 网格的题目, 可以新建一个特殊节点, 将四周边缘的砖块或者网格都, 到这个特殊节点上, 灵活的抽象题目给的信息, 将给定的信息合理的编号, 使用并查集解题, 降低时间复杂度, 有些题死套模板反而做不出来, 比如第, 685, 这一题不能路径压缩和秩优化, 因为题目中涉及到有向图, 需要知道节点的前驱节点, 如果路径压缩了, 这一题就没法做了, 这一题不需要路径压缩和秩优化, 并查集是一种思想, 有些题需要灵活使用这种思想, 而不是死套模板, 399, 这一题是, stringunionfind, 利用并查集思想实现的, 这里每个节点是基于字符串和, 而不是单纯的用, 节点编号实现的, 灵活使用并查集的思想, 熟练掌握并查集的, 模板中有两种并查集的实现方式, 一种是路径压缩, 秩优化的版本, 另外一种是计算每个集合中元素的个数, 最大集合元素个数的版本, 这两种版本都有各自使用的地方, 能使用第一类并查集模板的题目有, 128, 547, 684, 765, 778, 839, 924, 928, 947, 990, 能使用第二类并查集模板的题目有, 题秩优化和统计集合个数这些地方会卡时间, 如果不优化, tle, 判断是否是奇数, 将最低位, 得到最低位, 有特殊意义的, 位操作运算, 260, 201, 318, 371, 397, 461, 693, 最右边的, 位清零, 位的幂值, 最高位至第, 位至第, 构造特殊, mask, 将特殊位置放, 交换律, 结合律, 异或的特性, 136, 268, 389, 421, 饼子排序, 969, 两两不相邻的排序, 767, 摆动排序, 324, 桶排序和基数排序, 164, 链表的排序, 147, 和归并排序, 深刻的理解多路快排, 最大值最小化问题, 求在最小满足条件的情况下的最大值, 410, 875, 则左侧存在峰值, 则右侧存在峰值, peakindexinmountainarray, 在基本有序的数组中用二分搜索, 经典解法可以解, 变种写法也可以写, 常见的题型, 在山峰数组中找山峰, 在旋转有序数组中找分界点, 153, 154, 162, 852, 找到最后一个小于等于, searchlastlesselement, 二分查找最后一个小于等于, 找到第一个大于等于, searchfirstgreaterelement, 二分查找第一个大于等于, 找到最后一个与, searchlastequalelement, 二分查找最后一个与, 找到第一个与, searchfirstequalelement, 二分查找第一个与, 二分搜索的变种写法, 个基本变种, 查找最后一个小于等于, 查找第一个大于等于, 查找最后一个与, 查找第一个与, binarysearchmatrix, 二分搜索的经典写法, 需要注意的三点, 的更新, 的取值, 循环退出条件, 注意是, 而不是, updatematrix_bfs, 这里是去重的关键逻辑, ints, combinationsum2, 126, 127, 208, 211, 子集合问题, 四个方向搜索, 212, 980, 数独问题, 皇后终极解法, 二进制解法, 排列和组合杂交问题, 组合问题, 216, 排列问题, 526, 996, 456, 496, 503, 739, 901, 907, 利用栈维护一个单调递增或者递减的下标数组, 单调栈, 利用栈进行编码问题, 394, 682, 856, 880, 栈的基本, pop, 150, 155, 224, 225, 232, 946, 括号匹配问题及类似问题, 921, 判断链表是否存在环, 如果有环, 输出环的交叉点的下标, 个链表是否有交叉点, 如果有交叉点, 输出交叉点, 141, 160, 链表排序, 时间复杂度要求, 空间复杂度, 只有一种做法, 至顶向下归并, 链表归类, 328, 个有序链表, 链表寻找中间节点, 876, 链表寻找倒数第, 个节点, 只需要一次遍历就可以得到答案, 链表区间逆序, 灵活使用递归, 构造递归条件, 使用递归可以巧妙的解题, 不过需要注意有些题目不能使用递归, 因为递归深度太深会导致超时和栈溢出, 巧妙的构造虚拟头结点, 可以使遍历处理逻辑更加统一, 问题集, 167, 923, 替换字母以后, 相同字母能出现连续最长的长度, 快慢指针可以查找重复数字, 下面这些是免费的算法题, 但是暂时还不能使用, 解答的, bounds, 2443, 2442, 2441, 2440, 2439, 2438, 2437, 2436, 2435, 2434, 2433, worked, 2432, tastiness, purchased, 2431, 2430, 2429, hourglass, 2428, 2427, satisfying, inequality, 2426, pairings, 2425, uploaded, 2424, equalize, 2423, turn, 2422, 2421, 2420, 2419, 2418, 2417, 2416, 2415, alphabetical, 2414, 2413, 2412, 2411, trainers, 2410, 2409, sql, 2408, 2407, 2406, 2405, 2404, 2403, 2402, 2401, 2400, 2399, robots, 2398, 2397, 2396, 2395, deductions, 2394, 2393, 2392, garbage, 2391, 2390, 2389, null, 2388, wise, 2387, 2386, infected, 2385, 2384, hours, 2383, 2382, 2381, 2380, recolors, 2379, 2378, olympic, 2377, 2376, 2375, 2374, 2373, influence, salesperson, 2372, 2371, 2370, 2369, restrictions, 2368, 2367, replacements, 2366, 2365, 2364, 2363, invoice, 2362, costs, train, 2361, 2360, 2359, entering, 2358, subtracting, amounts, 2357, subjects, taught, teacher, 2356, take, 2355, excellent, 2354, 2353, 2352, 2351, impossible, 2350, 2349, filled, 2348, poker, 2347, compute, 2346, mountains, 2345, 2344, trimmed, 2343, 2342, 2341, 2340, 2339, 2338, 2337, infinite, 2336, cups, 2335, varying, 2334, squared, 2333, catch, 2332, 2331, 2330, 2329, 2328, aware, 2327, 2326, 2325, 2324, 2323, 2322, spliced, 2321, 2320, 2319, 2318, 2317, unreachable, 2316, asterisks, 2315, recorded, 2314, 2313, wood, 2312, 2311, 2310, upper, 2309, gender, 2308, contradictions, 2307, naming, 2306, 2305, 2304, paid, taxes, 2303, 2302, 2301, successful, spells, potions, 2300, 2299, weekend, 2298, 2297, editor, 2296, 2295, such, 2294, 2293, years, 2292, trading, stocks, 2291, 2290, 2289, 2288, 2287, booking, concert, 2286, roads, 2285, sender, 2284, 2283, seen, 2282, strength, wizards, 2281, 2280, bags, rocks, 2279, 2278, 2277, 2276, 2275, 2274, resultant, 2273, variance, 2272, carpet, 2271, 2270, 2269, keypresses, 2268, 2267, texts, 2266, 2265, 2264, 2263, appeal, 2262, 2261, 2260, 2259, spreading, fire, 2258, unguarded, 2257, 2256, 2255, 2254, unpivoting, 2253, pivoting, 2252, 2251, 2250, lattice, 2249, 2248, trip, highways, 2247, 2246, cornered, 2245, 2244, 2243, 2242, atm, 2241, pens, pencils, 2240, 2239, driver, passenger, 2238, brightness, 2237, 2236, 2235, gardens, 2234, 2233, 2232, 2231, 2230, 2229, purchases, seven, 2228, encrypt, 2227, allocated, 2226, losses, 2225, 2224, built, 2223, select, 2222, triangular, 2221, 2220, 2219, piles, 2218, 2217, 2216, 2215, health, beat, 2214, 2213, archery, 2212, collisions, road, 2211, hills, valleys, 2210, carpets, 2209, halve, 2208, 2207, 2206, 2205, 2204, weighted, subgraph, 2203, topmost, 2202, artifacts, extracted, 2201, 2200, 2199, 2198, coprime, 2197, descriptions, 2196, minimal, 2195, 2194, 2193, ancestors, acyclic, 2192, jumbled, 2191, following, 2190, 2189, 2188, 2187, 2186, 2185, sturdy, 2184, 2183, repeat, 2182, 2181, 2180, 2179, 2178, 2177, 2176, rankings, 2175, 2174, streak, 2173, 2172, beans, 2171, 2170, 2169, 2168, cars, illegal, goods, 2167, bitset, 2166, rearranged, 2165, 2164, 2163, cooking, 2162, according, 2161, 2160, 2159, painted, 2158, 2157, 2156, divisions, 2155, multiplying, 2154, 2153, 2152, statements, 2151, 2150, 2149, 2148, corridor, 2147, ranked, 2146, 2145, buying, 2144, 2143, 2142, computers, 2141, brainpower, 2140, 2139
Text of the page (random words):
pv queries 84 1 easy 1422 maximum score after splitting a string 57 8 easy 1423 maximum points you can obtain from cards go 52 3 medium 1424 diagonal traverse ii 50 3 medium 1425 constrained subsequence sum 47 4 hard 1426 counting elements 59 5 easy 1427 perform string shifts 54 2 easy 1428 leftmost column with at least a one 53 0 medium 1429 first unique number 52 7 medium 1430 check if a string is a valid sequence from root to leaves path in a binary tree 46 1 medium 1431 kids with the greatest number of candies 87 5 easy 1432 max difference you can get from changing an integer 43 0 medium 1433 check if a string can break another string 68 8 medium 1434 number of ways to wear different hats to each other 42 8 hard 1435 create a session bar chart 78 3 easy 1436 destination city 77 6 easy 1437 check if all 1 s are at least length k places away go 59 2 easy 1438 longest continuous subarray with absolute diff less than or equal to limit go 48 0 medium 1439 find the kth smallest sum of a matrix with sorted rows go 61 4 hard 1440 evaluate boolean expression 76 5 medium 1441 build an array with stack operations 71 3 medium 1442 count triplets that can form two arrays of equal xor go 75 6 medium 1443 minimum time to collect all apples in a tree 56 0 medium 1444 number of ways of cutting a pizza 58 6 hard 1445 apples oranges 91 3 medium 1446 consecutive characters go 61 7 easy 1447 simplified fractions 64 6 medium 1448 count good nodes in binary tree 74 6 medium 1449 form largest integer with digits that add up to target 47 1 hard 1450 number of students doing homework at a given time 75 9 easy 1451 rearrange words in a sentence 62 5 medium 1452 people whose list of favorite companies is not a subset of another list 56 8 medium 1453 maximum number of darts inside of a circular dartboard 36 8 hard 1454 active users 38 4 medium 1455 check if a word occurs as a prefix of any word in a sentence go 64 2 easy 1456 maximum number of vowels in a substring of given length 57 9 medium 1457 pseudo palindromic paths in a binary tree 68 1 medium 1458 max dot product of two subsequences 46 2 hard 1459 rectangles area 70 0 medium 1460 make two arrays equal by reversing subarrays 72 2 easy 1461 check if a string contains all binary codes of size k go 56 8 medium 1462 course schedule iv 48 9 medium 1463 cherry pickup ii go 70 2 hard 1464 maximum product of two elements in an array go 79 2 easy 1465 maximum area of a piece of cake after horizontal and vertical cuts go 40 8 medium 1466 reorder routes to make all paths lead to the city zero 61 8 medium 1467 probability of a two boxes having the same number of distinct balls 60 8 hard 1468 calculate salaries 81 9 medium 1469 find all the lonely nodes 81 7 easy 1470 shuffle the array go 88 5 easy 1471 the k strongest values in an array 60 1 medium 1472 design browser history 76 1 medium 1473 paint house iii 62 0 hard 1474 delete n nodes after m nodes of a linked list 73 8 easy 1475 final prices with a special discount in a shop 75 4 easy 1476 subrectangle queries 88 5 medium 1477 find two non overlapping sub arrays each with target sum 37 0 medium 1478 allocate mailboxes 55 3 hard 1479 sales by day of the week 82 4 hard 1480 running sum of 1d array go 89 8 easy 1481 least number of unique integers after k removals 57 2 medium 1482 minimum number of days to make m bouquets go 56 7 medium 1483 kth ancestor of a tree node 33 8 hard 1484 group sold products by the date 84 1 easy 1485 clone binary tree with random pointer 79 5 medium 1486 xor operation in an array go 84 2 easy 1487 making file names unique 35 6 medium 1488 avoid flood in the city 26 1 medium 1489 find critical and pseudo critical edges in minimum spanning tree 53 4 hard 1490 clone n ary tree 83 6 medium 1491 average salary excluding the minimum and maximum salary 63 1 easy 1492 the kth factor of n 62 3 medium 1493 longest subarray of 1 s after deleting one element 60 1 medium 1494 parallel courses ii 31 1 hard 1495 friendly movies streamed last month 49 8 easy 1496 path crossing 55 8 easy 1497 check if array pairs are divisible by k 39 8 medium 1498 number of subsequences that satisfy the given sum condition 38 4 medium 1499 max value of equation 46 5 hard 1500 design a file sharing system 44 9 medium 1501 countries you can safely invest in 58 3 medium 1502 can make arithmetic progression from sequence 68 3 easy 1503 last moment before all ants fall out of a plank 55 2 medium 1504 count submatrices with all ones 57 9 medium 1505 minimum possible integer after at most k adjacent swaps on digits 38 1 hard 1506 find root of n ary tree 78 1 medium 1507 reformat date 62 4 easy 1508 range sum of sorted subarray sums 59 4 medium 1509 minimum difference between largest and smallest value in three moves 54 6 medium 1510 stone game iv 60 6 hard 1511 customer order frequency 73 1 easy 1512 number of good pairs go 88 2 easy 1513 number of substrings with only 1s 45 2 medium 1514 path with maximum probability 48 3 medium 1515 best position for a service centre 38 4 hard 1516 move sub tree of n ary tree 63 9 hard 1517 find users with valid e mails 57 1 easy 1518 water bottles go 60 3 easy 1519 number of nodes in the sub tree with the same label 40 9 medium 1520 maximum number of non overlapping substrings 37 9 hard 1521 find a value of a mysterious function closest to target 43 6 hard 1522 diameter of n ary tree 73 4 medium 1523 count odd numbers in an interval range 46 4 easy 1524 number of sub arrays with odd sum 43 6 medium 1525 number of good ways to split a string 69 5 medium 1526 minimum number of increments on subarrays to form a target array 68 6 hard 1527 patients with a condition 42 9 easy 1528 shuffle string 85 7 easy 1529 minimum suffix flips 72 5 medium 1530 number of good leaf nodes pairs 60 5 medium 1531 string compression ii 50 2 hard 1532 the most recent three orders 71 1 medium 1533 find the index of the large integer 50 7 medium 1534 count good triplets 80 8 easy 1535 find the winner of an array game 48 8 medium 1536 minimum swaps to arrange a binary grid 46 4 medium 1537 get the maximum score 39 3 hard 1538 guess the majority in a hidden array 63 0 medium 1539 kth missing positive number go 55 9 easy 1540 can convert string in k moves 33 1 medium 1541 minimum insertions to balance a parentheses string 49 9 medium 1542 find longest awesome substring 41 6 hard 1543 fix product name format 62 4 easy 1544 make the string great 57 0 easy 1545 find kth bit in nth binary string 58 2 medium 1546 maximum number of non overlapping subarrays with sum equals target 47 2 medium 1547 minimum cost to cut a stick 56 8 hard 1548 the most similar path in a graph 56 9 hard 1549 the most recent orders for each product 67 9 medium 1550 three consecutive odds 63 7 easy 1551 minimum operations to make array equal go 81 1 medium 1552 magnetic force between two balls 56 8 medium 1553 minimum number of days to eat n oranges 34 4 hard 1554 strings differ by one character 43 6 medium 1555 bank account summary 53 0 medium 1556 thousand separator 55 1 easy 1557 minimum number of vertices to reach all nodes 79 6 medium 1558 minimum numbers of function calls to make target array 64 3 medium 1559 detect cycles in 2d grid 48 1 medium 1560 most visited sector in a circular track 58 4 easy 1561 maximum number of coins you can get 78 6 medium 1562 find latest group of size m 42 4 medium 1563 stone game v 40 6 hard 1564 put boxes into the warehouse i 67 1 medium 1565 unique orders and customers per month 83 6 easy 1566 detect pattern of length m repeated k or more times 43 6 easy 1567 maximum length of subarray with positive product 43 7 medium 1568 minimum number of days to disconnect island 47 1 hard 1569 number of ways to reorder array to get same bst 48 2 hard 1570 dot product of two sparse vectors 90 4 medium 1571 warehouse manager 90 1 easy 1572 matrix diagonal sum go 79 7 easy 1573 number of ways to split a string go 32 4 medium 1574 shortest subarray to be removed to make array sorted 36 5 medium 1575 count all possible routes 56 9 hard 1576 replace all s to avoid consecutive repeating characters go 49 2 easy 1577 number of ways where square of number is equal to product of two numbers 39 9 medium 1578 minimum time to make rope colorful 63 7 medium 1579 remove max number of edges to keep graph fully traversable go 52 7 hard 1580 put boxes into the warehouse ii 63 5 medium 1581 customer who visited but did not make any transactions 89 0 easy 1582 special positions in a binary matrix 65 3 easy 1583 count unhappy friends 59 8 medium 1584 min cost to connect all points 64 3 medium 1585 check if string is transformable with substring sort operations 48 4 hard 1586 binary search tree iterator ii 70 8 medium 1587 bank account summary ii 90 2 easy 1588 sum of all odd length subarrays 83 6 easy 1589 maximum sum obtained of any permutation 37 0 medium 1590 make sum divisible by p 28 1 medium 1591 strange printer ii 58 4 hard 1592 rearrange spaces between words 43 8 easy 1593 split a string into the max number of unique substrings 55 1 medium 1594 maximum non negative product in a matrix 33 1 medium 1595 minimum cost to connect two groups of points 46 3 hard 1596 the most frequently ordered products for each customer 85 1 medium 1597 build binary expression tree from infix expression 62 2 hard 1598 crawler log folder 64 3 easy 1599 maximum profit of operating a centennial wheel 43 7 medium 1600 throne inheritance go 63 6 medium 1601 maximum number of achievable transfer requests 51 3 hard 1602 find nearest right node in binary tree 75 3 medium 1603 design parking system go 88 1 easy 1604 alert using same key card three or more times in a one hour period 47 4 medium 1605 find valid matrix given row and column sums 78 1 medium 1606 find servers that handled most number of requests 42 8 hard 1607 sellers with no sales 55 3 easy 1608 special array with x elements greater than or equal x go 60 0 easy 1609 even odd tree go 53 6 medium 1610 maximum number of visible points 37 4 hard 1611 minimum one bit operations to make integers zero 63 2 hard 1612 check if two expression trees are equivalent 69 9 medium 1613 find the missing ids 75 9 medium 1614 maximum nesting depth of the parentheses go 82 7 easy 1615 maximal network rank 58 1 medium 1616 split two strings to make palindrome 31 3 medium 1617 count subtrees with max distance between cities 65 9 hard 1618 maximum font to fit a sentence in a screen 59 1 medium 1619 mean of array after removing some elements go 64 6 easy 1620 coordinate with maximum network quality 37 3 medium 1621 number of sets of k non overlapping line segments 42 3 medium 1622 fancy sequence 16 1 hard 1623 all valid triplets that can represent a country 88 0 easy 1624 largest substring between two equal characters go 59 0 easy 1625 lexicographically smallest string after applying operations 66 0 medium 1626 best team with no conflicts 41 1 medium 1627 graph connectivity with threshold 45 5 hard 1628 design an expression tree with evaluate function 82 7 medium 1629 slowest key go 59 4 easy 1630 arithmetic subarrays 79 9 medium 1631 path with minimum effort go 55 3 medium 1632 rank transform of a matrix 41 0 hard 1633 percentage of users attended a contest 68 8 easy 1634 add two polynomials represented as linked lists 53 4 medium 1635 hopper company queries i 53 0 hard 1636 sort array by increasing frequency go 68 6 easy 1637 widest vertical area between two points containing no points 84 2 medium 1638 count substrings that differ by one character 71 5 medium 1639 number of ways to form a target string given a dictionary 42 9 hard 1640 check array formation through concatenation go 56 1 easy 1641 count sorted vowel strings go 77 3 medium 1642 furthest building you can reach go 48 3 medium 1643 kth smallest instructions 46 3 hard 1644 lowest common ancestor of a binary tree ii 59 3 medium 1645 hopper company queries ii 38 8 hard 1646 get maximum in generated array go 50 2 easy 1647 minimum deletions to make character frequencies unique go 59 2 medium 1648 sell diminishing valued colored balls go 30 6 medium 1649 create sorted array through instructions go 37 2 hard 1650 lowest common ancestor of a binary tree iii 77 3 medium 1651 hopper company queries iii 68 0 hard 1652 defuse the bomb go 61 1 easy 1653 minimum deletions to make string balanced go 58 7 medium 1654 minimum jumps to reach home go 28 6 medium 1655 distribute repeating integers go 39 7 hard 1656 design an ordered stream go 85 3 easy 1657 determine if two strings are close go 54 2 medium 1658 minimum operations to reduce x to zero go 37 6 medium 1659 maximize grid happiness go 38 4 hard 1660 correct a binary tree 72 5 medium 1661 average time of process per machine 79 4 easy 1662 check if two string arrays are equivalent go 81 8 easy 1663 smallest string with a given numeric value go 67 0 medium 1664 ways to make a fair array go 63 6 medium 1665 minimum initial energy to finish tasks go 56 2 hard 1666 change the root of a binary tree 69 4 medium 1667 fix names in a table 66 8 easy 1668 maximum repeating substring go 39 6 easy 1669 merge in between linked lists go 74 5 medium 1670 design front middle back queue go 56 4 medium 1671 minimum number of removals to make mountain array 42 6 hard 1672 richest customer wealth go 88 4 easy 1673 find the most competitive subsequence go 49 3 medium 1674 minimum moves to make array complementary go 38 5 medium 1675 minimize deviation in array go 52 1 hard 1676 lowest common ancestor of a binary tree iv 79 3 medium 1677 product s worth over invoices 39 4 easy 1678 goal parser interpretation go 86 0 easy 1679 max number of k sum pairs go 57 4 medium 1680 concatenation of consecutive binary numbers go 57 0 medium 1681 minimum incompatibility go 37 3 hard 1682 longest palindromic subsequence ii 49 7 medium 1683 invalid tweets 91 0 easy 1684 count the number of consistent strings go 81 8 easy 1685 sum of absolute differences in a sorted array go 65 3 medium 1686 stone game vi 54 3 medium 1687 delivering boxes from storage to ports 38 2 hard 1688 count of matches in tournament go 83 1 easy 1689 partitioning into minimum number of deci binary numbers go 89 7 medium 1690 stone game vii go 58 7 medium 1691 maximum height by stacking cuboids go 54 2 hard 1692 count ways to distribute candies 62 0 hard 1693 daily leads and partners 90 4 easy 1694 reformat phone number go 64 7 easy 1695 maximum erasure value go 57 7 medium 1696 jump game vi go 46 3 medium 1697 checking existence of edge length limited paths 50 5 hard 1698 number of distinct substrings in a string 63 1 medium 1699 number of calls between two persons 85 8 medium 1700 number of students unable to eat lunch go 67 7 easy 1701 average waiting time 62 3 medium 1702 maximum binary string after change 46 1 medium 1703 minimum adjacent swaps for k consecutive ones 41 3 hard 1704 determine if string halves are alike go 77 4 easy 1705 maximum number of eaten apples go 37 9 medium 1706 where will the ball fa...
|