# categories Array 1977 String 809 Hash Table 722 Dynamic Programming 609 Math 607 Sorting 467 Greedy 430 Depth-First Search 329 Binary Search 318 Database 310 Matrix 263 Tree 252 Breadth-First Search 248 Bit Manipulation 247 Two Pointers 224 Prefix Sum 210 Heap (Priority Queue) 200 Simulation 187 Binary Tree 177 Graph 175 Stack 172 Counting 168 Sliding Window 155 Design 130 Enumeration 123 Backtracking 109 Union Find 93 Linked List 81 Number Theory 80 Ordered Set 74 Monotonic Stack 69 Segment Tree 66 Trie 58 Combinatorics 56 Bitmask 55 Divide and Conquer 53 Queue 50 Recursion 49 Geometry 44 Binary Indexed Tree 44 Memoization 42 Hash Function 40 Binary Search Tree 40 Shortest Path 37 String Matching 37 Topological Sort 37 Rolling Hash 31 Game Theory 29 Interactive 23 Data Stream 21 Monotonic Queue 20 Brainteaser 19 Doubly-Linked List 13 Randomized 12 Merge Sort 12 Counting Sort 11 Iterator 9 Concurrency 9 Probability and Statistics 7 Quickselect 7 Suffix Array 7 Line Sweep 7 Minimum Spanning Tree 6 Bucket Sort 6 Shell 4 Reservoir Sampling 4 Strongly Connected Component 3 Eulerian Circuit 3 Radix Sort 3 Rejection Sampling 2 Biconnected Component 1 Collapse Search questions # problems 1. Two Sum 56.2% Easy 2. Add Two Numbers 46.8% Med. 3. Longest Substring Without Repeating Characters 37.4% Med. 4. Median of Two Sorted Arrays 44.5% Hard 5. Longest Palindromic Substring 36.3% Med. 6. Zigzag Conversion 52.2% Med. 7. Reverse Integer 30.6% Med. 8. String to Integer (atoi) 19.6% Med. 9. Palindrome Number 59.5% Easy 10. Regular Expression Matching 29.5% Hard 11. Container With Most Water 58.2% Med. 12. Integer to Roman 69.2% Med. 13. Roman to Integer 65.3% Easy 14. Longest Common Prefix 46.0% Easy 15. 3Sum 37.5% Med. 16. 3Sum Closest 47.2% Med. 17. Letter Combinations of a Phone Number 64.4% Med. 18. 4Sum 38.7% Med. 19. Remove Nth Node From End of List 49.6% Med. 20. Valid Parentheses 42.7% Easy 21. Merge Two Sorted Lists 67.2% Easy 22. Generate Parentheses 77.5% Med. 23. Merge k Sorted Lists 57.4% Hard 24. Swap Nodes in Pairs 67.7% Med. 25. Reverse Nodes in k-Group 63.8% Hard 26. Remove Duplicates from Sorted Array 61.0% Easy 27. Remove Element 60.4% Easy 28. Find the Index of the First Occurrence in a String 45.4% Easy 29. Divide Two Integers 18.6% Med. 30. Substring with Concatenation of All Words 33.2% Hard 31. Next Permutation 43.6% Med. 32. Longest Valid Parentheses 36.8% Hard 33. Search in Rotated Sorted Array 43.3% Med. 34. Find First and Last Position of Element in Sorted Array 47.3% Med. 35. Search Insert Position 49.5% Easy 36. Valid Sudoku 62.7% Med. 37. Sudoku Solver 64.1% Hard 38. Count and Say 61.1% Med. 39. Combination Sum 75.2% Med. 40. Combination Sum II 58.1% Med. 41. First Missing Positive 41.4% Hard 42. Trapping Rain Water 65.7% Hard 43. Multiply Strings 42.6% Med. 44. Wildcard Matching 30.4% Hard 45. Jump Game II 41.8% Med. 46. Permutations 81.0% Med. 47. Permutations II 62.0% Med. 48. Rotate Image 78.4% Med. 49. Group Anagrams 71.3% Med. 50. Pow(x, n) 37.4% Med. 51. N-Queens 73.6% Hard 52. N-Queens II 77.2% Hard 53. Maximum Subarray 52.4% Med. 54. Spiral Matrix 54.7% Med. 55. Jump Game 39.8% Med. 56. Merge Intervals 49.8% Med. 57. Insert Interval 43.9% Med. 58. Length of Last Word 56.9% Easy 59. Spiral Matrix II 73.8% Med. 60. Permutation Sequence 50.5% Hard 61. Rotate List 40.3% Med. 62. Unique Paths 66.0% Med. 63. Unique Paths II 43.5% Med. 64. Minimum Path Sum 67.0% Med. 65. Valid Number 21.8% Hard 66. Plus One 47.9% Easy 67. Add Binary 56.0% Easy 68. Text Justification 48.8% Hard 69. Sqrt(x) 40.6% Easy 70. Climbing Stairs 53.7% Easy 71. Simplify Path 48.5% Med. 72. Edit Distance 59.3% Med. 73. Set Matrix Zeroes 61.3% Med. 74. Search a 2D Matrix 52.7% Med. 75. Sort Colors 68.1% Med. 76. Minimum Window Substring 45.9% Hard 77. Combinations 73.3% Med. 78. Subsets 81.3% Med. 79. Word Search 45.8% Med. 80. Remove Duplicates from Sorted Array II 63.3% Med. 81. Search in Rotated Sorted Array II 39.1% Med. 82. Remove Duplicates from Sorted List II 50.4% Med. 83. Remove Duplicates from Sorted List 55.3% Easy 84. Largest Rectangle in Histogram 48.1% Hard 85. Maximal Rectangle 54.5% Hard 86. Partition List 59.5% Med. 87. Scramble String 42.7% Hard 88. Merge Sorted Array 53.4% Easy 89. Gray Code 62.4% Med. 90. Subsets II 60.0% Med. 91. Decode Ways 36.9% Med. 92. Reverse Linked List II 50.0% Med. 93. Restore IP Addresses 53.8% Med. 94. Binary Tree Inorder Traversal 79.0% Easy 95. Unique Binary Search Trees II 60.9% Med. 96. Unique Binary Search Trees 62.7% Med. 97. Interleaving String 42.6% Med. 98. Validate Binary Search Tree 34.7% Med. 99. Recover Binary Search Tree 57.2% Med. 100. Same Tree 65.6% Easy 101. Symmetric Tree 59.8% Easy 102. Binary Tree Level Order Traversal 71.1% Med. 103. Binary Tree Zigzag Level Order Traversal 62.2% Med. 104. Maximum Depth of Binary Tree 77.4% Easy 105. Construct Binary Tree from Preorder and Inorder Traversal 67.4% Med. 106. Construct Binary Tree from Inorder and Postorder Traversal 66.8% Med. 107. Binary Tree Level Order Traversal II 66.5% Med. 108. Convert Sorted Array to Binary Search Tree 74.4% Easy 109. Convert Sorted List to Binary Search Tree 64.9% Med. 110. Balanced Binary Tree 55.9% Easy 111. Minimum Depth of Binary Tree 51.2% Easy 112. Path Sum 53.5% Easy 113. Path Sum II 60.9% Med. 114. Flatten Binary Tree to Linked List 69.1% Med. 115. Distinct Subsequences 50.6% Hard 116. Populating Next Right Pointers in Each Node 65.9% Med. 117. Populating Next Right Pointers in Each Node II 56.0% Med. 118. Pascal's Triangle 78.0% Easy 119. Pascal's Triangle II 66.3% Easy 120. Triangle 59.4% Med. 121. Best Time to Buy and Sell Stock 55.6% Easy 122. Best Time to Buy and Sell Stock II 69.9% Med. 123. Best Time to Buy and Sell Stock III 51.9% Hard 124. Binary Tree Maximum Path Sum 41.5% Hard 125. Valid Palindrome 51.6% Easy 126. Word Ladder II 27.2% Hard 127. Word Ladder 43.5% Hard 128. Longest Consecutive Sequence 47.0% Med. 129. Sum Root to Leaf Numbers 68.9% Med. 130. Surrounded Regions 43.5% Med. 131. Palindrome Partitioning 72.7% Med. 132. Palindrome Partitioning II 35.7% Hard 133. Clone Graph 63.1% Med. 134. Gas Station 46.7% Med. 135. Candy 47.1% Hard 136. Single Number 76.4% Easy 137. Single Number II 65.7% Med. 138. Copy List with Random Pointer 61.2% Med. 139. Word Break 48.5% Med. 140. Word Break II 54.0% Hard 141. Linked List Cycle 53.0% Easy 142. Linked List Cycle II 55.7% Med. 143. Reorder List 63.2% Med. 144. Binary Tree Preorder Traversal 73.9% Easy 145. Binary Tree Postorder Traversal 76.4% Easy 146. LRU Cache 45.7% Med. 147. Insertion Sort List 57.0% Med. 148. Sort List 62.5% Med. 149. Max Points on a Line 29.3% Hard 150. Evaluate Reverse Polish Notation 55.5% Med. 151. Reverse Words in a String 53.2% Med. 152. Maximum Product Subarray 35.3% Med. 153. Find Minimum in Rotated Sorted Array 53.0% Med. 154. Find Minimum in Rotated Sorted Array II 44.2% Hard 155. Min Stack 56.9% Med. 156. Binary Tree Upside Down 64.7% Med. 157. Read N Characters Given Read4 42.3% Easy 158. Read N Characters Given read4 II - Call Multiple Times 43.0% Hard 159. Longest Substring with At Most Two Distinct Characters 56.6% Med. 160. Intersection of Two Linked Lists 61.8% Easy 161. One Edit Distance 34.5% Med. 162. Find Peak Element 46.6% Med. 163. Missing Ranges 35.4% Easy 164. Maximum Gap 49.9% Med. 165. Compare Version Numbers 42.7% Med. 166. Fraction to Recurring Decimal 26.5% Med. 167. Two Sum II - Input Array Is Sorted 63.8% Med. 168. Excel Sheet Column Title 44.1% Easy 169. Majority Element 65.8% Easy 170. Two Sum III - Data structure design 38.7% Easy 171. Excel Sheet Column Number 66.2% Easy 172. Factorial Trailing Zeroes 45.2% Med. 173. Binary Search Tree Iterator 75.4% Med. 174. Dungeon Game 39.9% Hard 175. Combine Two Tables 78.4% Easy 176. Second Highest Salary 44.7% Med. 177. Nth Highest Salary 38.3% Med. 178. Rank Scores 65.8% Med. 179. Largest Number 41.6% Med. 180. Consecutive Numbers 46.6% Med. 181. Employees Earning More Than Their Managers 71.9% Easy 182. Duplicate Emails 72.7% Easy 183. Customers Who Never Order 70.9% Easy 184. Department Highest Salary 55.5% Med. 185. Department Top Three Salaries 58.4% Hard 186. Reverse Words in a String II 56.2% Med. 187. Repeated DNA Sequences 51.8% Med. 188. Best Time to Buy and Sell Stock IV 48.0% Hard 189. Rotate Array 43.5% Med. 190. Reverse Bits 64.0% Easy 191. Number of 1 Bits 75.1% Easy 192. Word Frequency 27.5% Med. 193. Valid Phone Numbers 27.9% Easy 194. Transpose File 28.9% Med. 195. Tenth Line 34.9% Easy 196. Delete Duplicate Emails 64.7% Easy 197. Rising Temperature 50.5% Easy 198. House Robber 52.5% Med. 199. Binary Tree Right Side View 67.9% Med. 200. Number of Islands 62.8% Med. 201. Bitwise AND of Numbers Range 48.0% Med. 202. Happy Number 58.4% Easy 203. Remove Linked List Elements 52.5% Easy 204. Count Primes 35.1% Med. 205. Isomorphic Strings 47.3% Easy 206. Reverse Linked List 79.6% Easy 207. Course Schedule 49.8% Med. 208. Implement Trie (Prefix Tree) 68.4% Med. 209. Minimum Size Subarray Sum 49.9% Med. 210. Course Schedule II 54.0% Med. 211. Design Add and Search Words Data Structure 47.4% Med. 212. Word Search II 37.5% Hard 213. House Robber II 43.9% Med. 214. Shortest Palindrome 41.0% Hard 215. Kth Largest Element in an Array 68.3% Med. 216. Combination Sum III 72.3% Med. 217. Contains Duplicate 63.5% Easy 218. The Skyline Problem 44.2% Hard 219. Contains Duplicate II 49.5% Easy 220. Contains Duplicate III 23.8% Hard 221. Maximal Square 49.2% Med. 222. Count Complete Tree Nodes 70.7% Easy 223. Rectangle Area 47.6% Med. 224. Basic Calculator 46.0% Hard 225. Implement Stack using Queues 68.1% Easy 226. Invert Binary Tree 79.3% Easy 227. Basic Calculator II 46.1% Med. 228. Summary Ranges 53.3% Easy 229. Majority Element II 54.9% Med. 230. Kth Smallest Element in a BST 75.7% Med. 231. Power of Two 49.3% Easy 232. Implement Queue using Stacks 68.5% Easy 233. Number of Digit One 36.3% Hard 234. Palindrome Linked List 56.4% Easy 235. Lowest Common Ancestor of a Binary Search Tree 68.9% Med. 236. Lowest Common Ancestor of a Binary Tree 67.5% Med. 237. Delete Node in a Linked List 82.8% Med. 238. Product of Array Except Self 68.0% Med. 239. Sliding Window Maximum 47.9% Hard 240. Search a 2D Matrix II 55.8% Med. 241. Different Ways to Add Parentheses 72.6% Med. 242. Valid Anagram 67.0% Easy 243. Shortest Word Distance 66.0% Easy 244. Shortest Word Distance II 62.2% Med. 245. Shortest Word Distance III 59.2% Med. 246. Strobogrammatic Number 47.6% Easy 247. Strobogrammatic Number II 53.3% Med. 248. Strobogrammatic Number III 42.5% Hard 249. Group Shifted Strings 67.5% Med. 250. Count Univalue Subtrees 57.2% Med. 251. Flatten 2D Vector 50.2% Med. 252. Meeting Rooms 59.0% Easy 253. Meeting Rooms II 52.2% Med. 254. Factor Combinations 50.3% Med. 255. Verify Preorder Sequence in Binary Search Tree 51.4% Med. 256. Paint House 63.9% Med. 257. Binary Tree Paths 67.1% Easy 258. Add Digits 68.1% Easy 259. 3Sum Smaller 51.0% Med. 260. Single Number III 70.5% Med. 261. Graph Valid Tree 49.5% Med. 262. Trips and Users 37.1% Hard 263. Ugly Number 42.5% Easy 264. Ugly Number II 49.3% Med. 265. Paint House II 56.6% Hard 266. Palindrome Permutation 68.5% Easy 267. Palindrome Permutation II 42.2% Med. 268. Missing Number 70.6% Easy 269. Alien Dictionary 36.8% Hard 270. Closest Binary Search Tree Value 49.6% Easy 271. Encode and Decode Strings 50.1% Med. 272. Closest Binary Search Tree Value II 60.6% Hard 273. Integer to English Words 34.5% Hard 274. H-Index 40.6% Med. 275. H-Index II 39.0% Med. 276. Paint Fence 47.9% Med. 277. Find the Celebrity 48.5% Med. 278. First Bad Version 46.2% Easy 279. Perfect Squares 55.9% Med. 280. Wiggle Sort 68.3% Med. 281. Zigzag Iterator 66.0% Med. 282. Expression Add Operators 42.1% Hard 283. Move Zeroes 63.0% Easy 284. Peeking Iterator 60.6% Med. 285. Inorder Successor in BST 50.9% Med. 286. Walls and Gates 63.2% Med. 287. Find the Duplicate Number 63.2% Med. 288. Unique Word Abbreviation 27.2% Med. 289. Game of Life 71.7% Med. 290. Word Pattern 43.3% Easy 291. Word Pattern II 48.7% Med. 292. Nim Game 58.4% Easy 293. Flip Game 64.9% Easy 294. Flip Game II 52.2% Med. 295. Find Median from Data Stream 53.6% Hard 296. Best Meeting Point 61.2% Hard 297. Serialize and Deserialize Binary Tree 59.4% Hard 298. Binary Tree Longest Consecutive Sequence 54.2% Med. 299. Bulls and Cows 51.6% Med. 300. Longest Increasing Subsequence 58.3% Med. 301. Remove Invalid Parentheses 49.4% Hard 302. Smallest Rectangle Enclosing Black Pixels 60.7% Hard 303. Range Sum Query - Immutable 69.5% Easy 304. Range Sum Query 2D - Immutable 56.9% Med. 305. Number of Islands II 40.2% Hard 306. Additive Number 32.8% Med. 307. Range Sum Query - Mutable 42.0% Med. 308. Range Sum Query 2D - Mutable 45.0% Med. 309. Best Time to Buy and Sell Stock with Cooldown 60.9% Med. 310. Minimum Height Trees 42.1% Med. 311. Sparse Matrix Multiplication 69.0% Med. 312. Burst Balloons 61.9% Hard 313. Super Ugly Number 45.5% Med. 314. Binary Tree Vertical Order Traversal 57.4% Med. 315. Count of Smaller Numbers After Self 43.0% Hard 316. Remove Duplicate Letters 51.7% Med. 317. Shortest Distance from All Buildings 44.6% Hard 318. Maximum Product of Word Lengths 60.7% Med. 319. Bulb Switcher 54.4% Med. 320. Generalized Abbreviation 60.2% Med. 321. Create Maximum Number 33.1% Hard 322. Coin Change 47.0% Med. 323. Number of Connected Components in an Undirected Graph 64.4% Med. 324. Wiggle Sort II 36.0% Med. 325. Maximum Size Subarray Sum Equals k 50.6% Med. 326. Power of Three 49.9% Easy 327. Count of Range Sum 37.3% Hard 328. Odd Even Linked List 62.1% Med. 329. Longest Increasing Path in a Matrix 55.7% Hard 330. Patching Array 53.7% Hard 331. Verify Preorder Serialization of a Binary Tree 46.4% Med. 332. Reconstruct Itinerary 43.8% Hard 333. Largest BST Subtree 45.7% Med. 334. Increasing Triplet Subsequence 39.2% Med. 335. Self Crossing 32.6% Hard 336. Palindrome Pairs 36.5% Hard 337. House Robber III 55.1% Med. 338. Counting Bits 80.0% Easy 339. Nested List Weight Sum 85.7% Med. 340. Longest Substring with At Most K Distinct Characters 49.6% Med. 341. Flatten Nested List Iterator 65.3% Med. 342. Power of Four 51.0% Easy 343. Integer Break 61.3% Med. 344. Reverse String 80.0% Easy 345. Reverse Vowels of a String 59.0% Easy 346. Moving Average from Data Stream 80.0% Easy 347. Top K Frequent Elements 64.7% Med. 348. Design Tic-Tac-Toe 58.7% Med. 349. Intersection of Two Arrays 76.8% Easy 350. Intersection of Two Arrays II 59.2% Easy 351. Android Unlock Patterns 53.5% Med. 352. Data Stream as Disjoint Intervals 59.6% Hard 353. Design Snake Game 39.8% Med. 354. Russian Doll Envelopes 37.4% Hard 355. Design Twitter 43.2% Med. 356. Line Reflection 36.1% Med. 357. Count Numbers with Unique Digits 54.6% Med. 358. Rearrange String k Distance Apart 39.4% Hard 359. Logger Rate Limiter 76.7% Easy 360. Sort Transformed Array 57.2% Med. 361. Bomb Enemy 52.7% Med. 362. Design Hit Counter 69.3% Med. 363. Max Sum of Rectangle No Larger Than K 44.8% Hard 364. Nested List Weight Sum II 65.8% Med. 365. Water and Jug Problem 43.6% Med. 366. Find Leaves of Binary Tree 81.1% Med. 367. Valid Perfect Square 44.3% Easy 368. Largest Divisible Subset 49.0% Med. 369. Plus One Linked List 61.2% Med. 370. Range Addition 72.4% Med. 371. Sum of Two Integers 54.2% Med. 372. Super Pow 35.6% Med. 373. Find K Pairs with Smallest Sums 40.9% Med. 374. Guess Number Higher or Lower 56.2% Easy 375. Guess Number Higher or Lower II 51.5% Med. 376. Wiggle Subsequence 49.0% Med. 377. Combination Sum IV 54.7% Med. 378. Kth Smallest Element in a Sorted Matrix 63.8% Med. 379. Design Phone Directory 52.5% Med. 380. Insert Delete GetRandom O(1) 55.1% Med. 381. Insert Delete GetRandom O(1) - Duplicates allowed 35.9% Hard 382. Linked List Random Node 64.2% Med. 383. Ransom Note 64.9% Easy 384. Shuffle an Array 59.2% Med. 385. Mini Parser 40.7% Med. 386. Lexicographical Numbers 76.1% Med. 387. First Unique Character in a String 64.1% Easy 388. Longest Absolute File Path 48.6% Med. 389. Find the Difference 59.8% Easy 390. Elimination Game 45.1% Med. 391. Perfect Rectangle 35.7% Hard 392. Is Subsequence 48.5% Easy 393. UTF-8 Validation 45.6% Med. 394. Decode String 61.5% Med. 395. Longest Substring with At Least K Repeating Characters 45.6% Med. 396. Rotate Function 44.4% Med. 397. Integer Replacement 36.7% Med. 398. Random Pick Index 64.7% Med. 399. Evaluate Division 63.4% Med. 400. Nth Digit 35.9% Med. 401. Binary Watch 57.0% Easy 402. Remove K Digits 35.5% Med. 403. Frog Jump 46.7% Hard 404. Sum of Left Leaves 61.9% Easy 405. Convert a Number to Hexadecimal 51.5% Easy 406. Queue Reconstruction by Height 74.3% Med. 407. Trapping Rain Water II 59.0% Hard 408. Valid Word Abbreviation 36.9% Easy 409. Longest Palindrome 55.6% Easy 410. Split Array Largest Sum 58.7% Hard 411. Minimum Unique Word Abbreviation 40.2% Hard 412. Fizz Buzz 74.7% Easy 413. Arithmetic Slices 64.8% Med. 414. Third Maximum Number 37.7% Easy 415. Add Strings 51.9% Easy 416. Partition Equal Subset Sum 48.7% Med. 417. Pacific Atlantic Water Flow 58.0% Med. 418. Sentence Screen Fitting 36.4% Med. 419. Battleships in a Board 76.8% Med. 420. Strong Password Checker 14.8% Hard 421. Maximum XOR of Two Numbers in an Array 53.3% Med. 422. Valid Word Square 42.1% Easy 423. Reconstruct Original Digits from English 51.7% Med. 424. Longest Repeating Character Replacement 57.8% Med. 425. Word Squares 54.4% Hard 426. Convert Binary Search Tree to Sorted Doubly Linked List 65.6% Med. 427. Construct Quad Tree 77.5% Med. 428. Serialize and Deserialize N-ary Tree 68.4% Hard 429. N-ary Tree Level Order Traversal 71.3% Med. 430. Flatten a Multilevel Doubly Linked List 61.7% Med. 431. Encode N-ary Tree to Binary Tree 80.2% Hard 432. All O`one Data Structure 44.1% Hard 433. Minimum Genetic Mutation 55.8% Med. 434. Number of Segments in a String 36.5% Easy 435. Non-overlapping Intervals 55.9% Med. 436. Find Right Interval 54.4% Med. 437. Path Sum III 46.1% Med. 438. Find All Anagrams in a String 52.5% Med. 439. Ternary Expression Parser 62.1% Med. 440. K-th Smallest in Lexicographical Order 46.0% Hard 441. Arranging Coins 47.5% Easy 442. Find All Duplicates in an Array 76.5% Med. 443. String Compression 58.6% Med. 444. Sequence Reconstruction 29.7% Med. 445. Add Two Numbers II 61.9% Med. 446. Arithmetic Slices II - Subsequence 54.6% Hard 447. Number of Boomerangs 56.6% Med. 448. Find All Numbers Disappeared in an Array 62.7% Easy 449. Serialize and Deserialize BST 58.8% Med. 450. Delete Node in a BST 53.4% Med. 451. Sort Characters By Frequency 74.5% Med. 452. Minimum Number of Arrows to Burst Balloons 60.7% Med. 453. Minimum Moves to Equal Array Elements 58.0% Med. 454. 4Sum II 57.7% Med. 455. Assign Cookies 54.3% Easy 456. 132 Pattern 34.2% Med. 457. Circular Array Loop 35.9% Med. 458. Poor Pigs 59.1% Hard 459. Repeated Substring Pattern 47.1% Easy 460. LFU Cache 47.3% Hard 461. Hamming Distance 76.2% Easy 462. Minimum Moves to Equal Array Elements II 61.1% Med. 463. Island Perimeter 73.7% Easy 464. Can I Win 30.6% Med. 465. Optimal Account Balancing 50.1% Hard 466. Count The Repetitions 32.4% Hard 467. Unique Substrings in Wraparound String 41.6% Med. 468. Validate IP Address 27.9% Med. 469. Convex Polygon 40.0% Med. 470. Implement Rand10() Using Rand7() 45.9% Med. 471. Encode String with Shortest Length 50.5% Hard 472. Concatenated Words 49.5% Hard 473. Matchsticks to Square 41.2% Med. 474. Ones and Zeroes 49.1% Med. 475. Heaters 40.4% Med. 476. Number Complement 70.3% Easy 477. Total Hamming Distance 54.0% Med. 478. Generate Random Point in a Circle 41.4% Med. 479. Largest Palindrome Product 35.6% Hard 480. Sliding Window Median 38.7% Hard 481. Magical String 52.9% Med. 482. License Key Formatting 44.9% Easy 483. Smallest Good Base 44.0% Hard 484. Find Permutation 66.9% Med. 485. Max Consecutive Ones 63.1% Easy 486. Predict the Winner 55.9% Med. 487. Max Consecutive Ones II 51.7% Med. 488. Zuma Game 31.2% Hard 489. Robot Room Cleaner 77.6% Hard 490. The Maze 59.7% Med. 491. Non-decreasing Subsequences 61.9% Med. 492. Construct the Rectangle 61.3% Easy 493. Reverse Pairs 32.7% Hard 494. Target Sum 51.2% Med. 495. Teemo Attacking 57.0% Easy 496. Next Greater Element I 75.0% Easy 497. Random Point in Non-overlapping Rectangles 38.4% Med. 498. Diagonal Traverse 63.8% Med. 499. The Maze III 50.9% Hard 500. Keyboard Row 72.9% Easy 501. Find Mode in Binary Search Tree 57.8% Easy 502. IPO 53.1% Hard 503. Next Greater Element II 67.0% Med. 504. Base 7 52.4% Easy 505. The Maze II 54.4% Med. 506. Relative Ranks 73.7% Easy 507. Perfect Number 45.7% Easy 508. Most Frequent Subtree Sum 68.2% Med. 509. Fibonacci Number 73.3% Easy 510. Inorder Successor in BST II 61.0% Med. 511. Game Play Analysis I 75.9% Easy 512. Game Play Analysis II 54.2% Easy 513. Find Bottom Left Tree Value 71.9% Med. 514. Freedom Trail 59.0% Hard 515. Find Largest Value in Each Tree Row 66.3% Med. 516. Longest Palindromic Subsequence 64.5% Med. 517. Super Washing Machines 42.9% Hard 518. Coin Change II 61.4% Med. 519. Random Flip Matrix 44.1% Med. 520. Detect Capital 56.1% Easy 521. Longest Uncommon Subsequence I 61.5% Easy 522. Longest Uncommon Subsequence II 43.5% Med. 523. Continuous Subarray Sum 31.0% Med. 524. Longest Word in Dictionary through Deleting 52.1% Med. 525. Contiguous Array 49.7% Med. 526. Beautiful Arrangement 64.6% Med. 527. Word Abbreviation 62.5% Hard 528. Random Pick with Weight 48.5% Med. 529. Minesweeper 68.3% Med. 530. Minimum Absolute Difference in BST 58.9% Easy 531. Lonely Pixel I 62.5% Med. 532. K-diff Pairs in an Array 45.0% Med. 533. Lonely Pixel II 48.7% Med. 534. Game Play Analysis III 81.3% Med. 535. Encode and Decode TinyURL 86.4% Med. 536. Construct Binary Tree from String 58.5% Med. 537. Complex Number Multiplication 72.6% Med. 538. Convert BST to Greater Tree 70.8% Med. 539. Minimum Time Difference 62.4% Med. 540. Single Element in a Sorted Array 59.2% Med. 541. Reverse String II 52.5% Easy 542. 01 Matrix 52.2% Med. 543. Diameter of Binary Tree 64.1% Easy 544. Output Contest Matches 77.4% Med. 545. Boundary of Binary Tree 47.3% Med. 546. Remove Boxes 48.5% Hard 547. Number of Provinces 69.2% Med. 548. Split Array with Equal Sum 50.0% Hard 549. Binary Tree Longest Consecutive Sequence II 49.6% Med. 550. Game Play Analysis IV 39.8% Med. 551. Student Attendance Record I 49.7% Easy 552. Student Attendance Record II 56.0% Hard 553. Optimal Division 62.1% Med. 554. Brick Wall 55.9% Med. 555. Split Concatenated Strings 43.4% Med. 556. Next Greater Element III 34.8% Med. 557. Reverse Words in a String III 83.7% Easy 558. Logical OR of Two Binary Grids Represented as Quad-Trees 51.1% Med. 559. Maximum Depth of N-ary Tree 73.1% Easy 560. Subarray Sum Equals K 45.9% Med. 561. Array Partition 80.8% Easy 562. Longest Line of Consecutive One in Matrix 50.5% Med. 563. Binary Tree Tilt 64.5% Easy 564. Find the Closest Palindrome 31.7% Hard 565. Array Nesting 56.1% Med. 566. Reshape the Matrix 64.1% Easy 567. Permutation in String 47.6% Med. 568. Maximum Vacation Days 46.5% Hard 569. Median Employee Salary 66.1% Hard 570. Managers with at Least 5 Direct Reports 49.0% Med. 571. Find Median Given Frequency of Numbers 42.4% Hard 572. Subtree of Another Tree 50.4% Easy 573. Squirrel Simulation 57.3% Med. 574. Winning Candidate 62.2% Med. 575. Distribute Candies 70.0% Easy 576. Out of Boundary Paths 48.2% Med. 577. Employee Bonus 76.9% Easy 578. Get Highest Answer Rate Question 40.1% Med. 579. Find Cumulative Salary of an Employee 49.0% Hard 580. Count Student Number in Departments 59.8% Med. 581. Shortest Unsorted Continuous Subarray 37.6% Med. 582. Kill Process 70.1% Med. 583. Delete Operation for Two Strings 64.4% Med. 584. Find Customer Referee 71.9% Easy 585. Investments in 2016 50.3% Med. 586. Customer Placing the Largest Number of Orders 64.1% Easy 587. Erect the Fence 52.4% Hard 588. Design In-Memory File System 48.3% Hard 589. N-ary Tree Preorder Traversal 76.4% Easy 590. N-ary Tree Postorder Traversal 80.8% Easy 591. Tag Validator 39.4% Hard 592. Fraction Addition and Subtraction 66.2% Med. 593. Valid Square 44.5% Med. 594. Longest Harmonious Subsequence 63.8% Easy 595. Big Countries 68.3% Easy 596. Classes With at Least 5 Students 61.5% Easy 597. Friend Requests I: Overall Acceptance Rate 41.3% Easy 598. Range Addition II 57.5% Easy 599. Minimum Index Sum of Two Lists 58.4% Easy 600. Non-negative Integers without Consecutive Ones 40.6% Hard 601. Human Traffic of Stadium 49.9% Hard 602. Friend Requests II: Who Has the Most Friends 61.4% Med. 603. Consecutive Available Seats 65.3% Easy 604. Design Compressed String Iterator 40.2% Easy 605. Can Place Flowers 28.9% Easy 606. Construct String from Binary Tree 70.3% Med. 607. Sales Person 65.9% Easy 608. Tree Node 74.2% Med. 609. Find Duplicate File in System 67.6% Med. 610. Triangle Judgement 74.0% Easy 611. Valid Triangle Number 52.7% Med. 612. Shortest Distance in a Plane 61.2% Med. 613. Shortest Distance in a Line 79.9% Easy 614. Second Degree Follower 40.2% Med. 615. Average Salary: Departments VS Company 56.8% Hard 616. Add Bold Tag in String 51.1% Med. 617. Merge Two Binary Trees 78.8% Easy 618. Students Report By Geography 63.7% Hard 619. Biggest Single Number 70.1% Easy 620. Not Boring Movies 75.0% Easy 621. Task Scheduler 61.9% Med. 622. Design Circular Queue 52.9% Med. 623. Add One Row to Tree 64.1% Med. 624. Maximum Distance in Arrays 45.6% Med. 625. Minimum Factorization 33.9% Med. 626. Exchange Seats 73.0% Med. 627. Swap Salary 84.2% Easy 628. Maximum Product of Three Numbers 45.4% Easy 629. K Inverse Pairs Array 49.0% Hard 630. Course Schedule III 40.9% Hard 631. Design Excel Sum Formula 41.4% Hard 632. Smallest Range Covering Elements from K Lists 69.8% Hard 633. Sum of Square Numbers 36.5% Med. 634. Find the Derangement of An Array 41.8% Med. 635. Design Log Storage System 59.1% Med. 636. Exclusive Time of Functions 65.1% Med. 637. Average of Levels in Binary Tree 74.3% Easy 638. Shopping Offers 52.0% Med. 639. Decode Ways II 31.4% Hard 640. Solve the Equation 44.9% Med. 641. Design Circular Deque 64.4% Med. 642. Design Search Autocomplete System 49.5% Hard 643. Maximum Average Subarray I 45.9% Easy 644. Maximum Average Subarray II 37.5% Hard 645. Set Mismatch 45.2% Easy 646. Maximum Length of Pair Chain 61.1% Med. 647. Palindromic Substrings 72.0% Med. 648. Replace Words 68.4% Med. 649. Dota2 Senate 49.2% Med. 650. 2 Keys Keyboard 59.2% Med. 651. 4 Keys Keyboard 55.9% Med. 652. Find Duplicate Subtrees 60.3% Med. 653. Two Sum IV - Input is a BST 62.5% Easy 654. Maximum Binary Tree 86.1% Med. 655. Print Binary Tree 65.8% Med. 656. Coin Path 32.5% Hard 657. Robot Return to Origin 76.2% Easy 658. Find K Closest Elements 48.9% Med. 659. Split Array into Consecutive Subsequences 51.7% Med. 660. Remove 9 57.4% Hard 661. Image Smoother 68.6% Easy 662. Maximum Width of Binary Tree 44.5% Med. 663. Equal Tree Partition 42.3% Med. 664. Strange Printer 60.8% Hard 665. Non-decreasing Array 25.1% Med. 666. Path Sum IV 62.7% Med. 667. Beautiful Arrangement II 60.6% Med. 668. Kth Smallest Number in Multiplication Table 53.2% Hard 669. Trim a Binary Search Tree 66.4% Med. 670. Maximum Swap 51.9% Med. 671. Second Minimum Node In a Binary Tree 45.5% Easy 672. Bulb Switcher II 49.7% Med. 673. Number of Longest Increasing Subsequence 50.5% Med. 674. Longest Continuous Increasing Subsequence 51.3% Easy 675. Cut Off Trees for Golf Event 35.6% Hard 676. Implement Magic Dictionary 56.8% Med. 677. Map Sum Pairs 56.9% Med. 678. Valid Parenthesis String 39.3% Med. 679. 24 Game 59.1% Hard 680. Valid Palindrome II 43.3% Easy 681. Next Closest Time 46.9% Med. 682. Baseball Game 79.3% Easy 683. K Empty Slots 37.9% Hard 684. Redundant Connection 66.7% Med. 685. Redundant Connection II 35.4% Hard 686. Repeated String Match 37.4% Med. 687. Longest Univalue Path 42.9% Med. 688. Knight Probability in Chessboard 56.7% Med. 689. Maximum Sum of 3 Non-Overlapping Subarrays 59.5% Hard 690. Employee Importance 68.7% Med. 691. Stickers to Spell Word 50.2% Hard 692. Top K Frequent Words 59.5% Med. 693. Binary Number with Alternating Bits 63.6% Easy 694. Number of Distinct Islands 62.4% Med. 695. Max Area of Island 73.4% Med. 696. Count Binary Substrings 66.0% Easy 697. Degree of an Array 57.6% Easy 698. Partition to K Equal Sum Subsets 38.2% Med. 699. Falling Squares 46.5% Hard 700. Search in a Binary Search Tree 82.0% Easy 701. Insert into a Binary Search Tree 73.4% Med. 702. Search in a Sorted Array of Unknown Size 72.9% Med. 703. Kth Largest Element in a Stream 60.2% Easy 704. Binary Search 59.9% Easy 705. Design HashSet 67.2% Easy 706. Design HashMap 66.0% Easy 707. Design Linked List 29.3% Med. 708. Insert into a Sorted Circular Linked List 38.3% Med. 709. To Lower Case 84.3% Easy 710. Random Pick with Blacklist 34.1% Hard 711. Number of Distinct Islands II 54.9% Hard 712. Minimum ASCII Delete Sum for Two Strings 65.9% Med. 713. Subarray Product Less Than K 53.1% Med. 714. Best Time to Buy and Sell Stock with Transaction Fee 71.0% Med. 715. Range Module 44.3% Hard 716. Max Stack 45.6% Hard 717. 1-bit and 2-bit Characters 45.2% Easy 718. Maximum Length of Repeated Subarray 51.1% Med. 719. Find K-th Smallest Pair Distance 45.9% Hard 720. Longest Word in Dictionary 53.8% Med. 721. Accounts Merge 60.1% Med. 722. Remove Comments 39.6% Med. 723. Candy Crush 77.4% Med. 724. Find Pivot Index 61.0% Easy 725. Split Linked List in Parts 70.3% Med. 726. Number of Atoms 65.0% Hard 727. Minimum Window Subsequence 43.6% Hard 728. Self Dividing Numbers 79.8% Easy 729. My Calendar I 58.2% Med. 730. Count Different Palindromic Subsequences 46.8% Hard 731. My Calendar II 62.4% Med. 732. My Calendar III 70.8% Hard 733. Flood Fill 67.0% Easy 734. Sentence Similarity 44.6% Easy 735. Asteroid Collision 45.9% Med. 736. Parse Lisp Expression 53.0% Hard 737. Sentence Similarity II 50.8% Med. 738. Monotone Increasing Digits 48.9% Med. 739. Daily Temperatures 67.6% Med. 740. Delete and Earn 56.9% Med. 741. Cherry Pickup 38.3% Hard 742. Closest Leaf in a Binary Tree 47.1% Med. 743. Network Delay Time 58.3% Med. 744. Find Smallest Letter Greater Than Target 54.5% Easy 745. Prefix and Suffix Search 40.5% Hard 746. Min Cost Climbing Stairs 67.5% Easy 747. Largest Number At Least Twice of Others 51.1% Easy 748. Shortest Completing Word 61.7% Easy 749. Contain Virus 53.1% Hard 750. Number Of Corner Rectangles 67.8% Med. 751. IP to CIDR 54.3% Med. 752. Open the Lock 60.8% Med. 753. Cracking the Safe 58.0% Hard 754. Reach a Number 44.1% Med. 755. Pour Water 48.2% Med. 756. Pyramid Transition Matrix 53.1% Med. 757. Set Intersection Size At Least Two 45.5% Hard 758. Bold Words in String 52.2% Med. 759. Employee Free Time 72.6% Hard 760. Find Anagram Mappings 83.9% Easy 761. Special Binary String 64.1% Hard 762. Prime Number of Set Bits in Binary Representation 71.4% Easy 763. Partition Labels 81.6% Med. 764. Largest Plus Sign 48.7% Med. 765. Couples Holding Hands 58.7% Hard 766. Toeplitz Matrix 69.4% Easy 767. Reorganize String 56.4% Med. 768. Max Chunks To Make Sorted II 54.4% Hard 769. Max Chunks To Make Sorted 64.1% Med. 770. Basic Calculator IV 48.9% Hard 771. Jewels and Stones 89.3% Easy 772. Basic Calculator III 52.7% Hard 773. Sliding Puzzle 73.3% Hard 774. Minimize Max Distance to Gas Station 53.0% Hard 775. Global and Local Inversions 42.4% Med. 776. Split BST 82.4% Med. 777. Swap Adjacent in LR String 37.6% Med. 778. Swim in Rising Water 63.4% Hard 779. K-th Symbol in Grammar 47.7% Med. 780. Reaching Points 33.8% Hard 781. Rabbits in Forest 58.1% Med. 782. Transform to Chessboard 50.8% Hard 783. Minimum Distance Between BST Nodes 60.6% Easy 784. Letter Case Permutation 75.3% Med. 785. Is Graph Bipartite? 58.2% Med. 786. K-th Smallest Prime Fraction 68.7% Med. 787. Cheapest Flights Within K Stops 40.7% Med. 788. Rotated Digits 56.5% Med. 789. Escape The Ghosts 62.8% Med. 790. Domino and Tromino Tiling 51.8% Med. 791. Custom Sort String 72.1% Med. 792. Number of Matching Subsequences 50.6% Med. 793. Preimage Size of Factorial Zeroes Function 46.1% Hard 794. Valid Tic-Tac-Toe State 34.7% Med. 795. Number of Subarrays with Bounded Maximum 54.2% Med. 796. Rotate String 64.3% Easy 797. All Paths From Source to Target 83.2% Med. 798. Smallest Rotation with Highest Score 52.7% Hard 799. Champagne Tower 58.4% Med. 800. Similar RGB Color 67.8% Easy 801. Minimum Swaps To Make Sequences Increasing 40.9% Hard 802. Find Eventual Safe States 69.4% Med. 803. Bricks Falling When Hit 36.1% Hard 804. Unique Morse Code Words 83.3% Easy 805. Split Array With Same Average 26.2% Hard 806. Number of Lines To Write String 71.1% Easy 807. Max Increase to Keep City Skyline 86.3% Med. 808. Soup Servings 60.0% Med. 809. Expressive Words 46.5% Med. 810. Chalkboard XOR Game 63.6% Hard 811. Subdomain Visit Count 76.9% Med. 812. Largest Triangle Area 62.4% Easy 813. Largest Sum of Averages 54.3% Med. 814. Binary Tree Pruning 72.4% Med. 815. Bus Routes 47.0% Hard 816. Ambiguous Coordinates 56.1% Med. 817. Linked List Components 57.4% Med. 818. Race Car 44.2% Hard 819. Most Common Word 44.7% Easy 820. Short Encoding of Words 60.6% Med. 821. Shortest Distance to a Character 72.3% Easy 822. Card Flipping Game 48.7% Med. 823. Binary Trees With Factors 53.0% Med. 824. Goat Latin 69.5% Easy 825. Friends Of Appropriate Ages 49.2% Med. 826. Most Profit Assigning Work 56.0% Med. 827. Making A Large Island 55.5% Hard 828. Count Unique Characters of All Substrings of a Given String 53.1% Hard 829. Consecutive Numbers Sum 42.2% Hard 830. Positions of Large Groups 53.3% Easy 831. Masking Personal Information 50.8% Med. 832. Flipping an Image 83.1% Easy 833. Find And Replace in String 51.2% Med. 834. Sum of Distances in Tree 65.4% Hard 835. Image Overlap 63.8% Med. 836. Rectangle Overlap 45.9% Easy 837. New 21 Game 52.1% Med. 838. Push Dominoes 63.0% Med. 839. Similar String Groups 55.6% Hard 840. Magic Squares In Grid 51.5% Med. 841. Keys and Rooms 75.0% Med. 842. Split Array into Fibonacci Sequence 39.8% Med. 843. Guess the Word 37.4% Hard 844. Backspace String Compare 49.6% Easy 845. Longest Mountain in Array 41.3% Med. 846. Hand of Straights 57.4% Med. 847. Shortest Path Visiting All Nodes 65.5% Hard 848. Shifting Letters 45.7% Med. 849. Maximize Distance to Closest Person 49.2% Med. 850. Rectangle Area II 54.7% Hard 851. Loud and Rich 62.2% Med. 852. Peak Index in a Mountain Array 67.3% Med. 853. Car Fleet 53.8% Med. 854. K-Similar Strings 40.2% Hard 855. Exam Room 43.0% Med. 856. Score of Parentheses 63.6% Med. 857. Minimum Cost to Hire K Workers 63.5% Hard 858. Mirror Reflection 61.9% Med. 859. Buddy Strings 33.7% Easy 860. Lemonade Change 58.6% Easy 861. Score After Flipping Matrix 80.2% Med. 862. Shortest Subarray with Sum at Least K 32.3% Hard 863. All Nodes Distance K in Binary Tree 66.8% Med. 864. Shortest Path to Get All Keys 54.0% Hard 865. Smallest Subtree with all the Deepest Nodes 72.6% Med. 866. Prime Palindrome 27.4% Med. 867. Transpose Matrix 74.8% Easy 868. Binary Gap 64.9% Easy 869. Reordered Power of 2 66.2% Med. 870. Advantage Shuffle 53.7% Med. 871. Minimum Number of Refueling Stops 40.7% Hard 872. Leaf-Similar Trees 70.1% Easy 873. Length of Longest Fibonacci Subsequence 57.6% Med. 874. Walking Robot Simulation 58.3% Med. 875. Koko Eating Bananas 49.0% Med. 876. Middle of the Linked List 81.0% Easy 877. Stone Game 71.8% Med. 878. Nth Magical Number 35.9% Hard 879. Profitable Schemes 48.0% Hard 880. Decoded String at Index 36.7% Med. 881. Boats to Save People 60.7% Med. 882. Reachable Nodes In Subdivided Graph 51.0% Hard 883. Projection Area of 3D Shapes 74.5% Easy 884. Uncommon Words from Two Sentences 75.4% Easy 885. Spiral Matrix III 84.5% Med. 886. Possible Bipartition 51.8% Med. 887. Super Egg Drop 29.1% Hard 888. Fair Candy Swap 63.7% Easy 889. Construct Binary Tree from Preorder and Postorder Traversal 78.0% Med. 890. Find and Replace Pattern 76.9% Med. 891. Sum of Subsequence Widths 39.3% Hard 892. Surface Area of 3D Shapes 68.5% Easy 893. Groups of Special-Equivalent Strings 73.0% Med. 894. All Possible Full Binary Trees 82.7% Med. 895. Maximum Frequency Stack 66.4% Hard 896. Monotonic Array 61.8% Easy 897. Increasing Order Search Tree 78.7% Easy 898. Bitwise ORs of Subarrays 56.5% Med. 899. Orderly Queue 66.4% Hard 900. RLE Iterator 58.9% Med. 901. Online Stock Span 67.9% Med. 902. Numbers At Most N Given Digit Set 43.7% Hard 903. Valid Permutations for DI Sequence 56.3% Hard 904. Fruit Into Baskets 49.4% Med. 905. Sort Array By Parity 76.3% Easy 906. Super Palindromes 39.5% Hard 907. Sum of Subarray Minimums 37.8% Med. 908. Smallest Range I 72.2% Easy 909. Snakes and Ladders 48.0% Med. 910. Smallest Range II 37.3% Med. 911. Online Election 52.1% Med. 912. Sort an Array 56.3% Med. 913. Cat and Mouse 33.9% Hard 914. X of a Kind in a Deck of Cards 29.9% Easy 915. Partition Array into Disjoint Intervals 49.1% Med. 916. Word Subsets 55.8% Med. 917. Reverse Only Letters 67.2% Easy 918. Maximum Sum Circular Subarray 48.2% Med. 919. Complete Binary Tree Inserter 64.7% Med. 920. Number of Music Playlists 60.0% Hard 921. Minimum Add to Make Parentheses Valid 74.5% Med. 922. Sort Array By Parity II 71.1% Easy 923. 3Sum With Multiplicity 45.9% Med. 924. Minimize Malware Spread 42.6% Hard 925. Long Pressed Name 32.6% Easy 926. Flip String to Monotone Increasing 61.6% Med. 927. Three Equal Parts 40.8% Hard 928. Minimize Malware Spread II 44.9% Hard 929. Unique Email Addresses 67.7% Easy 930. Binary Subarrays With Sum 66.9% Med. 931. Minimum Falling Path Sum 61.0% Med. 932. Beautiful Array 67.2% Med. 933. Number of Recent Calls 77.7% Easy 934. Shortest Bridge 58.9% Med. 935. Knight Dialer 61.4% Med. 936. Stamping The Sequence 62.0% Hard 937. Reorder Data in Log Files 56.8% Med. 938. Range Sum of BST 87.5% Easy 939. Minimum Area Rectangle 55.1% Med. 940. Distinct Subsequences II 43.7% Hard 941. Valid Mountain Array 34.5% Easy 942. DI String Match 80.3% Easy 943. Find the Shortest Superstring 44.5% Hard 944. Delete Columns to Make Sorted 74.8% Easy 945. Minimum Increment to Make Array Unique 60.4% Med. 946. Validate Stack Sequences 69.8% Med. 947. Most Stones Removed with Same Row or Column 62.4% Med. 948. Bag of Tokens 59.3% Med. 949. Largest Time for Given Digits 35.6% Med. 950. Reveal Cards In Increasing Order 83.4% Med. 951. Flip Equivalent Binary Trees 69.6% Med. 952. Largest Component Size by Common Factor 41.4% Hard 953. Verifying an Alien Dictionary 55.7% Easy 954. Array of Doubled Pairs 39.5% Med. 955. Delete Columns to Make Sorted II 35.8% Med. 956. Tallest Billboard 51.9% Hard 957. Prison Cells After N Days 39.0% Med. 958. Check Completeness of a Binary Tree 58.6% Med. 959. Regions Cut By Slashes 77.6% Med. 960. Delete Columns to Make Sorted III 59.1% Hard 961. N-Repeated Element in Size 2N Array 77.6% Easy 962. Maximum Width Ramp 55.8% Med. 963. Minimum Area Rectangle II 55.7% Med. 964. Least Operators to Express Number 48.4% Hard 965. Univalued Binary Tree 72.4% Easy 966. Vowel Spellchecker 51.6% Med. 967. Numbers With Same Consecutive Differences 58.9% Med. 968. Binary Tree Cameras 47.4% Hard 969. Pancake Sorting 71.4% Med. 970. Powerful Integers 44.2% Med. 971. Flip Binary Tree To Match Preorder Traversal 51.3% Med. 972. Equal Rational Numbers 45.0% Hard 973. K Closest Points to Origin 68.2% Med. 974. Subarray Sums Divisible by K 55.7% Med. 975. Odd Even Jump 40.8% Hard 976. Largest Perimeter Triangle 57.6% Easy 977. Squares of a Sorted Array 73.3% Easy 978. Longest Turbulent Subarray 48.3% Med. 979. Distribute Coins in Binary Tree 77.2% Med. 980. Unique Paths III 82.5% Hard 981. Time Based Key-Value Store 49.5% Med. 982. Triples with Bitwise AND Equal To Zero 59.6% Hard 983. Minimum Cost For Tickets 67.4% Med. 984. String Without AAA or BBB 44.6% Med. 985. Sum of Even Numbers After Queries 68.6% Med. 986. Interval List Intersections 72.8% Med. 987. Vertical Order Traversal of a Binary Tree 52.1% Hard 988. Smallest String Starting From Leaf 60.9% Med. 989. Add to Array-Form of Integer 45.1% Easy 990. Satisfiability of Equality Equations 51.2% Med. 991. Broken Calculator 55.3% Med. 992. Subarrays with K Different Integers 66.6% Hard 993. Cousins in Binary Tree 58.5% Easy 994. Rotting Oranges 57.2% Med. 995. Minimum Number of K Consecutive Bit Flips 62.2% Hard 996. Number of Squareful Arrays 50.6% Hard 997. Find the Town Judge 50.2% Easy 998. Maximum Binary Tree II 69.5% Med. 999. Available Captures for Rook 70.6% Easy 1000. Minimum Cost to Merge Stones 44.7% Hard 1001. Grid Illumination 38.4% Hard 1002. Find Common Characters 74.6% Easy 1003. Check If Word Is Valid After Substitutions 60.5% Med. 1004. Max Consecutive Ones III 66.5% Med. 1005. Maximize Sum Of Array After K Negations 52.8% Easy 1006. Clumsy Factorial 59.7% Med. 1007. Minimum Domino Rotations For Equal Row 56.5% Med. 1008. Construct Binary Search Tree from Preorder Traversal 83.6% Med. 1009. Complement of Base 10 Integer 60.6% Easy 1010. Pairs of Songs With Total Durations Divisible by 60 53.3% Med. 1011. Capacity To Ship Packages Within D Days 72.7% Med. 1012. Numbers With Repeated Digits 44.1% Hard 1013. Partition Array Into Three Parts With Equal Sum 42.2% Easy 1014. Best Sightseeing Pair 62.6% Med. 1015. Smallest Integer Divisible by K 46.6% Med. 1016. Binary String With Substrings Representing 1 To N 58.1% Med. 1017. Convert to Base -2 61.4% Med. 1018. Binary Prefix Divisible By 5 47.1% Easy 1019. Next Greater Node In Linked List 62.6% Med. 1020. Number of Enclaves 71.0% Med. 1021. Remove Outermost Parentheses 86.1% Easy 1022. Sum of Root To Leaf Binary Numbers 73.5% Easy 1023. Camelcase Matching 64.2% Med. 1024. Video Stitching 52.1% Med. 1025. Divisor Game 70.7% Easy 1026. Maximum Difference Between Node and Ancestor 78.1% Med. 1027. Longest Arithmetic Subsequence 49.6% Med. 1028. Recover a Tree From Preorder Traversal 83.3% Hard 1029. Two City Scheduling 67.8% Med. 1030. Matrix Cells in Distance Order 73.1% Easy 1031. Maximum Sum of Two Non-Overlapping Subarrays 60.4% Med. 1032. Stream of Characters 51.4% Hard 1033. Moving Stones Until Consecutive 50.0% Med. 1034. Coloring A Border 50.2% Med. 1035. Uncrossed Lines 64.6% Med. 1036. Escape a Large Maze 35.6% Hard 1037. Valid Boomerang 38.3% Easy 1038. Binary Search Tree to Greater Sum Tree 88.3% Med. 1039. Minimum Score Triangulation of Polygon 60.5% Med. 1040. Moving Stones Until Consecutive II 57.8% Med. 1041. Robot Bounded In Circle 56.3% Med. 1042. Flower Planting With No Adjacent 52.7% Med. 1043. Partition Array for Maximum Sum 77.2% Med. 1044. Longest Duplicate Substring 30.9% Hard 1045. Customers Who Bought All Products 63.2% Med. 1046. Last Stone Weight 66.1% Easy 1047. Remove All Adjacent Duplicates In String 72.0% Easy 1048. Longest String Chain 62.3% Med. 1049. Last Stone Weight II 58.2% Med. 1050. Actors and Directors Who Cooperated At Least Three Times 70.7% Easy 1051. Height Checker 81.2% Easy 1052. Grumpy Bookstore Owner 64.0% Med. 1053. Previous Permutation With One Swap 49.4% Med. 1054. Distant Barcodes 47.9% Med. 1055. Shortest Way to Form String 61.4% Med. 1056. Confusing Number 49.3% Easy 1057. Campus Bikes 59.0% Med. 1058. Minimize Rounding Error to Meet Target 45.6% Med. 1059. All Paths from Source Lead to Destination 37.1% Med. 1060. Missing Element in Sorted Array 59.1% Med. 1061. Lexicographically Smallest Equivalent String 81.1% Med. 1062. Longest Repeating Substring 63.2% Med. 1063. Number of Valid Subarrays 79.4% Hard 1064. Fixed Point 63.8% Easy 1065. Index Pairs of a String 68.3% Easy 1066. Campus Bikes II 55.3% Med. 1067. Digit Count in Range 46.1% Hard 1068. Product Sales Analysis I 85.0% Easy 1069. Product Sales Analysis II 82.4% Easy 1070. Product Sales Analysis III 44.9% Med. 1071. Greatest Common Divisor of Strings 52.9% Easy 1072. Flip Columns For Maximum Number of Equal Rows 78.6% Med. 1073. Adding Two Negabinary Numbers 37.0% Med. 1074. Number of Submatrices That Sum to Target 74.5% Hard 1075. Project Employees I 65.9% Easy 1076. Project Employees II 50.3% Easy 1077. Project Employees III 77.1% Med. 1078. Occurrences After Bigram 63.7% Easy 1079. Letter Tile Possibilities 83.6% Med. 1080. Insufficient Nodes in Root to Leaf Paths 54.1% Med. 1081. Smallest Subsequence of Distinct Characters 62.3% Med. 1082. Sales Analysis I 74.8% Easy 1083. Sales Analysis II 50.0% Easy 1084. Sales Analysis III 46.8% Easy 1085. Sum of Digits in the Minimum Number 76.6% Easy 1086. High Five 74.3% Easy 1087. Brace Expansion 66.8% Med. 1088. Confusing Number II 47.1% Hard 1089. Duplicate Zeros 52.9% Easy 1090. Largest Values From Labels 63.5% Med. 1091. Shortest Path in Binary Matrix 50.3% Med. 1092. Shortest Common Supersequence 61.5% Hard 1093. Statistics from a Large Sample 42.4% Med. 1094. Car Pooling 56.1% Med. 1095. Find in Mountain Array 40.6% Hard 1096. Brace Expansion II 63.3% Hard 1097. Game Play Analysis V 50.6% Hard 1098. Unpopular Books 43.4% Med. 1099. Two Sum Less Than K 62.0% Easy 1100. Find K-Length Substrings With No Repeated Characters 76.3% Med. 1101. The Earliest Moment When Everyone Become Friends 65.7% Med. 1102. Path With Maximum Minimum Value 54.2% Med. 1103. Distribute Candies to People 66.8% Easy 1104. Path In Zigzag Labelled Binary Tree 75.6% Med. 1105. Filling Bookcase Shelves 68.6% Med. 1106. Parsing A Boolean Expression 69.8% Hard 1107. New Users Daily Count 45.1% Med. 1108. Defanging an IP Address 89.8% Easy 1109. Corporate Flight Bookings 65.1% Med. 1110. Delete Nodes And Return Forest 72.4% Med. 1111. Maximum Nesting Depth of Two Valid Parentheses Strings 71.5% Med. 1112. Highest Grade For Each Student 71.2% Med. 1113. Reported Posts 65.1% Easy 1114. Print in Order 71.9% Easy 1115. Print FooBar Alternately 70.5% Med. 1116. Print Zero Even Odd 64.1% Med. 1117. Building H2O 57.9% Med. 1118. Number of Days in a Month 59.2% Easy 1119. Remove Vowels from a String 91.2% Easy 1120. Maximum Average Subtree 66.9% Med. 1121. Divide Array Into Increasing Sequences 60.6% Hard 1122. Relative Sort Array 75.0% Easy 1123. Lowest Common Ancestor of Deepest Leaves 79.0% Med. 1124. Longest Well-Performing Interval 36.2% Med. 1125. Smallest Sufficient Team 55.3% Hard 1126. Active Businesses 66.0% Med. 1127. User Purchase Platform 47.1% Hard 1128. Number of Equivalent Domino Pairs 60.6% Easy 1129. Shortest Path with Alternating Colors 47.4% Med. 1130. Minimum Cost Tree From Leaf Values 67.7% Med. 1131. Maximum of Absolute Value Expression 48.3% Med. 1132. Reported Posts II 32.1% Med. 1133. Largest Unique Number 70.9% Easy 1134. Armstrong Number 77.9% Easy 1135. Connecting Cities With Minimum Cost 62.7% Med. 1136. Parallel Courses 61.9% Med. 1137. N-th Tribonacci Number 63.5% Easy 1138. Alphabet Board Path 51.6% Med. 1139. Largest 1-Bordered Square 51.4% Med. 1140. Stone Game II 72.9% Med. 1141. User Activity for the Past 30 Days I 49.7% Easy 1142. User Activity for the Past 30 Days II 35.7% Easy 1143. Longest Common Subsequence 58.4% Med. 1144. Decrease Elements To Make Array Zigzag 48.6% Med. 1145. Binary Tree Coloring Game 52.6% Med. 1146. Snapshot Array 36.7% Med. 1147. Longest Chunked Palindrome Decomposition 58.9% Hard 1148. Article Views I 77.0% Easy 1149. Article Views II 47.2% Med. 1150. Check If a Number Is Majority Element in a Sorted Array 59.1% Easy 1151. Minimum Swaps to Group All 1's Together 61.1% Med. 1152. Analyze User Website Visit Pattern 43.9% Med. 1153. String Transforms Into Another String 34.7% Hard 1154. Day of the Year 48.5% Easy 1155. Number of Dice Rolls With Target Sum 61.8% Med. 1156. Swap For Longest Repeated Character Substring 43.9% Med. 1157. Online Majority Element In Subarray 39.5% Hard 1158. Market Analysis I 57.1% Med. 1159. Market Analysis II 57.7% Hard 1160. Find Words That Can Be Formed by Characters 71.2% Easy 1161. Maximum Level Sum of a Binary Tree 67.4% Med. 1162. As Far from Land as Possible 51.9% Med. 1163. Last Substring in Lexicographical Order 34.6% Hard 1164. Product Price at a Given Date 57.5% Med. 1165. Single-Row Keyboard 87.7% Easy 1166. Design File System 64.8% Med. 1167. Minimum Cost to Connect Sticks 71.4% Med. 1168. Optimize Water Distribution in a Village 65.2% Hard 1169. Invalid Transactions 31.3% Med. 1170. Compare Strings by Frequency of the Smallest Character 62.8% Med. 1171. Remove Zero Sum Consecutive Nodes from Linked List 53.0% Med. 1172. Dinner Plate Stacks 33.1% Hard 1173. Immediate Food Delivery I 80.9% Easy 1174. Immediate Food Delivery II 54.8% Med. 1175. Prime Arrangements 60.0% Easy 1176. Diet Plan Performance 54.3% Easy 1177. Can Make Palindrome from Substring 40.5% Med. 1178. Number of Valid Words for Each Puzzle 47.3% Hard 1179. Reformat Department Table 76.6% Easy 1180. Count Substrings with Only One Distinct Letter 80.7% Easy 1181. Before and After Puzzle 50.0% Med. 1182. Shortest Distance to Target Color 55.5% Med. 1183. Maximum Number of Ones 68.9% Hard 1184. Distance Between Bus Stops 54.8% Easy 1185. Day of the Week 58.7% Easy 1186. Maximum Subarray Sum with One Deletion 45.5% Med. 1187. Make Array Strictly Increasing 57.8% Hard 1188. Design Bounded Blocking Queue 73.1% Med. 1189. Maximum Number of Balloons 59.8% Easy 1190. Reverse Substrings Between Each Pair of Parentheses 71.8% Med. 1191. K-Concatenation Maximum Sum 24.4% Med. 1192. Critical Connections in a Network 58.4% Hard 1193. Monthly Transactions I 58.4% Med. 1194. Tournament Winners 49.9% Hard 1195. Fizz Buzz Multithreaded 74.3% Med. 1196. How Many Apples Can You Put into the Basket 67.0% Easy 1197. Minimum Knight Moves 41.4% Med. 1198. Find Smallest Common Element in All Rows 76.8% Med. 1199. Minimum Time to Build Blocks 46.2% Hard 1200. Minimum Absolute Difference 70.8% Easy 1201. Ugly Number III 30.7% Med. 1202. Smallest String With Swaps 59.7% Med. 1203. Sort Items by Groups Respecting Dependencies 65.6% Hard 1204. Last Person to Fit in the Bus 68.6% Med. 1205. Monthly Transactions II 42.0% Med. 1206. Design Skiplist 58.6% Hard 1207. Unique Number of Occurrences 78.4% Easy 1208. Get Equal Substrings Within Budget 59.1% Med. 1209. Remove All Adjacent Duplicates in String II 59.9% Med. 1210. Minimum Moves to Reach Target with Rotations 51.0% Hard 1211. Queries Quality and Percentage 49.6% Easy 1212. Team Scores in Football Tournament 55.8% Med. 1213. Intersection of Three Sorted Arrays 80.1% Easy 1214. Two Sum BSTs 67.4% Med. 1215. Stepping Numbers 47.8% Med. 1216. Valid Palindrome III 49.1% Hard 1217. Minimum Cost to Move Chips to The Same Position 72.5% Easy 1218. Longest Arithmetic Subsequence of Given Difference 54.4% Med. 1219. Path with Maximum Gold 68.2% Med. 1220. Count Vowels Permutation 61.4% Hard 1221. Split a String in Balanced Strings 86.9% Easy 1222. Queens That Can Attack the King 72.3% Med. 1223. Dice Roll Simulation 50.2% Hard 1224. Maximum Equal Frequency 37.7% Hard 1225. Report Contiguous Dates 57.2% Hard 1226. The Dining Philosophers 54.7% Med. 1227. Airplane Seat Assignment Probability 66.8% Med. 1228. Missing Number In Arithmetic Progression 52.1% Easy 1229. Meeting Scheduler 55.2% Med. 1230. Toss Strange Coins 58.1% Med. 1231. Divide Chocolate 60.1% Hard 1232. Check If It Is a Straight Line 39.8% Easy 1233. Remove Sub-Folders from the Filesystem 78.6% Med. 1234. Replace the Substring for Balanced String 39.8% Med. 1235. Maximum Profit in Job Scheduling 54.5% Hard 1236. Web Crawler 68.7% Med. 1237. Find Positive Integer Solution for a Given Equation 69.6% Med. 1238. Circular Permutation in Binary Representation 71.9% Med. 1239. Maximum Length of a Concatenated String with Unique Characters 54.3% Med. 1240. Tiling a Rectangle with the Fewest Squares 54.5% Hard 1241. Number of Comments per Post 66.0% Easy 1242. Web Crawler Multithreaded 50.3% Med. 1243. Array Transformation 53.2% Easy 1244. Design A Leaderboard 67.9% Med. 1245. Tree Diameter 61.1% Med. 1246. Palindrome Removal 46.3% Hard 1247. Minimum Swaps to Make Strings Equal 64.9% Med. 1248. Count Number of Nice Subarrays 73.9% Med. 1249. Minimum Remove to Make Valid Parentheses 70.9% Med. 1250. Check If It Is a Good Array 61.7% Hard 1251. Average Selling Price 36.8% Easy 1252. Cells with Odd Values in a Matrix 79.3% Easy 1253. Reconstruct a 2-Row Binary Matrix 48.0% Med. 1254. Number of Closed Islands 66.8% Med. 1255. Maximum Score Words Formed by Letters 81.6% Hard 1256. Encode Number 70.1% Med. 1257. Smallest Common Region 68.1% Med. 1258. Synonymous Sentences 56.7% Med. 1259. Handshakes That Don't Cross 60.0% Hard 1260. Shift 2D Grid 67.8% Easy 1261. Find Elements in a Contaminated Binary Tree 84.0% Med. 1262. Greatest Sum Divisible by Three 51.0% Med. 1263. Minimum Moves to Move a Box to Their Target Location 49.0% Hard 1264. Page Recommendations 65.3% Med. 1265. Print Immutable Linked List in Reverse 94.1% Med. 1266. Minimum Time Visiting All Points 82.6% Easy 1267. Count Servers that Communicate 73.5% Med. 1268. Search Suggestions System 65.1% Med. 1269. Number of Ways to Stay in the Same Place After Some Steps 50.0% Hard 1270. All People Report to the Given Manager 84.2% Med. 1271. Hexspeak 58.4% Easy 1272. Remove Interval 66.9% Med. 1273. Delete Tree Nodes 61.3% Med. 1274. Number of Ships in a Rectangle 68.8% Hard 1275. Find Winner on a Tic Tac Toe Game 54.2% Easy 1276. Number of Burgers with No Waste of Ingredients 50.5% Med. 1277. Count Square Submatrices with All Ones 80.6% Med. 1278. Palindrome Partitioning III 61.8% Hard 1279. Traffic Light Controlled Intersection 72.7% Easy 1280. Students and Examinations 60.7% Easy 1281. Subtract the Product and Sum of Digits of an Integer 86.6% Easy 1282. Group the People Given the Group Size They Belong To 87.5% Med. 1283. Find the Smallest Divisor Given a Threshold 64.4% Med. 1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix 72.2% Hard 1285. Find the Start and End Number of Continuous Ranges 81.9% Med. 1286. Iterator for Combination 72.6% Med. 1287. Element Appearing More Than 25% In Sorted Array 61.1% Easy 1288. Remove Covered Intervals 56.2% Med. 1289. Minimum Falling Path Sum II 63.6% Hard 1290. Convert Binary Number in a Linked List to Integer 82.3% Easy 1291. Sequential Digits 65.3% Med. 1292. Maximum Side Length of a Square with Sum Less than or Equal to Threshold 53.6% Med. 1293. Shortest Path in a Grid with Obstacles Elimination 45.7% Hard 1294. Weather Type in Each Country 67.0% Easy 1295. Find Numbers with Even Number of Digits 79.5% Easy 1296. Divide Array in Sets of K Consecutive Numbers 58.9% Med. 1297. Maximum Number of Occurrences of a Substring 53.7% Med. 1298. Maximum Candies You Can Get from Boxes 68.4% Hard 1299. Replace Elements with Greatest Element on Right Side 71.6% Easy 1300. Sum of Mutated Array Closest to Target 45.6% Med. 1301. Number of Paths with Max Score 41.3% Hard 1302. Deepest Leaves Sum 86.4% Med. 1303. Find the Team Size 89.7% Easy 1304. Find N Unique Integers Sum up to Zero 76.2% Easy 1305. All Elements in Two Binary Search Trees 80.1% Med. 1306. Jump Game III 66.3% Med. 1307. Verbal Arithmetic Puzzle 34.8% Hard 1308. Running Total for Different Genders 86.2% Med. 1309. Decrypt String from Alphabet to Integer Mapping 80.3% Easy 1310. XOR Queries of a Subarray 78.3% Med. 1311. Get Watched Videos by Your Friends 50.3% Med. 1312. Minimum Insertion Steps to Make a String Palindrome 73.0% Hard 1313. Decompress Run-Length Encoded List 86.1% Easy 1314. Matrix Block Sum 76.0% Med. 1315. Sum of Nodes with Even-Valued Grandparent 85.8% Med. 1316. Distinct Echo Substrings 52.3% Hard 1317. Convert Integer to the Sum of Two No-Zero Integers 54.3% Easy 1318. Minimum Flips to Make a OR b Equal to c 71.8% Med. 1319. Number of Operations to Make Network Connected 65.3% Med. 1320. Minimum Distance to Type a Word Using Two Fingers 59.1% Hard 1321. Restaurant Growth 57.1% Med. 1322. Ads Performance 59.0% Easy 1323. Maximum 69 Number 84.4% Easy 1324. Print Words Vertically 66.7% Med. 1325. Delete Leaves With a Given Value 77.3% Med. 1326. Minimum Number of Taps to Open to Water a Garden 50.7% Hard 1327. List the Products Ordered in a Period 71.8% Easy 1328. Break a Palindrome 51.5% Med. 1329. Sort the Matrix Diagonally 83.1% Med. 1330. Reverse Subarray To Maximize Array Value 42.8% Hard 1331. Rank Transform of an Array 70.7% Easy 1332. Remove Palindromic Subsequences 76.7% Easy 1333. Filter Restaurants by Vegan-Friendly, Price and Distance 63.5% Med. 1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance 71.0% Med. 1335. Minimum Difficulty of a Job Schedule 59.7% Hard 1336. Number of Transactions per Visit 48.2% Hard 1337. The K Weakest Rows in a Matrix 74.1% Easy 1338. Reduce Array Size to The Half 69.2% Med. 1339. Maximum Product of Splitted Binary Tree 48.0% Med. 1340. Jump Game V 64.2% Hard 1341. Movie Rating 41.7% Med. 1342. Number of Steps to Reduce a Number to Zero 85.7% Easy 1343. Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold 70.7% Med. 1344. Angle Between Hands of a Clock 64.3% Med. 1345. Jump Game IV 46.1% Hard 1346. Check If N and Its Double Exist 41.4% Easy 1347. Minimum Number of Steps to Make Two Strings Anagram 82.2% Med. 1348. Tweet Counts Per Frequency 45.5% Med. 1349. Maximum Students Taking Exam 52.5% Hard 1350. Students With Invalid Departments 89.9% Easy 1351. Count Negative Numbers in a Sorted Matrix 77.8% Easy 1352. Product of the Last K Numbers 62.8% Med. 1353. Maximum Number of Events That Can Be Attended 38.7% Med. 1354. Construct Target Array With Multiple Sums 36.3% Hard 1355. Activity Participants 72.1% Med. 1356. Sort Integers by The Number of 1 Bits 78.8% Easy 1357. Apply Discount Every n Orders 64.6% Med. 1358. Number of Substrings Containing All Three Characters 73.3% Med. 1359. Count All Valid Pickup and Delivery Options 64.9% Hard 1360. Number of Days Between Two Dates 51.7% Easy 1361. Validate Binary Tree Nodes 43.9% Med. 1362. Closest Divisors 61.5% Med. 1363. Largest Multiple of Three 32.9% Hard 1364. Number of Trusted Contacts of a Customer 75.1% Med. 1365. How Many Numbers Are Smaller Than the Current Number 87.2% Easy 1366. Rank Teams by Votes 59.6% Med. 1367. Linked List in Binary Tree 51.9% Med. 1368. Minimum Cost to Make at Least One Valid Path in a Grid 70.7% Hard 1369. Get the Second Most Recent Activity 67.5% Hard 1370. Increasing Decreasing String 76.9% Easy 1371. Find the Longest Substring Containing Vowels in Even Counts 75.7% Med. 1372. Longest ZigZag Path in a Binary Tree 66.8% Med. 1373. Maximum Sum BST in Binary Tree 45.0% Hard 1374. Generate a String With Characters That Have Odd Counts 78.2% Easy 1375. Number of Times Binary String Is Prefix-Aligned 65.8% Med. 1376. Time Needed to Inform All Employees 60.3% Med. 1377. Frog Position After T Seconds 36.1% Hard 1378. Replace Employee ID With The Unique Identifier 83.6% Easy 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree 85.8% Easy 1380. Lucky Numbers in a Matrix 79.9% Easy 1381. Design a Stack With Increment Operation 80.1% Med. 1382. Balance a Binary Search Tree 84.7% Med. 1383. Maximum Performance of a Team 47.6% Hard 1384. Total Sales Amount by Year 61.4% Hard 1385. Find the Distance Value Between Two Arrays 70.6% Easy 1386. Cinema Seat Allocation 43.0% Med. 1387. Sort Integers by The Power Value 70.9% Med. 1388. Pizza With 3n Slices 53.3% Hard 1389. Create Target Array in the Given Order 86.3% Easy 1390. Four Divisors 45.2% Med. 1391. Check if There is a Valid Path in a Grid 49.3% Med. 1392. Longest Happy Prefix 49.7% Hard 1393. Capital Gain/Loss 84.8% Med. 1394. Find Lucky Integer in an Array 75.4% Easy 1395. Count Number of Teams 70.1% Med. 1396. Design Underground System 74.1% Med. 1397. Find All Good Strings 44.1% Hard 1398. Customers Who Bought Products A and B but Not C 71.8% Med. 1399. Count Largest Group 74.9% Easy 1400. Construct K Palindrome Strings 68.7% Med. 1401. Circle and Rectangle Overlapping 49.0% Med. 1402. Reducing Dishes 76.4% Hard 1403. Minimum Subsequence in Non-Increasing Order 73.2% Easy 1404. Number of Steps to Reduce a Number in Binary Representation to One 61.4% Med. 1405. Longest Happy String 65.5% Med. 1406. Stone Game III 63.2% Hard 1407. Top Travellers 57.1% Easy 1408. String Matching in an Array 69.8% Easy 1409. Queries on a Permutation With Key 84.6% Med. 1410. HTML Entity Parser 50.2% Med. 1411. Number of Ways to Paint N × 3 Grid 65.2% Hard 1412. Find the Quiet Students in All Exams 58.3% Hard 1413. Minimum Value to Get Positive Step by Step Sum 64.6% Easy 1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K 64.6% Med. 1415. The k-th Lexicographical String of All Happy Strings of Length n 85.2% Med. 1416. Restore The Array 46.8% Hard 1417. Reformat The String 52.1% Easy 1418. Display Table of Food Orders in a Restaurant 75.8% Med. 1419. Minimum Number of Frogs Croaking 50.9% Med. 1420. Build Array Where You Can Find The Maximum Exactly K Comparisons 66.4% Hard 1421. NPV Queries 83.0% Easy 1422. Maximum Score After Splitting a String 65.1% Easy 1423. Maximum Points You Can Obtain from Cards 56.3% Med. 1424. Diagonal Traverse II 58.2% Med. 1425. Constrained Subsequence Sum 56.4% Hard 1426. Counting Elements 60.5% Easy 1427. Perform String Shifts 55.9% Easy 1428. Leftmost Column with at Least a One 55.0% Med. 1429. First Unique Number 56.2% Med. 1430. Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree 47.3% Med. 1431. Kids With the Greatest Number of Candies 88.1% Easy 1432. Max Difference You Can Get From Changing an Integer 48.9% Med. 1433. Check If a String Can Break Another String 70.5% Med. 1434. Number of Ways to Wear Different Hats to Each Other 44.7% Hard 1435. Create a Session Bar Chart 75.0% Easy 1436. Destination City 79.4% Easy 1437. Check If All 1's Are at Least Length K Places Away 58.1% Easy 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 56.9% Med. 1439. Find the Kth Smallest Sum of a Matrix With Sorted Rows 62.0% Hard 1440. Evaluate Boolean Expression 72.1% Med. 1441. Build an Array With Stack Operations 80.3% Med. 1442. Count Triplets That Can Form Two Arrays of Equal XOR 84.8% Med. 1443. Minimum Time to Collect All Apples in a Tree 63.2% Med. 1444. Number of Ways of Cutting a Pizza 61.6% Hard 1445. Apples & Oranges 86.1% Med. 1446. Consecutive Characters 60.3% Easy 1447. Simplified Fractions 68.7% Med. 1448. Count Good Nodes in Binary Tree 73.6% Med. 1449. Form Largest Integer With Digits That Add up to Target 48.9% Hard 1450. Number of Students Doing Homework at a Given Time 75.7% Easy 1451. Rearrange Words in a Sentence 66.1% Med. 1452. People Whose List of Favorite Companies Is Not a Subset of Another List 59.7% Med. 1453. Maximum Number of Darts Inside of a Circular Dartboard 38.9% Hard 1454. Active Users 36.6% Med. 1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence 68.7% Easy 1456. Maximum Number of Vowels in a Substring of Given Length 60.8% Med. 1457. Pseudo-Palindromic Paths in a Binary Tree 68.3% Med. 1458. Max Dot Product of Two Subsequences 62.4% Hard 1459. Rectangles Area 68.6% Med. 1460. Make Two Arrays Equal by Reversing Subarrays 75.8% Easy 1461. Check If a String Contains All Binary Codes of Size K 56.7% Med. 1462. Course Schedule IV 59.6% Med. 1463. Cherry Pickup II 72.1% Hard 1464. Maximum Product of Two Elements in an Array 83.4% Easy 1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts 41.3% Med. 1466. Reorder Routes to Make All Paths Lead to the City Zero 65.3% Med. 1467. Probability of a Two Boxes Having The Same Number of Distinct Balls 60.4% Hard 1468. Calculate Salaries 77.8% Med. 1469. Find All The Lonely Nodes 84.0% Easy 1470. Shuffle the Array 88.9% Easy 1471. The k Strongest Values in an Array 62.1% Med. 1472. Design Browser History 77.9% Med. 1473. Paint House III 61.1% Hard 1474. Delete N Nodes After M Nodes of a Linked List 74.4% Easy 1475. Final Prices With a Special Discount in a Shop 83.4% Easy 1476. Subrectangle Queries 86.0% Med. 1477. Find Two Non-overlapping Sub-arrays Each With Target Sum 36.6% Med. 1478. Allocate Mailboxes 55.9% Hard 1479. Sales by Day of the Week 77.3% Hard 1480. Running Sum of 1d Array 86.9% Easy 1481. Least Number of Unique Integers after K Removals 63.5% Med. 1482. Minimum Number of Days to Make m Bouquets 55.7% Med. 1483. Kth Ancestor of a Tree Node 36.3% Hard 1484. Group Sold Products By The Date 77.8% Easy 1485. Clone Binary Tree With Random Pointer 81.0% Med. 1486. XOR Operation in an Array 87.0% Easy 1487. Making File Names Unique 38.0% Med. 1488. Avoid Flood in The City 27.5% Med. 1489. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree 66.2% Hard 1490. Clone N-ary Tree 83.1% Med. 1491. Average Salary Excluding the Minimum and Maximum Salary 63.4% Easy 1492. The kth Factor of n 69.7% Med. 1493. Longest Subarray of 1's After Deleting One Element 70.8% Med. 1494. Parallel Courses II 29.6% Hard 1495. Friendly Movies Streamed Last Month 49.0% Easy 1496. Path Crossing 62.5% Easy 1497. Check If Array Pairs Are Divisible by k 46.2% Med. 1498. Number of Subsequences That Satisfy the Given Sum Condition 49.5% Med. 1499. Max Value of Equation 44.7% Hard 1500. Design a File Sharing System 41.9% Med. 1501. Countries You Can Safely Invest In 50.5% Med. 1502. Can Make Arithmetic Progression From Sequence 69.4% Easy 1503. Last Moment Before All Ants Fall Out of a Plank 68.2% Med. 1504. Count Submatrices With All Ones 70.9% Med. 1505. Minimum Possible Integer After at Most K Adjacent Swaps On Digits 40.3% Hard 1506. Find Root of N-Ary Tree 78.4% Med. 1507. Reformat Date 67.5% Easy 1508. Range Sum of Sorted Subarray Sums 63.1% Med. 1509. Minimum Difference Between Largest and Smallest Value in Three Moves 59.2% Med. 1510. Stone Game IV 59.5% Hard 1511. Customer Order Frequency 66.7% Easy 1512. Number of Good Pairs 89.7% Easy 1513. Number of Substrings With Only 1s 48.1% Med. 1514. Path with Maximum Probability 65.3% Med. 1515. Best Position for a Service Centre 34.8% Hard 1516. Move Sub-Tree of N-Ary Tree 60.0% Hard 1517. Find Users With Valid E-Mails 40.6% Easy 1518. Water Bottles 70.7% Easy 1519. Number of Nodes in the Sub-Tree With the Same Label 55.1% Med. 1520. Maximum Number of Non-Overlapping Substrings 40.5% Hard 1521. Find a Value of a Mysterious Function Closest to Target 46.1% Hard 1522. Diameter of N-Ary Tree 75.3% Med. 1523. Count Odd Numbers in an Interval Range 50.7% Easy 1524. Number of Sub-arrays With Odd Sum 55.9% Med. 1525. Number of Good Ways to Split a String 68.4% Med. 1526. Minimum Number of Increments on Subarrays to Form a Target Array 72.7% Hard 1527. Patients With a Condition 38.9% Easy 1528. Shuffle String 85.2% Easy 1529. Minimum Suffix Flips 73.6% Med. 1530. Number of Good Leaf Nodes Pairs 71.8% Med. 1531. String Compression II 52.0% Hard 1532. The Most Recent Three Orders 69.0% Med. 1533. Find the Index of the Large Integer 56.6% Med. 1534. Count Good Triplets 85.5% Easy 1535. Find the Winner of an Array Game 56.8% Med. 1536. Minimum Swaps to Arrange a Binary Grid 48.3% Med. 1537. Get the Maximum Score 40.2% Hard 1538. Guess the Majority in a Hidden Array 69.6% Med. 1539. Kth Missing Positive Number 62.6% Easy 1540. Can Convert String in K Moves 36.3% Med. 1541. Minimum Insertions to Balance a Parentheses String 53.3% Med. 1542. Find Longest Awesome Substring 45.6% Hard 1543. Fix Product Name Format 58.9% Easy 1544. Make The String Great 68.3% Easy 1545. Find Kth Bit in Nth Binary String 70.2% Med. 1546. Maximum Number of Non-Overlapping Subarrays With Sum Equals Target 48.3% Med. 1547. Minimum Cost to Cut a Stick 62.3% Hard 1548. The Most Similar Path in a Graph 59.3% Hard 1549. The Most Recent Orders for Each Product 64.9% Med. 1550. Three Consecutive Odds 69.5% Easy 1551. Minimum Operations to Make Array Equal 82.4% Med. 1552. Magnetic Force Between Two Balls 71.5% Med. 1553. Minimum Number of Days to Eat N Oranges 35.8% Hard 1554. Strings Differ by One Character 40.8% Med. 1555. Bank Account Summary 52.0% Med. 1556. Thousand Separator 53.6% Easy 1557. Minimum Number of Vertices to Reach All Nodes 81.3% Med. 1558. Minimum Numbers of Function Calls to Make Target Array 62.7% Med. 1559. Detect Cycles in 2D Grid 51.1% Med. 1560. Most Visited Sector in a Circular Track 59.4% Easy 1561. Maximum Number of Coins You Can Get 84.6% Med. 1562. Find Latest Group of Size M 43.3% Med. 1563. Stone Game V 41.4% Hard 1564. Put Boxes Into the Warehouse I 67.2% Med. 1565. Unique Orders and Customers Per Month 82.2% Easy 1566. Detect Pattern of Length M Repeated K or More Times 43.5% Easy 1567. Maximum Length of Subarray With Positive Product 44.5% Med. 1568. Minimum Number of Days to Disconnect Island 59.0% Hard 1569. Number of Ways to Reorder Array to Get Same BST 53.7% Hard 1570. Dot Product of Two Sparse Vectors 89.9% Med. 1571. Warehouse Manager 87.5% Easy 1572. Matrix Diagonal Sum 83.8% Easy 1573. Number of Ways to Split a String 34.0% Med. 1574. Shortest Subarray to be Removed to Make Array Sorted 51.4% Med. 1575. Count All Possible Routes 64.9% Hard 1576. Replace All ?'s to Avoid Consecutive Repeating Characters 45.2% Easy 1577. Number of Ways Where Square of Number Is Equal to Product of Two Numbers 42.4% Med. 1578. Minimum Time to Make Rope Colorful 63.4% Med. 1579. Remove Max Number of Edges to Keep Graph Fully Traversable 70.3% Hard 1580. Put Boxes Into the Warehouse II 65.6% Med. 1581. Customer Who Visited but Did Not Make Any Transactions 67.5% Easy 1582. Special Positions in a Binary Matrix 68.7% Easy 1583. Count Unhappy Friends 62.2% Med. 1584. Min Cost to Connect All Points 69.5% Med. 1585. Check If String Is Transformable With Substring Sort Operations 49.3% Hard 1586. Binary Search Tree Iterator II 63.3% Med. 1587. Bank Account Summary II 83.2% Easy 1588. Sum of All Odd Length Subarrays 83.6% Easy 1589. Maximum Sum Obtained of Any Permutation 39.6% Med. 1590. Make Sum Divisible by P 39.4% Med. 1591. Strange Printer II 60.3% Hard 1592. Rearrange Spaces Between Words 44.0% Easy 1593. Split a String Into the Max Number of Unique Substrings 68.4% Med. 1594. Maximum Non Negative Product in a Matrix 35.1% Med. 1595. Minimum Cost to Connect Two Groups of Points 48.7% Hard 1596. The Most Frequently Ordered Products for Each Customer 77.8% Med. 1597. Build Binary Expression Tree From Infix Expression 62.5% Hard 1598. Crawler Log Folder 71.6% Easy 1599. Maximum Profit of Operating a Centennial Wheel 44.1% Med. 1600. Throne Inheritance 65.7% Med. 1601. Maximum Number of Achievable Transfer Requests 64.5% Hard 1602. Find Nearest Right Node in Binary Tree 75.0% Med. 1603. Design Parking System 87.1% Easy 1604. Alert Using Same Key-Card Three or More Times in a One Hour Period 46.0% Med. 1605. Find Valid Matrix Given Row and Column Sums 82.8% Med. 1606. Find Servers That Handled Most Number of Requests 44.5% Hard 1607. Sellers With No Sales 54.3% Easy 1608. Special Array With X Elements Greater Than or Equal X 66.7% Easy 1609. Even Odd Tree 66.7% Med. 1610. Maximum Number of Visible Points 37.7% Hard 1611. Minimum One Bit Operations to Make Integers Zero 73.2% Hard 1612. Check If Two Expression Trees are Equivalent 71.3% Med. 1613. Find the Missing IDs 73.0% Med. 1614. Maximum Nesting Depth of the Parentheses 84.5% Easy 1615. Maximal Network Rank 65.6% Med. 1616. Split Two Strings to Make Palindrome 31.7% Med. 1617. Count Subtrees With Max Distance Between Cities 66.7% Hard 1618. Maximum Font to Fit a Sentence in a Screen 61.5% Med. 1619. Mean of Array After Removing Some Elements 70.7% Easy 1620. Coordinate With Maximum Network Quality 38.6% Med. 1621. Number of Sets of K Non-Overlapping Line Segments 44.9% Med. 1622. Fancy Sequence 17.6% Hard 1623. All Valid Triplets That Can Represent a Country 81.0% Easy 1624. Largest Substring Between Two Equal Characters 68.2% Easy 1625. Lexicographically Smallest String After Applying Operations 65.6% Med. 1626. Best Team With No Conflicts 50.5% Med. 1627. Graph Connectivity With Threshold 48.6% Hard 1628. Design an Expression Tree With Evaluate Function 82.4% Med. 1629. Slowest Key 59.3% Easy 1630. Arithmetic Subarrays 83.7% Med. 1631. Path With Minimum Effort 62.0% Med. 1632. Rank Transform of a Matrix 41.6% Hard 1633. Percentage of Users Attended a Contest 59.3% Easy 1634. Add Two Polynomials Represented as Linked Lists 60.8% Med. 1635. Hopper Company Queries I 48.5% Hard 1636. Sort Array by Increasing Frequency 80.4% Easy 1637. Widest Vertical Area Between Two Points Containing No Points 87.1% Easy 1638. Count Substrings That Differ by One Character 71.9% Med. 1639. Number of Ways to Form a Target String Given a Dictionary 56.9% Hard 1640. Check Array Formation Through Concatenation 57.1% Easy 1641. Count Sorted Vowel Strings 79.0% Med. 1642. Furthest Building You Can Reach 50.4% Med. 1643. Kth Smallest Instructions 44.0% Hard 1644. Lowest Common Ancestor of a Binary Tree II 69.0% Med. 1645. Hopper Company Queries II 39.8% Hard 1646. Get Maximum in Generated Array 51.1% Easy 1647. Minimum Deletions to Make Character Frequencies Unique 61.4% Med. 1648. Sell Diminishing-Valued Colored Balls 30.0% Med. 1649. Create Sorted Array through Instructions 40.4% Hard 1650. Lowest Common Ancestor of a Binary Tree III 82.7% Med. 1651. Hopper Company Queries III 65.8% Hard 1652. Defuse the Bomb 79.3% Easy 1653. Minimum Deletions to Make String Balanced 65.6% Med. 1654. Minimum Jumps to Reach Home 30.3% Med. 1655. Distribute Repeating Integers 39.9% Hard 1656. Design an Ordered Stream 82.3% Easy 1657. Determine if Two Strings Are Close 54.2% Med. 1658. Minimum Operations to Reduce X to Zero 40.2% Med. 1659. Maximize Grid Happiness 40.0% Hard 1660. Correct a Binary Tree 74.2% Med. 1661. Average Time of Process per Machine 67.9% Easy 1662. Check If Two String Arrays are Equivalent 85.9% Easy 1663. Smallest String With A Given Numeric Value 67.2% Med. 1664. Ways to Make a Fair Array 64.8% Med. 1665. Minimum Initial Energy to Finish Tasks 59.7% Hard 1666. Change the Root of a Binary Tree 74.9% Med. 1667. Fix Names in a Table 60.8% Easy 1668. Maximum Repeating Substring 40.0% Easy 1669. Merge In Between Linked Lists 82.5% Med. 1670. Design Front Middle Back Queue 56.4% Med. 1671. Minimum Number of Removals to Make Mountain Array 54.9% Hard 1672. Richest Customer Wealth 88.6% Easy 1673. Find the Most Competitive Subsequence 52.1% Med. 1674. Minimum Moves to Make Array Complementary 42.6% Med. 1675. Minimize Deviation in Array 53.9% Hard 1676. Lowest Common Ancestor of a Binary Tree IV 79.2% Med. 1677. Product's Worth Over Invoices 38.4% Easy 1678. Goal Parser Interpretation 87.8% Easy 1679. Max Number of K-Sum Pairs 56.5% Med. 1680. Concatenation of Consecutive Binary Numbers 56.8% Med. 1681. Minimum Incompatibility 40.2% Hard 1682. Longest Palindromic Subsequence II 50.2% Med. 1683. Invalid Tweets 85.4% Easy 1684. Count the Number of Consistent Strings 88.3% Easy 1685. Sum of Absolute Differences in a Sorted Array 68.1% Med. 1686. Stone Game VI 59.5% Med. 1687. Delivering Boxes from Storage to Ports 39.5% Hard 1688. Count of Matches in Tournament 86.1% Easy 1689. Partitioning Into Minimum Number Of Deci-Binary Numbers 88.7% Med. 1690. Stone Game VII 58.5% Med. 1691. Maximum Height by Stacking Cuboids 60.7% Hard 1692. Count Ways to Distribute Candies 63.5% Hard 1693. Daily Leads and Partners 86.7% Easy 1694. Reformat Phone Number 67.2% Easy 1695. Maximum Erasure Value 63.9% Med. 1696. Jump Game VI 46.1% Med. 1697. Checking Existence of Edge Length Limited Paths 62.9% Hard 1698. Number of Distinct Substrings in a String 64.5% Med. 1699. Number of Calls Between Two Persons 80.8% Med. 1700. Number of Students Unable to Eat Lunch 78.9% Easy 1701. Average Waiting Time 73.0% Med. 1702. Maximum Binary String After Change 47.7% Med. 1703. Minimum Adjacent Swaps for K Consecutive Ones 42.0% Hard 1704. Determine if String Halves Are Alike 78.7% Easy 1705. Maximum Number of Eaten Apples 40.8% Med. 1706. Where Will the Ball Fall 72.1% Med. 1707. Maximum XOR With an Element From Array 56.3% Hard 1708. Largest Subarray Length K 65.4% Easy 1709. Biggest Window Between Visits 69.9% Med. 1710. Maximum Units on a Truck 74.4% Easy 1711. Count Good Meals 31.9% Med. 1712. Ways to Split Array Into Three Subarrays 33.7% Med. 1713. Minimum Operations to Make a Subsequence 49.0% Hard 1714. Sum Of Special Evenly-Spaced Elements In Array 49.3% Hard 1715. Count Apples and Oranges 75.8% Med. 1716. Calculate Money in Leetcode Bank 78.6% Easy 1717. Maximum Score From Removing Substrings 66.5% Med. 1718. Construct the Lexicographically Largest Valid Sequence 73.0% Med. 1719. Number Of Ways To Reconstruct A Tree 44.4% Hard 1720. Decode XORed Array 87.1% Easy 1721. Swapping Nodes in a Linked List 68.7% Med. 1722. Minimize Hamming Distance After Swap Operations 48.5% Med. 1723. Find Minimum Time to Finish All Jobs 44.2% Hard 1724. Checking Existence of Edge Length Limited Paths II 51.6% Hard 1725. Number Of Rectangles That Can Form The Largest Square 79.1% Easy 1726. Tuple with Same Product 70.1% Med. 1727. Largest Submatrix With Rearrangements 75.2% Med. 1728. Cat and Mouse II 39.6% Hard 1729. Find Followers Count 69.5% Easy 1730. Shortest Path to Get Food 56.8% Med. 1731. The Number of Employees Which Report to Each Employee 52.4% Easy 1732. Find the Highest Altitude 83.8% Easy 1733. Minimum Number of People to Teach 44.0% Med. 1734. Decode XORed Permutation 66.2% Med. 1735. Count Ways to Make Array With Product 53.4% Hard 1736. Latest Time by Replacing Hidden Digits 43.2% Easy 1737. Change Minimum Characters to Satisfy One of Three Conditions 37.3% Med. 1738. Find Kth Largest XOR Coordinate Value 63.5% Med. 1739. Building Boxes 52.0% Hard 1740. Find Distance in a Binary Tree 74.0% Med. 1741. Find Total Time Spent by Each Employee 86.7% Easy 1742. Maximum Number of Balls in a Box 74.4% Easy 1743. Restore the Array From Adjacent Pairs 74.8% Med. 1744. Can You Eat Your Favorite Candy on Your Favorite Day? 35.2% Med. 1745. Palindrome Partitioning IV 44.9% Hard 1746. Maximum Subarray Sum After One Operation 65.3% Med. 1747. Leetflex Banned Accounts 62.1% Med. 1748. Sum of Unique Elements 79.3% Easy 1749. Maximum Absolute Sum of Any Subarray 71.4% Med. 1750. Minimum Length of String After Deleting Similar Ends 56.0% Med. 1751. Maximum Number of Events That Can Be Attended II 63.8% Hard 1752. Check if Array Is Sorted and Rotated 55.2% Easy 1753. Maximum Score From Removing Stones 68.1% Med. 1754. Largest Merge Of Two Strings 52.2% Med. 1755. Closest Subsequence Sum 42.2% Hard 1756. Design Most Recently Used Queue 77.8% Med. 1757. Recyclable and Low Fat Products 89.1% Easy 1758. Minimum Changes To Make Alternating Binary String 63.7% Easy 1759. Count Number of Homogenous Substrings 57.3% Med. 1760. Minimum Limit of Balls in a Bag 67.0% Med. 1761. Minimum Degree of a Connected Trio in a Graph 43.7% Hard 1762. Buildings With an Ocean View 80.8% Med. 1763. Longest Nice Substring 62.9% Easy 1764. Form Array by Concatenating Subarrays of Another Array 53.9% Med. 1765. Map of Highest Peak 75.3% Med. 1766. Tree of Coprimes 42.7% Hard 1767. Find the Subtasks That Did Not Execute 78.2% Hard 1768. Merge Strings Alternately 82.2% Easy 1769. Minimum Number of Operations to Move All Balls to Each Box 90.1% Med. 1770. Maximum Score from Performing Multiplication Operations 42.5% Hard 1771. Maximize Palindrome Length From Subsequences 37.5% Hard 1772. Sort Features by Popularity 66.1% Med. 1773. Count Items Matching a Rule 85.0% Easy 1774. Closest Dessert Cost 47.8% Med. 1775. Equal Sum Arrays With Minimum Number of Operations 54.1% Med. 1776. Car Fleet II 56.7% Hard 1777. Product's Price for Each Store 82.5% Easy 1778. Shortest Path in a Hidden Grid 44.3% Med. 1779. Find Nearest Point That Has the Same X or Y Coordinate 69.6% Easy 1780. Check if Number is a Sum of Powers of Three 79.3% Med. 1781. Sum of Beauty of All Substrings 71.9% Med. 1782. Count Pairs Of Nodes 41.1% Hard 1783. Grand Slam Titles 83.1% Med. 1784. Check if Binary String Has at Most One Segment of Ones 39.1% Easy 1785. Minimum Elements to Add to Form a Given Sum 44.5% Med. 1786. Number of Restricted Paths From First to Last Node 40.3% Med. 1787. Make the XOR of All Segments Equal to Zero 40.1% Hard 1788. Maximize the Beauty of the Garden 64.1% Hard 1789. Primary Department for Each Employee 72.5% Easy 1790. Check if One String Swap Can Make Strings Equal 49.5% Easy 1791. Find Center of Star Graph 86.6% Easy 1792. Maximum Average Pass Ratio 71.6% Med. 1793. Maximum Score of a Good Subarray 64.3% Hard 1794. Count Pairs of Equal Substrings With Minimum Difference 64.2% Med. 1795. Rearrange Products Table 85.6% Easy 1796. Second Largest Digit in a String 52.4% Easy 1797. Design Authentication Manager 58.0% Med. 1798. Maximum Number of Consecutive Values You Can Make 62.6% Med. 1799. Maximize Score After N Operations 57.9% Hard 1800. Maximum Ascending Subarray Sum 66.4% Easy 1801. Number of Orders in the Backlog 52.4% Med. 1802. Maximum Value at a Given Index in a Bounded Array 38.8% Med. 1803. Count Pairs With XOR in a Range 45.9% Hard 1804. Implement Trie II (Prefix Tree) 63.2% Med. 1805. Number of Different Integers in a String 39.4% Easy 1806. Minimum Number of Operations to Reinitialize a Permutation 72.3% Med. 1807. Evaluate the Bracket Pairs of a String 68.7% Med. 1808. Maximize Number of Nice Divisors 33.7% Hard 1809. Ad-Free Sessions 58.8% Easy 1810. Minimum Path Cost in a Hidden Grid 58.7% Med. 1811. Find Interview Candidates 60.6% Med. 1812. Determine Color of a Chessboard Square 79.5% Easy 1813. Sentence Similarity III 48.6% Med. 1814. Count Nice Pairs in an Array 48.5% Med. 1815. Maximum Number of Groups Getting Fresh Donuts 40.8% Hard 1816. Truncate Sentence 86.2% Easy 1817. Finding the Users Active Minutes 80.6% Med. 1818. Minimum Absolute Sum Difference 31.6% Med. 1819. Number of Different Subsequences GCDs 42.5% Hard 1820. Maximum Number of Accepted Invitations 51.8% Med. 1821. Find Customers With Positive Revenue this Year 87.6% Easy 1822. Sign of the Product of an Array 64.9% Easy 1823. Find the Winner of the Circular Game 82.1% Med. 1824. Minimum Sideway Jumps 51.1% Med. 1825. Finding MK Average 38.4% Hard 1826. Faulty Sensor 50.2% Easy 1827. Minimum Operations to Make the Array Increasing 81.4% Easy 1828. Queries on Number of Points Inside a Circle 86.6% Med. 1829. Maximum XOR for Each Query 84.8% Med. 1830. Minimum Number of Operations to Make String Sorted 50.3% Hard 1831. Maximum Transaction Each Day 82.4% Med. 1832. Check if the Sentence Is Pangram 83.9% Easy 1833. Maximum Ice Cream Bars 74.0% Med. 1834. Single-Threaded CPU 46.8% Med. 1835. Find XOR Sum of All Pairs Bitwise AND 61.9% Hard 1836. Remove Duplicates From an Unsorted Linked List 75.5% Med. 1837. Sum of Digits in Base K 78.2% Easy 1838. Frequency of the Most Frequent Element 44.3% Med. 1839. Longest Substring Of All Vowels in Order 50.9% Med. 1840. Maximum Building Height 37.8% Hard 1841. League Statistics 53.5% Med. 1842. Next Palindrome Using Same Digits 53.8% Hard 1843. Suspicious Bank Accounts 44.9% Med. 1844. Replace All Digits with Characters 82.3% Easy 1845. Seat Reservation Manager 66.6% Med. 1846. Maximum Element After Decreasing and Rearranging 65.7% Med. 1847. Closest Room 40.2% Hard 1848. Minimum Distance to the Target Element 54.2% Easy 1849. Splitting a String Into Descending Consecutive Values 37.0% Med. 1850. Minimum Adjacent Swaps to Reach the Kth Smallest Number 71.5% Med. 1851. Minimum Interval to Include Each Query 52.8% Hard 1852. Distinct Numbers in Each Subarray 77.1% Med. 1853. Convert Date Format 85.4% Easy 1854. Maximum Population Year 62.9% Easy 1855. Maximum Distance Between a Pair of Values 54.0% Med. 1856. Maximum Subarray Min-Product 39.2% Med. 1857. Largest Color Value in a Directed Graph 57.5% Hard 1858. Longest Word With All Prefixes 71.8% Med. 1859. Sorting the Sentence 83.9% Easy 1860. Incremental Memory Leak 72.7% Med. 1861. Rotating the Box 79.2% Med. 1862. Sum of Floored Pairs 30.0% Hard 1863. Sum of All Subset XOR Totals 90.1% Easy 1864. Minimum Number of Swaps to Make the Binary String Alternating 43.6% Med. 1865. Finding Pairs With a Certain Sum 61.7% Med. 1866. Number of Ways to Rearrange Sticks With K Sticks Visible 58.1% Hard 1867. Orders With Maximum Quantity Above Average 70.8% Med. 1868. Product of Two Run-Length Encoded Arrays 59.5% Med. 1869. Longer Contiguous Segments of Ones than Zeros 61.7% Easy 1870. Minimum Speed to Arrive on Time 47.4% Med. 1871. Jump Game VII 25.8% Med. 1872. Stone Game VIII 53.2% Hard 1873. Calculate Special Bonus 57.2% Easy 1874. Minimize Product Sum of Two Arrays 89.1% Med. 1875. Group Employees of the Same Salary 66.0% Med. 1876. Substrings of Size Three with Distinct Characters 75.9% Easy 1877. Minimize Maximum Pair Sum in Array 81.5% Med. 1878. Get Biggest Three Rhombus Sums in a Grid 49.5% Med. 1879. Minimum XOR Sum of Two Arrays 49.5% Hard 1880. Check if Word Equals Summation of Two Words 74.8% Easy 1881. Maximum Value after Insertion 38.7% Med. 1882. Process Tasks Using Servers 41.5% Med. 1883. Minimum Skips to Arrive at Meeting On Time 38.4% Hard 1884. Egg Drop With 2 Eggs and N Floors 74.1% Med. 1885. Count Pairs in Two Arrays 60.2% Med. 1886. Determine Whether Matrix Can Be Obtained By Rotation 58.5% Easy 1887. Reduction Operations to Make the Array Elements Equal 72.3% Med. 1888. Minimum Number of Flips to Make the Binary String Alternating 40.7% Med. 1889. Minimum Space Wasted From Packaging 32.9% Hard 1890. The Latest Login in 2020 77.3% Easy 1891. Cutting Ribbons 52.8% Med. 1892. Page Recommendations II 45.1% Hard 1893. Check if All the Integers in a Range Are Covered 50.6% Easy 1894. Find the Student that Will Replace the Chalk 53.2% Med. 1895. Largest Magic Square 52.7% Med. 1896. Minimum Cost to Change the Final Value of Expression 50.9% Hard 1897. Redistribute Characters to Make All Strings Equal 66.8% Easy 1898. Maximum Number of Removable Characters 46.2% Med. 1899. Merge Triplets to Form Target Triplet 68.1% Med. 1900. The Earliest and Latest Rounds Where Players Compete 73.3% Hard 1901. Find a Peak Element II 53.6% Med. 1902. Depth of BST Given Insertion Order 42.4% Med. 1903. Largest Odd Number in String 66.0% Easy 1904. The Number of Full Rounds You Have Played 43.4% Med. 1905. Count Sub Islands 72.9% Med. 1906. Minimum Absolute Difference Queries 44.9% Med. 1907. Count Salary Categories 63.0% Med. 1908. Game of Nim 62.6% Med. 1909. Remove One Element to Make the Array Strictly Increasing 28.9% Easy 1910. Remove All Occurrences of a Substring 78.2% Med. 1911. Maximum Alternating Subsequence Sum 58.7% Med. 1912. Design Movie Rental System 35.9% Hard 1913. Maximum Product Difference Between Two Pairs 82.9% Easy 1914. Cyclically Rotating a Grid 50.7% Med. 1915. Number of Wonderful Substrings 66.7% Med. 1916. Count Ways to Build Rooms in an Ant Colony 49.0% Hard 1917. Leetcodify Friends Recommendations 28.2% Hard 1918. Kth Smallest Subarray Sum 52.7% Med. 1919. Leetcodify Similar Friends 42.8% Hard 1920. Build Array from Permutation 91.1% Easy 1921. Eliminate Maximum Number of Monsters 50.8% Med. 1922. Count Good Numbers 57.0% Med. 1923. Longest Common Subpath 28.6% Hard 1924. Erect the Fence II 50.0% Hard 1925. Count Square Sum Triples 69.3% Easy 1926. Nearest Exit from Entrance in Maze 47.8% Med. 1927. Sum Game 48.7% Med. 1928. Minimum Cost to Reach Destination in Time 40.3% Hard 1929. Concatenation of Array 90.5% Easy 1930. Unique Length-3 Palindromic Subsequences 71.0% Med. 1931. Painting a Grid With Three Different Colors 78.2% Hard 1932. Merge BSTs to Create Single BST 36.4% Hard 1933. Check if String Is Decomposable Into Value-Equal Substrings 50.8% Easy 1934. Confirmation Rate 61.2% Med. 1935. Maximum Number of Words You Can Type 74.9% Easy 1936. Add Minimum Number of Rungs 43.4% Med. 1937. Maximum Number of Points with Cost 42.0% Med. 1938. Maximum Genetic Difference Query 45.0% Hard 1939. Users That Actively Request Confirmation Messages 56.8% Easy 1940. Longest Common Subsequence Between Sorted Arrays 81.3% Med. 1941. Check if All Characters Have Equal Number of Occurrences 78.9% Easy 1942. The Number of the Smallest Unoccupied Chair 60.4% Med. 1943. Describe the Painting 51.4% Med. 1944. Number of Visible People in a Queue 71.7% Hard 1945. Sum of Digits of String After Convert 74.8% Easy 1946. Largest Number After Mutating Substring 37.1% Med. 1947. Maximum Compatibility Score Sum 63.7% Med. 1948. Delete Duplicate Folders in System 78.1% Hard 1949. Strong Friendship 54.3% Med. 1950. Maximum of Minimum Values in All Subarrays 48.0% Med. 1951. All the Pairs With the Maximum Number of Common Followers 69.4% Med. 1952. Three Divisors 63.1% Easy 1953. Maximum Number of Weeks for Which You Can Work 41.7% Med. 1954. Minimum Garden Perimeter to Collect Enough Apples 54.9% Med. 1955. Count Number of Special Subsequences 52.1% Hard 1956. Minimum Time For K Virus Variants to Spread 49.8% Hard 1957. Delete Characters to Make Fancy String 74.2% Easy 1958. Check if Move is Legal 49.6% Med. 1959. Minimum Total Space Wasted With K Resizing Operations 43.2% Med. 1960. Maximum Product of the Length of Two Palindromic Substrings 30.5% Hard 1961. Check If String Is a Prefix of Array 52.6% Easy 1962. Remove Stones to Minimize the Total 64.8% Med. 1963. Minimum Number of Swaps to Make the String Balanced 78.0% Med. 1964. Find the Longest Valid Obstacle Course at Each Position 62.5% Hard 1965. Employees With Missing Information 72.9% Easy 1966. Binary Searchable Numbers in an Unsorted Array 62.6% Med. 1967. Number of Strings That Appear as Substrings in Word 82.1% Easy 1968. Array With Elements Not Equal to Average of Neighbors 50.2% Med. 1969. Minimum Non-Zero Product of the Array Elements 36.6% Med. 1970. Last Day Where You Can Still Cross 62.4% Hard 1971. Find if Path Exists in Graph 54.2% Easy 1972. First and Last Call On the Same Day 51.1% Hard 1973. Count Nodes Equal to Sum of Descendants 77.2% Med. 1974. Minimum Time to Type Word Using Special Typewriter 78.0% Easy 1975. Maximum Matrix Sum 65.9% Med. 1976. Number of Ways to Arrive at Destination 37.2% Med. 1977. Number of Ways to Separate Numbers 21.1% Hard 1978. Employees Whose Manager Left the Company 48.8% Easy 1979. Find Greatest Common Divisor of Array 78.9% Easy 1980. Find Unique Binary String 79.4% Med. 1981. Minimize the Difference Between Target and Chosen Elements 36.1% Med. 1982. Find Array Given Subset Sums 49.0% Hard 1983. Widest Pair of Indices With Equal Range Sum 53.5% Med. 1984. Minimum Difference Between Highest and Lowest of K Scores 58.9% Easy 1985. Find the Kth Largest Integer in the Array 47.1% Med. 1986. Minimum Number of Work Sessions to Finish the Tasks 34.0% Med. 1987. Number of Unique Good Subsequences 52.3% Hard 1988. Find Cutoff Score for Each School 66.9% Med. 1989. Maximum Number of People That Can Be Caught in Tag 49.3% Med. 1990. Count the Number of Experiments 48.9% Med. 1991. Find the Middle Index in Array 68.4% Easy 1992. Find All Groups of Farmland 75.5% Med. 1993. Operations on Tree 44.1% Med. 1994. The Number of Good Subsets 36.1% Hard 1995. Count Special Quadruplets 63.7% Easy 1996. The Number of Weak Characters in the Game 44.3% Med. 1997. First Day Where You Have Been in All the Rooms 39.9% Med. 1998. GCD Sort of an Array 47.1% Hard 1999. Smallest Greater Multiple Made of Two Digits 48.0% Med. 2000. Reverse Prefix of Word 86.4% Easy 2001. Number of Pairs of Interchangeable Rectangles 51.6% Med. 2002. Maximum Product of the Length of Two Palindromic Subsequences 61.7% Med. 2003. Smallest Missing Genetic Value in Each Subtree 46.9% Hard 2004. The Number of Seniors and Juniors to Join the Company 45.5% Hard 2005. Subtree Removal Game with Fibonacci Tree 57.2% Hard 2006. Count Number of Pairs With Absolute Difference K 85.0% Easy 2007. Find Original Array From Doubled Array 40.6% Med. 2008. Maximum Earnings From Taxi 45.4% Med. 2009. Minimum Number of Operations to Make Array Continuous 52.2% Hard 2010. The Number of Seniors and Juniors to Join the Company II 65.0% Hard 2011. Final Value of Variable After Performing Operations 89.6% Easy 2012. Sum of Beauty in the Array 50.4% Med. 2013. Detect Squares 51.6% Med. 2014. Longest Subsequence Repeated k Times 71.5% Hard 2015. Average Height of Buildings in Each Segment 57.7% Med. 2016. Maximum Difference Between Increasing Elements 66.3% Easy 2017. Grid Game 60.9% Med. 2018. Check if Word Can Be Placed In Crossword 50.2% Med. 2019. The Score of Students Solving Math Expression 33.5% Hard 2020. Number of Accounts That Did Not Stream 72.2% Med. 2021. Brightest Position on Street 60.4% Med. 2022. Convert 1D Array Into 2D Array 71.9% Easy 2023. Number of Pairs of Strings With Concatenation Equal to Target 75.0% Med. 2024. Maximize the Confusion of an Exam 69.0% Med. 2025. Maximum Number of Ways to Partition an Array 34.9% Hard 2026. Low-Quality Problems 84.5% Easy 2027. Minimum Moves to Convert String 56.9% Easy 2028. Find Missing Observations 57.4% Med. 2029. Stone Game IX 29.2% Med. 2030. Smallest K-Length Subsequence With Occurrences of a Letter 39.1% Hard 2031. Count Subarrays With More Ones Than Zeros 51.4% Med. 2032. Two Out of Three 76.8% Easy 2033. Minimum Operations to Make a Uni-Value Grid 67.5% Med. 2034. Stock Price Fluctuation 48.4% Med. 2035. Partition Array Into Two Arrays to Minimize Sum Difference 22.2% Hard 2036. Maximum Alternating Subarray Sum 39.9% Med. 2037. Minimum Number of Moves to Seat Everyone 87.3% Easy 2038. Remove Colored Pieces if Both Neighbors are the Same Color 62.9% Med. 2039. The Time When the Network Becomes Idle 54.3% Med. 2040. Kth Smallest Product of Two Sorted Arrays 49.1% Hard 2041. Accepted Candidates From the Interviews 78.7% Med. 2042. Check if Numbers Are Ascending in a Sentence 72.2% Easy 2043. Simple Bank System 61.3% Med. 2044. Count Number of Maximum Bitwise-OR Subsets 89.7% Med. 2045. Second Minimum Time to Reach Destination 62.4% Hard 2046. Sort Linked List Already Sorted Using Absolute Values 67.0% Med. 2047. Number of Valid Words in a Sentence 30.2% Easy 2048. Next Greater Numerically Balanced Number 49.2% Med. 2049. Count Nodes With the Highest Score 51.5% Med. 2050. Parallel Courses III 66.8% Hard 2051. The Category of Each Member in the Store 70.9% Med. 2052. Minimum Cost to Separate Sentence Into Rows 50.7% Med. 2053. Kth Distinct String in an Array 82.0% Easy 2054. Two Best Non-Overlapping Events 60.8% Med. 2055. Plates Between Candles 46.9% Med. 2056. Number of Valid Move Combinations On Chessboard 48.0% Hard 2057. Smallest Index With Equal Value 72.7% Easy 2058. Find the Minimum and Maximum Number of Nodes Between Critical Points 69.4% Med. 2059. Minimum Operations to Convert Number 50.8% Med. 2060. Check if an Original String Exists Given Two Encoded Strings 43.3% Hard 2061. Number of Spaces Cleaning Robot Cleaned 62.2% Med. 2062. Count Vowel Substrings of a String 71.9% Easy 2063. Vowels of All Substrings 54.8% Med. 2064. Minimized Maximum of Products Distributed to Any Store 62.7% Med. 2065. Maximum Path Quality of a Graph 60.1% Hard 2066. Account Balance 82.3% Med. 2067. Number of Equal Count Substrings 45.0% Med. 2068. Check Whether Two Strings are Almost Equivalent 63.8% Easy 2069. Walking Robot Simulation II 25.2% Med. 2070. Most Beautiful Item for Each Query 62.1% Med. 2071. Maximum Number of Tasks You Can Assign 50.5% Hard 2072. The Winner University 75.3% Easy 2073. Time Needed to Buy Tickets 71.0% Easy 2074. Reverse Nodes in Even Length Groups 61.9% Med. 2075. Decode the Slanted Ciphertext 49.3% Med. 2076. Process Restricted Friend Requests 57.4% Hard 2077. Paths in Maze That Lead to Same Room 56.2% Med. 2078. Two Furthest Houses With Different Colors 65.6% Easy 2079. Watering Plants 80.0% Med. 2080. Range Frequency Queries 40.3% Med. 2081. Sum of k-Mirror Numbers 63.9% Hard 2082. The Number of Rich Customers 77.5% Easy 2083. Substrings That Begin and End With the Same Letter 74.3% Med. 2084. Drop Type 1 Orders for Customers With Type 0 Orders 86.9% Med. 2085. Count Common Words With One Occurrence 72.7% Easy 2086. Minimum Number of Food Buckets to Feed the Hamsters 47.3% Med. 2087. Minimum Cost Homecoming of a Robot in a Grid 51.4% Med. 2088. Count Fertile Pyramids in a Land 65.9% Hard 2089. Find Target Indices After Sorting Array 77.4% Easy 2090. K Radius Subarray Averages 45.9% Med. 2091. Removing Minimum and Maximum From Array 55.6% Med. 2092. Find All People With Secret 45.3% Hard 2093. Minimum Cost to Reach City With Discounts 59.9% Med. 2094. Finding 3-Digit Even Numbers 78.9% Easy 2095. Delete the Middle Node of a Linked List 59.5% Med. 2096. Step-By-Step Directions From a Binary Tree Node to Another 56.3% Med. 2097. Valid Arrangement of Pairs 66.3% Hard 2098. Subsequence of Size K With the Largest Even Sum 35.8% Med. 2099. Find Subsequence of Length K With the Largest Sum 57.5% Easy 2100. Find Good Days to Rob the Bank 50.7% Med. 2101. Detonate the Maximum Bombs 49.5% Med. 2102. Sequentially Ordinal Rank Tracker 61.6% Hard 2103. Rings and Rods 81.3% Easy 2104. Sum of Subarray Ranges 60.1% Med. 2105. Watering Plants II 48.3% Med. 2106. Maximum Fruits Harvested After at Most K Steps 61.1% Hard 2107. Number of Unique Flavors After Sharing K Candies 60.3% Med. 2108. Find First Palindromic String in the Array 84.0% Easy 2109. Adding Spaces to a String 71.7% Med. 2110. Number of Smooth Descent Periods of a Stock 59.7% Med. 2111. Minimum Operations to Make the Array K-Increasing 39.5% Hard 2112. The Airport With the Most Traffic 71.5% Med. 2113. Elements in Array After Removing and Replacing Elements 70.1% Med. 2114. Maximum Number of Words Found in Sentences 86.6% Easy 2115. Find All Possible Recipes from Given Supplies 56.5% Med. 2116. Check if a Parentheses String Can Be Valid 44.9% Med. 2117. Abbreviating the Product of a Range 24.4% Hard 2118. Build the Equation 56.7% Hard 2119. A Number After a Double Reversal 81.4% Easy 2120. Execution of All Suffix Instructions Staying in a Grid 81.7% Med. 2121. Intervals Between Identical Elements 45.2% Med. 2122. Recover the Original Array 40.5% Hard 2123. Minimum Operations to Remove Adjacent Ones in Matrix 41.8% Hard 2124. Check if All A's Appears Before All B's 72.5% Easy 2125. Number of Laser Beams in a Bank 85.4% Med. 2126. Destroying Asteroids 52.8% Med. 2127. Maximum Employees to Be Invited to a Meeting 62.0% Hard 2128. Remove All Ones With Row and Column Flips 76.2% Med. 2129. Capitalize the Title 66.9% Easy 2130. Maximum Twin Sum of a Linked List 81.6% Med. 2131. Longest Palindrome by Concatenating Two Letter Words 53.7% Med. 2132. Stamping the Grid 33.8% Hard 2133. Check if Every Row and Column Contains All Numbers 53.2% Easy 2134. Minimum Swaps to Group All 1's Together II 65.6% Med. 2135. Count Words Obtained After Adding a Letter 43.7% Med. 2136. Earliest Possible Day of Full Bloom 71.2% Hard 2137. Pour Water Between Buckets to Make Water Levels Equal 67.3% Med. 2138. Divide a String Into Groups of Size k 77.1% Easy 2139. Minimum Moves to Reach Target Score 51.7% Med. 2140. Solving Questions With Brainpower 60.3% Med. 2141. Maximum Running Time of N Computers 49.8% Hard 2142. The Number of Passengers in Each Bus I 49.0% Med. 2143. Choose Numbers From Two Arrays in Range 52.3% Hard 2144. Minimum Cost of Buying Candies With Discount 62.3% Easy 2145. Count the Hidden Sequences 56.7% Med. 2146. K Highest Ranked Items Within a Price Range 45.4% Med. 2147. Number of Ways to Divide a Long Corridor 48.7% Hard 2148. Count Elements With Strictly Smaller and Greater Elements 59.3% Easy 2149. Rearrange Array Elements by Sign 84.5% Med. 2150. Find All Lonely Numbers in the Array 62.0% Med. 2151. Maximum Good People Based on Statements 51.4% Hard 2152. Minimum Number of Lines to Cover Points 43.1% Med. 2153. The Number of Passengers in Each Bus II 40.1% Hard 2154. Keep Multiplying Found Values by Two 71.3% Easy 2155. All Divisions With the Highest Score of a Binary Array 64.6% Med. 2156. Find Substring With Given Hash Value 25.2% Hard 2157. Groups of Strings 27.0% Hard 2158. Amount of New Area Painted Each Day 55.5% Hard 2159. Order Two Columns Independently 61.2% Med. 2160. Minimum Sum of Four Digit Number After Splitting Digits 86.2% Easy 2161. Partition Array According to Given Pivot 89.9% Med. 2162. Minimum Cost to Set Cooking Time 41.1% Med. 2163. Minimum Difference in Sums After Removal of Elements 70.0% Hard 2164. Sort Even and Odd Indices Independently 62.8% Easy 2165. Smallest Value of the Rearranged Number 52.9% Med. 2166. Design Bitset 32.0% Med. 2167. Minimum Time to Remove All Cars Containing Illegal Goods 41.5% Hard 2168. Unique Substrings With Equal Digit Frequency 64.3% Med. 2169. Count Operations to Obtain Zero 75.1% Easy 2170. Minimum Operations to Make the Array Alternating 34.8% Med. 2171. Removing Minimum Number of Magic Beans 43.9% Med. 2172. Maximum AND Sum of Array 50.1% Hard 2173. Longest Winning Streak 54.6% Hard 2174. Remove All Ones With Row and Column Flips II 67.2% Med. 2175. The Change in Global Rankings 60.7% Med. 2176. Count Equal and Divisible Pairs in an Array 84.0% Easy 2177. Find Three Consecutive Integers That Sum to a Given Number 64.8% Med. 2178. Maximum Split of Positive Even Integers 59.5% Med. 2179. Count Good Triplets in an Array 66.0% Hard 2180. Count Integers With Even Digit Sum 69.1% Easy 2181. Merge Nodes in Between Zeros 89.6% Med. 2182. Construct String With Repeat Limit 70.9% Med. 2183. Count Array Pairs Divisible by K 30.2% Hard 2184. Number of Ways to Build Sturdy Brick Wall 49.4% Med. 2185. Counting Words With a Given Prefix 84.5% Easy 2186. Minimum Number of Steps to Make Two Strings Anagram II 72.9% Med. 2187. Minimum Time to Complete Trips 39.1% Med. 2188. Minimum Time to Finish the Race 42.6% Hard 2189. Number of Ways to Build House of Cards 62.5% Med. 2190. Most Frequent Number Following Key In an Array 59.3% Easy 2191. Sort the Jumbled Numbers 60.0% Med. 2192. All Ancestors of a Node in a Directed Acyclic Graph 62.0% Med. 2193. Minimum Number of Moves to Make Palindrome 52.2% Hard 2194. Cells in a Range on an Excel Sheet 84.0% Easy 2195. Append K Integers With Minimal Sum 26.3% Med. 2196. Create Binary Tree From Descriptions 81.6% Med. 2197. Replace Non-Coprime Numbers in Array 40.8% Hard 2198. Number of Single Divisor Triplets 54.3% Med. 2199. Finding the Topic of Each Post 50.0% Hard 2200. Find All K-Distant Indices in an Array 77.4% Easy 2201. Count Artifacts That Can Be Extracted 56.5% Med. 2202. Maximize the Topmost Element After K Moves 23.6% Med. 2203. Minimum Weighted Subgraph With the Required Paths 39.1% Hard 2204. Distance to a Cycle in Undirected Graph 73.0% Hard 2205. The Number of Users That Are Eligible for Discount 50.7% Easy 2206. Divide Array Into Equal Pairs 79.3% Easy 2207. Maximize Number of Subsequences in a String 35.4% Med. 2208. Minimum Operations to Halve Array Sum 49.2% Med. 2209. Minimum White Tiles After Covering With Carpets 37.6% Hard 2210. Count Hills and Valleys in an Array 69.3% Easy 2211. Count Collisions on a Road 44.6% Med. 2212. Maximum Points in an Archery Competition 50.8% Med. 2213. Longest Substring of One Repeating Character 33.5% Hard 2214. Minimum Health to Beat Game 58.8% Med. 2215. Find the Difference of Two Arrays 81.0% Easy 2216. Minimum Deletions to Make Array Beautiful 49.2% Med. 2217. Find Palindrome With Fixed Length 37.5% Med. 2218. Maximum Value of K Coins From Piles 60.4% Hard 2219. Maximum Sum Score of Array 62.5% Med. 2220. Minimum Bit Flips to Convert Number 87.7% Easy 2221. Find Triangular Sum of an Array 78.9% Med. 2222. Number of Ways to Select Buildings 50.5% Med. 2223. Sum of Scores of Built Strings 42.9% Hard 2224. Minimum Number of Operations to Convert Time 65.8% Easy 2225. Find Players With Zero or One Losses 72.5% Med. 2226. Maximum Candies Allocated to K Children 50.0% Med. 2227. Encrypt and Decrypt Strings 37.1% Hard 2228. Users With Two Purchases Within Seven Days 46.4% Med. 2229. Check if an Array Is Consecutive 61.9% Easy 2230. The Users That Are Eligible for Discount 50.7% Easy 2231. Largest Number After Digit Swaps by Parity 64.2% Easy 2232. Minimize Result by Adding Parentheses to Expression 67.8% Med. 2233. Maximum Product After K Increments 42.6% Med. 2234. Maximum Total Beauty of the Gardens 29.9% Hard 2235. Add Two Integers 88.0% Easy 2236. Root Equals Sum of Children 85.0% Easy 2237. Count Positions on Street With Required Brightness 62.5% Med. 2238. Number of Times a Driver Was a Passenger 72.1% Med. 2239. Find Closest Number to Zero 47.4% Easy 2240. Number of Ways to Buy Pens and Pencils 56.2% Med. 2241. Design an ATM Machine 42.8% Med. 2242. Maximum Score of a Node Sequence 39.3% Hard 2243. Calculate Digit Sum of a String 66.8% Easy 2244. Minimum Rounds to Complete All Tasks 63.0% Med. 2245. Maximum Trailing Zeros in a Cornered Path 36.8% Med. 2246. Longest Path With Different Adjacent Characters 53.9% Hard 2247. Maximum Cost of Trip With K Highways 50.5% Hard 2248. Intersection of Multiple Arrays 68.5% Easy 2249. Count Lattice Points Inside a Circle 55.6% Med. 2250. Count Number of Rectangles Containing Each Point 36.3% Med. 2251. Number of Flowers in Full Bloom 57.4% Hard 2252. Dynamic Pivoting of a Table 57.7% Hard 2253. Dynamic Unpivoting of a Table 69.1% Hard 2254. Design Video Sharing Platform 63.6% Hard 2255. Count Prefixes of a Given String 74.0% Easy 2256. Minimum Average Difference 43.6% Med. 2257. Count Unguarded Cells in the Grid 65.7% Med. 2258. Escape the Spreading Fire 36.5% Hard 2259. Remove Digit From Number to Maximize Result 47.6% Easy 2260. Minimum Consecutive Cards to Pick Up 52.9% Med. 2261. K Divisible Elements Subarrays 54.3% Med. 2262. Total Appeal of A String 55.9% Hard 2263. Make Array Non-decreasing or Non-increasing 65.4% Hard 2264. Largest 3-Same-Digit Number in String 72.8% Easy 2265. Count Nodes Equal to Average of Subtree 86.6% Med. 2266. Count Number of Texts 49.2% Med. 2267. Check if There Is a Valid Parentheses String Path 39.6% Hard 2268. Minimum Number of Keypresses 71.3% Med. 2269. Find the K-Beauty of a Number 62.1% Easy 2270. Number of Ways to Split Array 56.0% Med. 2271. Maximum White Tiles Covered by a Carpet 35.1% Med. 2272. Substring With Largest Variance 45.9% Hard 2273. Find Resultant Array After Removing Anagrams 59.8% Easy 2274. Maximum Consecutive Floors Without Special Floors 52.2% Med. 2275. Largest Combination With Bitwise AND Greater Than Zero 80.8% Med. 2276. Count Integers in Intervals 34.6% Hard 2277. Closest Node to Path in Tree 62.2% Hard 2278. Percentage of Letter in String 74.7% Easy 2279. Maximum Bags With Full Capacity of Rocks 67.8% Med. 2280. Minimum Lines to Represent a Line Chart 26.3% Med. 2281. Sum of Total Strength of Wizards 28.6% Hard 2282. Number of People That Can Be Seen in a Grid 47.3% Med. 2283. Check if Number Has Equal Digit Count and Digit Value 72.6% Easy 2284. Sender With Largest Word Count 58.7% Med. 2285. Maximum Total Importance of Roads 69.1% Med. 2286. Booking Concert Tickets in Groups 17.9% Hard 2287. Rearrange Characters to Make Target String 60.4% Easy 2288. Apply Discount to Prices 33.1% Med. 2289. Steps to Make Array Non-decreasing 23.4% Med. 2290. Minimum Obstacle Removal to Reach Corner 70.2% Hard 2291. Maximum Profit From Trading Stocks 46.8% Med. 2292. Products With Three or More Orders in Two Consecutive Years 40.3% Med. 2293. Min Max Game 63.8% Easy 2294. Partition Array Such That Maximum Difference Is K 81.8% Med. 2295. Replace Elements in an Array 59.0% Med. 2296. Design a Text Editor 47.9% Hard 2297. Jump Game VIII 45.0% Med. 2298. Tasks Count in the Weekend 82.1% Med. 2299. Strong Password Checker II 55.1% Easy 2300. Successful Pairs of Spells and Potions 45.8% Med. 2301. Match Substring After Replacement 42.4% Hard 2302. Count Subarrays With Score Less Than K 62.4% Hard 2303. Calculate Amount Paid in Taxes 67.8% Easy 2304. Minimum Path Cost in a Grid 67.5% Med. 2305. Fair Distribution of Cookies 69.5% Med. 2306. Naming a Company 46.4% Hard 2307. Check for Contradictions in Equations 43.5% Hard 2308. Arrange Table by Gender 70.5% Med. 2309. Greatest English Letter in Upper and Lower Case 71.3% Easy 2310. Sum of Numbers With Units Digit K 27.5% Med. 2311. Longest Binary Subsequence Less Than or Equal to K 52.9% Med. 2312. Selling Pieces of Wood 51.9% Hard 2313. Minimum Flips in Binary Tree to Get Result 56.7% Hard 2314. The First Day of the Maximum Recorded Degree in Each City 73.5% Med. 2315. Count Asterisks 82.9% Easy 2316. Count Unreachable Pairs of Nodes in an Undirected Graph 49.5% Med. 2317. Maximum XOR After Operations 79.5% Med. 2318. Number of Distinct Roll Sequences 57.7% Hard 2319. Check if Matrix Is X-Matrix 65.8% Easy 2320. Count Number of Ways to Place Houses 43.1% Med. 2321. Maximum Score Of Spliced Array 57.8% Hard 2322. Minimum Score After Removals on a Tree 76.5% Hard 2323. Find Minimum Time to Finish All Jobs II 65.7% Med. 2324. Product Sales Analysis IV 75.6% Med. 2325. Decode the Message 85.6% Easy 2326. Spiral Matrix IV 82.2% Med. 2327. Number of People Aware of a Secret 46.5% Med. 2328. Number of Increasing Paths in a Grid 57.6% Hard 2329. Product Sales Analysis V 70.8% Easy 2330. Valid Palindrome IV 75.7% Med. 2331. Evaluate Boolean Binary Tree 82.4% Easy 2332. The Latest Time to Catch a Bus 29.0% Med. 2333. Minimum Sum of Squared Difference 26.1% Med. 2334. Subarray With Elements Greater Than Varying Threshold 44.7% Hard 2335. Minimum Amount of Time to Fill Cups 59.3% Easy 2336. Smallest Number in Infinite Set 70.6% Med. 2337. Move Pieces to Obtain a String 56.8% Med. 2338. Count the Number of Ideal Arrays 57.0% Hard 2339. All the Matches of the League 88.5% Easy 2340. Minimum Adjacent Swaps to Make a Valid Array 72.2% Med. 2341. Maximum Number of Pairs in Array 75.6% Easy 2342. Max Sum of a Pair With Equal Sum of Digits 66.0% Med. 2343. Query Kth Smallest Trimmed Number 46.0% Med. 2344. Minimum Deletions to Make Array Divisible 57.8% Hard 2345. Finding the Number of Visible Mountains 36.7% Med. 2346. Compute the Rank as a Percentage 34.0% Med. 2347. Best Poker Hand 61.3% Easy 2348. Number of Zero-Filled Subarrays 70.2% Med. 2349. Design a Number Container System 57.1% Med. 2350. Shortest Impossible Sequence of Rolls 68.9% Hard 2351. First Letter to Appear Twice 74.4% Easy 2352. Equal Row and Column Pairs 70.6% Med. 2353. Design a Food Rating System 45.0% Med. 2354. Number of Excellent Pairs 48.3% Hard 2355. Maximum Number of Books You Can Take 39.3% Hard 2356. Number of Unique Subjects Taught by Each Teacher 89.3% Easy 2357. Make Array Zero by Subtracting Equal Amounts 73.6% Easy 2358. Maximum Number of Groups Entering a Competition 68.3% Med. 2359. Find Closest Node to Given Two Nodes 52.9% Med. 2360. Longest Cycle in a Graph 50.0% Hard 2361. Minimum Costs Using the Train Line 77.7% Hard 2362. Generate the Invoice 76.5% Hard 2363. Merge Similar Items 77.0% Easy 2364. Count Number of Bad Pairs 54.3% Med. 2365. Task Scheduler II 54.1% Med. 2366. Minimum Replacements to Sort the Array 53.2% Hard 2367. Number of Arithmetic Triplets 85.1% Easy 2368. Reachable Nodes With Restrictions 59.7% Med. 2369. Check if There is a Valid Partition For The Array 52.1% Med. 2370. Longest Ideal Subsequence 46.8% Med. 2371. Minimize Maximum Value in a Grid 70.7% Hard 2372. Calculate the Influence of Each Salesperson 83.9% Med. 2373. Largest Local Values in a Matrix 87.8% Easy 2374. Node With Highest Edge Score 48.7% Med. 2375. Construct Smallest Number From DI String 85.8% Med. 2376. Count Special Integers 40.4% Hard 2377. Sort the Olympic Table 79.5% Easy 2378. Choose Edges to Maximize Score in a Tree 56.2% Med. 2379. Minimum Recolors to Get K Consecutive Black Blocks 68.4% Easy 2380. Time Needed to Rearrange a Binary String 51.8% Med. 2381. Shifting Letters II 53.4% Med. 2382. Maximum Segment Sum After Removals 48.7% Hard 2383. Minimum Hours of Training to Win a Competition 42.0% Easy 2384. Largest Palindromic Number 36.6% Med. 2385. Amount of Time for Binary Tree to Be Infected 64.4% Med. 2386. Find the K-Sum of an Array 40.1% Hard 2387. Median of a Row Wise Sorted Matrix 70.1% Med. 2388. Change Null Values in a Table to the Previous Value 51.9% Med. 2389. Longest Subsequence With Limited Sum 73.0% Easy 2390. Removing Stars From a String 78.3% Med. 2391. Minimum Amount of Time to Collect Garbage 85.1% Med. 2392. Build a Matrix With Conditions 79.3% Hard 2393. Count Strictly Increasing Subarrays 71.3% Med. 2394. Employees With Deductions 42.0% Med. 2395. Find Subarrays With Equal Sum 66.5% Easy 2396. Strictly Palindromic Number 88.3% Med. 2397. Maximum Rows Covered by Columns 56.9% Med. 2398. Maximum Number of Robots Within Budget 37.2% Hard 2399. Check Distances Between Same Letters 71.0% Easy 2400. Number of Ways to Reach a Position After Exactly k Steps 36.3% Med. 2401. Longest Nice Subarray 64.8% Med. 2402. Meeting Rooms III 49.0% Hard 2403. Minimum Time to Kill All Monsters 56.4% Hard 2404. Most Frequent Even Element 52.4% Easy 2405. Optimal Partition of String 78.3% Med. 2406. Divide Intervals Into Minimum Number of Groups 63.6% Med. 2407. Longest Increasing Subsequence II 25.6% Hard 2408. Design SQL 68.1% Med. 2409. Count Days Spent Together 46.8% Easy 2410. Maximum Matching of Players With Trainers 75.1% Med. 2411. Smallest Subarrays With Maximum Bitwise OR 62.1% Med. 2412. Minimum Money Required Before Transactions 41.5% Hard 2413. Smallest Even Multiple 88.1% Easy 2414. Length of the Longest Alphabetical Continuous Substring 59.8% Med. 2415. Reverse Odd Levels of Binary Tree 86.6% Med. 2416. Sum of Prefix Scores of Strings 60.7% Hard 2417. Closest Fair Integer 45.2% Med. 2418. Sort the People 84.8% Easy 2419. Longest Subarray With Maximum Bitwise AND 65.4% Med. 2420. Find All Good Indices 40.2% Med. 2421. Number of Good Paths 56.1% Hard 2422. Merge Operations to Turn Array Into a Palindrome 68.9% Med. 2423. Remove Letter To Equalize Frequency 18.4% Easy 2424. Longest Uploaded Prefix 54.1% Med. 2425. Bitwise XOR of All Pairings 67.0% Med. 2426. Number of Pairs Satisfying Inequality 45.8% Hard 2427. Number of Common Factors 79.6% Easy 2428. Maximum Sum of an Hourglass 76.0% Med. 2429. Minimize XOR 62.4% Med. 2430. Maximum Deletions on a String 34.9% Hard 2431. Maximize Total Tastiness of Purchased Fruits 64.7% Med. 2432. The Employee That Worked on the Longest Task 50.8% Easy 2433. Find The Original Array of Prefix Xor 88.2% Med. 2434. Using a Robot to Print the Lexicographically Smallest String 62.5% Med. 2435. Paths in Matrix Whose Sum Is Divisible by K 44.5% Hard 2436. Minimum Split Into Subarrays With GCD Greater Than One 69.9% Med. 2437. Number of Valid Clock Times 47.6% Easy 2438. Range Product Queries of Powers 61.3% Med. 2439. Minimize Maximum of Array 46.4% Med. 2440. Create Components With Same Value 52.4% Hard 2441. Largest Positive Integer That Exists With Its Negative 74.6% Easy 2442. Count Number of Distinct Integers After Reverse Operations 80.6% Med. 2443. Sum of Number and Its Reverse 48.5% Med. 2444. Count Subarrays With Fixed Bounds 69.4% Hard 2445. Number of Nodes With Value One 65.8% Med. 2446. Determine if Two Events Have Conflict 52.5% Easy 2447. Number of Subarrays With GCD Equal to K 51.4% Med. 2448. Minimum Cost to Make Array Equal 46.4% Hard 2449. Minimum Number of Operations to Make Arrays Similar 60.9% Hard 2450. Number of Distinct Binary Strings After Applying Operations 63.6% Med. 2451. Odd String Difference 61.3% Easy 2452. Words Within Two Edits of Dictionary 61.4% Med. 2453. Destroy Sequential Targets 40.9% Med. 2454. Next Greater Element IV 40.4% Hard 2455. Average Value of Even Numbers That Are Divisible by Three 62.0% Easy 2456. Most Popular Video Creator 44.6% Med. 2457. Minimum Addition to Make Integer Beautiful 38.2% Med. 2458. Height of Binary Tree After Subtree Removal Queries 54.9% Hard 2459. Sort Array by Moving Items to Empty Space 45.2% Hard 2460. Apply Operations to an Array 74.7% Easy 2461. Maximum Sum of Distinct Subarrays With Length K 42.7% Med. 2462. Total Cost to Hire K Workers 43.3% Med. 2463. Minimum Total Distance Traveled 59.0% Hard 2464. Minimum Subarrays in a Valid Split 54.7% Med. 2465. Number of Distinct Averages 58.6% Easy 2466. Count Ways To Build Good Strings 59.1% Med. 2467. Most Profitable Path in a Tree 67.5% Med. 2468. Split Message Based on Limit 42.3% Hard 2469. Convert the Temperature 90.2% Easy 2470. Number of Subarrays With LCM Equal to K 40.5% Med. 2471. Minimum Number of Operations to Sort a Binary Tree by Level 74.3% Med. 2472. Maximum Number of Non-overlapping Palindrome Substrings 42.0% Hard 2473. Minimum Cost to Buy Apples 67.0% Med. 2474. Customers With Strictly Increasing Purchases 48.5% Hard 2475. Number of Unequal Triplets in Array 72.8% Easy 2476. Closest Nodes Queries in a Binary Search Tree 43.2% Med. 2477. Minimum Fuel Cost to Report to the Capital 64.4% Med. 2478. Number of Beautiful Partitions 32.2% Hard 2479. Maximum XOR of Two Non-Overlapping Subtrees 50.1% Hard 2480. Form a Chemical Bond 79.7% Easy 2481. Minimum Cuts to Divide a Circle 55.4% Easy 2482. Difference Between Ones and Zeros in Row and Column 84.3% Med. 2483. Minimum Penalty for a Shop 67.7% Med. 2484. Count Palindromic Subsequences 39.7% Hard 2485. Find the Pivot Integer 83.8% Easy 2486. Append Characters to String to Make Subsequence 73.0% Med. 2487. Remove Nodes From Linked List 74.5% Med. 2488. Count Subarrays With Median K 46.2% Hard 2489. Number of Substrings With Fixed Ratio 56.5% Med. 2490. Circular Sentence 70.4% Easy 2491. Divide Players Into Teams of Equal Skill 68.9% Med. 2492. Minimum Score of a Path Between Two Cities 58.0% Med. 2493. Divide Nodes Into the Maximum Number of Groups 67.3% Hard 2494. Merge Overlapping Events in the Same Hall 35.7% Hard 2495. Number of Subarrays Having Even Product 61.8% Med. 2496. Maximum Value of a String in an Array 73.6% Easy 2497. Maximum Star Sum of a Graph 41.2% Med. 2498. Frog Jump II 62.3% Med. 2499. Minimum Total Cost to Make Arrays Unequal 40.8% Hard 2500. Delete Greatest Value in Each Row 79.3% Easy 2501. Longest Square Streak in an Array 53.1% Med. 2502. Design Memory Allocator 48.9% Med. 2503. Maximum Number of Points From Grid Queries 59.4% Hard 2504. Concatenate the Name and the Profession 79.6% Easy 2505. Bitwise OR of All Subsequence Sums 64.5% Med. 2506. Count Pairs Of Similar Strings 72.9% Easy 2507. Smallest Value After Replacing With Sum of Prime Factors 49.3% Med. 2508. Add Edges to Make Degrees of All Nodes Even 33.7% Hard 2509. Cycle Length Queries in a Tree 59.0% Hard 2510. Check if There is a Path With Equal Number of 0's And 1's 51.4% Med. 2511. Maximum Enemy Forts That Can Be Captured 40.4% Easy 2512. Reward Top K Students 46.3% Med. 2513. Minimize the Maximum of Two Arrays 31.4% Med. 2514. Count Anagrams 35.7% Hard 2515. Shortest Distance to Target String in a Circular Array 50.3% Easy 2516. Take K of Each Character From Left and Right 51.5% Med. 2517. Maximum Tastiness of Candy Basket 66.9% Med. 2518. Number of Great Partitions 32.7% Hard 2519. Count the Number of K-Big Indices 53.3% Hard 2520. Count the Digits That Divide a Number 85.8% Easy 2521. Distinct Prime Factors of Product of Array 53.3% Med. 2522. Partition String Into Substrings With Values at Most K 46.8% Med. 2523. Closest Prime Numbers in Range 51.5% Med. 2524. Maximum Frequency Score of a Subarray 35.3% Hard 2525. Categorize Box According to Criteria 37.9% Easy 2526. Find Consecutive Integers from a Data Stream 49.8% Med. 2527. Find Xor-Beauty of Array 69.7% Med. 2528. Maximize the Minimum Powered City 33.5% Hard 2529. Maximum Count of Positive Integer and Negative Integer 74.5% Easy 2530. Maximal Score After Applying K Operations 63.9% Med. 2531. Make Number of Distinct Characters Equal 27.2% Med. 2532. Time to Cross a Bridge 43.8% Hard 2533. Number of Good Binary Strings 52.3% Med. 2534. Time Taken to Cross the Door 49.6% Hard 2535. Difference Between Element Sum and Digit Sum of an Array 85.1% Easy 2536. Increment Submatrices by One 52.6% Med. 2537. Count the Number of Good Subarrays 66.0% Med. 2538. Difference Between Maximum and Minimum Price Sum 32.3% Hard 2539. Count the Number of Good Subsequences 49.4% Med. 2540. Minimum Common Value 58.1% Easy 2541. Minimum Operations to Make Array Equal II 32.6% Med. 2542. Maximum Subsequence Score 54.4% Med. 2543. Check if Point Is Reachable 43.9% Hard 2544. Alternating Digit Sum 68.4% Easy 2545. Sort the Students by Their Kth Score 85.8% Med. 2546. Apply Bitwise Operations to Make Strings Equal 41.9% Med. 2547. Minimum Cost to Split an Array 42.8% Hard 2548. Maximum Price to Fill a Bag 63.7% Med. 2549. Count Distinct Numbers on Board 61.5% Easy 2550. Count Collisions of Monkeys on a Polygon 29.1% Med. 2551. Put Marbles in Bags 72.3% Hard 2552. Count Increasing Quadruplets 34.0% Hard 2553. Separate the Digits in an Array 80.4% Easy 2554. Maximum Number of Integers to Choose From a Range I 67.9% Med. 2555. Maximize Win From Two Segments 36.0% Med. 2556. Disconnect Path in a Binary Matrix by at Most One Flip 27.4% Med. 2557. Maximum Number of Integers to Choose From a Range II 35.2% Med. 2558. Take Gifts From the Richest Pile 75.6% Easy 2559. Count Vowel Strings in Ranges 67.8% Med. 2560. House Robber IV 65.1% Med. 2561. Rearranging Fruits 57.7% Hard 2562. Find the Array Concatenation Value 71.2% Easy 2563. Count the Number of Fair Pairs 52.9% Med. 2564. Substring XOR Queries 34.9% Med. 2565. Subsequence With the Minimum Score 32.6% Hard 2566. Maximum Difference by Remapping a Digit 76.3% Easy 2567. Minimum Score by Changing Two Elements 49.2% Med. 2568. Minimum Impossible OR 58.0% Med. 2569. Handling Sum Queries After Update 29.6% Hard 2570. Merge Two 2D Arrays by Summing Values 81.9% Easy 2571. Minimum Operations to Reduce an Integer to 0 58.3% Med. 2572. Count the Number of Square-Free Subsets 25.5% Med. 2573. Find the String with LCP 31.8% Hard 2574. Left and Right Sum Differences 87.6% Easy 2575. Find the Divisibility Array of a String 34.9% Med. 2576. Find the Maximum Number of Marked Indices 40.4% Med. 2577. Minimum Time to Visit a Cell In a Grid 56.6% Hard 2578. Split With Minimum Sum 72.5% Easy 2579. Count Total Number of Colored Cells 66.2% Med. 2580. Count Ways to Group Overlapping Ranges 38.4% Med. 2581. Count Number of Possible Root Nodes 47.0% Hard 2582. Pass the Pillow 56.6% Easy 2583. Kth Largest Sum in a Binary Tree 59.2% Med. 2584. Split the Array to Make Coprime Products 28.2% Hard 2585. Number of Ways to Earn Points 58.8% Hard 2586. Count the Number of Vowel Strings in Range 73.7% Easy 2587. Rearrange Array to Maximize Prefix Score 41.8% Med. 2588. Count the Number of Beautiful Subarrays 52.4% Med. 2589. Minimum Time to Complete All Tasks 38.3% Hard 2590. Design a Todo List 58.8% Med. 2591. Distribute Money to Maximum Children 19.6% Easy 2592. Maximize Greatness of an Array 59.8% Med. 2593. Find Score of an Array After Marking All Elements 64.5% Med. 2594. Minimum Time to Repair Cars 59.8% Med. 2595. Number of Even and Odd Bits 72.9% Easy 2596. Check Knight Tour Configuration 58.8% Med. 2597. The Number of Beautiful Subsets 50.8% Med. 2598. Smallest Missing Non-negative Integer After Operations 40.1% Med. 2599. Make the Prefix Sum Non-negative 51.8% Med. 2600. K Items With the Maximum Sum 60.3% Easy 2601. Prime Subtraction Operation 55.6% Med. 2602. Minimum Operations to Make All Array Elements Equal 37.2% Med. 2603. Collect Coins in a Tree 38.0% Hard 2604. Minimum Time to Eat All Grains 39.9% Hard 2605. Form Smallest Number From Two Digit Arrays 54.5% Easy 2606. Find the Substring With Maximum Cost 57.2% Med. 2607. Make K-Subarray Sums Equal 37.1% Med. 2608. Shortest Cycle in a Graph 38.1% Hard 2609. Find the Longest Balanced Substring of a Binary String 45.7% Easy 2610. Convert an Array Into a 2D Array With Conditions 86.3% Med. 2611. Mice and Cheese 47.5% Med. 2612. Minimum Reverse Operations 15.5% Hard 2613. Beautiful Pairs 43.9% Hard 2614. Prime In Diagonal 36.6% Easy 2615. Sum of Distances 31.7% Med. 2616. Minimize the Maximum Difference of Pairs 50.9% Med. 2617. Minimum Number of Visited Cells in a Grid 23.0% Hard 2618. Check if Object Instance of Class 28.4% Med. 2619. Array Prototype Last 74.5% Easy 2620. Counter 82.2% Easy 2621. Sleep 87.5% Easy 2622. Cache With Time Limit 75.8% Med. 2623. Memoize 64.3% Med. 2624. Snail Traversal 67.7% Med. 2625. Flatten Deeply Nested Array 64.8% Med. 2626. Array Reduce Transformation 85.4% Easy 2627. Debounce 91.8% Med. 2628. JSON Deep Equal 39.2% Med. 2629. Function Composition 86.9% Easy 2630. Memoize II 37.6% Hard 2631. Group By 81.1% Med. 2632. Curry 89.5% Med. 2633. Convert Object to JSON String 78.0% Med. 2634. Filter Elements from Array 85.5% Easy 2635. Apply Transform Over Each Element in Array 86.2% Easy 2636. Promise Pool 79.8% Med. 2637. Promise Time Limit 82.9% Med. 2638. Count the Number of K-Free Subsets 46.9% Med. 2639. Find the Width of Columns of a Grid 69.6% Easy 2640. Find the Score of All Prefixes of an Array 72.2% Med. 2641. Cousins in Binary Tree II 75.5% Med. 2642. Design Graph With Shortest Path Calculator 64.3% Hard 2643. Row With Maximum Ones 74.2% Easy 2644. Find the Maximum Divisibility Score 50.7% Easy 2645. Minimum Additions to Make Valid String 50.5% Med. 2646. Minimize the Total Price of the Trips 46.6% Hard 2647. Color the Triangle Red 59.7% Hard 2648. Generate Fibonacci Sequence 83.5% Easy 2649. Nested Array Generator 79.9% Med. 2650. Design Cancellable Function 54.0% Hard 2651. Calculate Delayed Arrival Time 76.2% Easy 2652. Sum Multiples 85.5% Easy 2653. Sliding Subarray Beauty 34.7% Med. 2654. Minimum Number of Operations to Make All Array Elements Equal to 1 33.8% Med. 2655. Find Maximal Uncovered Ranges 49.5% Med. 2656. Maximum Sum With Exactly K Elements 80.0% Easy 2657. Find the Prefix Common Array of Two Arrays 87.0% Med. 2658. Maximum Number of Fish in a Grid 70.4% Med. 2659. Make Array Empty 25.8% Hard 2660. Determine the Winner of a Bowling Game 36.2% Easy 2661. First Completely Painted Row or Column 63.9% Med. 2662. Minimum Cost of a Path With Special Roads 41.1% Med. 2663. Lexicographically Smallest Beautiful String 37.4% Hard 2664. The Knight’s Tour 72.6% Med. 2665. Counter II 81.1% Easy 2666. Allow One Function Call 86.7% Easy 2667. Create Hello World Function 82.0% Easy 2668. Find Latest Salaries 74.9% Easy 2669. Count Artist Occurrences On Spotify Ranking List 74.3% Easy 2670. Find the Distinct Difference Array 76.4% Easy 2671. Frequency Tracker 30.1% Med. 2672. Number of Adjacent Elements With the Same Color 56.6% Med. 2673. Make Costs of Paths Equal in a Binary Tree 57.3% Med. 2674. Split a Circular Linked List 77.0% Med. 2675. Array of Objects to Matrix 68.7% Hard 2676. Throttle 83.2% Med. 2677. Chunk Array 84.5% Easy 2678. Number of Senior Citizens 81.3% Easy 2679. Sum in a Matrix 59.5% Med. 2680. Maximum OR 41.7% Med. 2681. Power of Heroes 30.2% Hard 2682. Find the Losers of the Circular Game 49.1% Easy 2683. Neighboring Bitwise XOR 79.8% Med. 2684. Maximum Number of Moves in a Grid 58.8% Med. 2685. Count the Number of Complete Components 77.7% Med. 2686. Immediate Food Delivery III 69.8% Med. 2687. Bikes Last Time Used 80.9% Easy 2688. Find Active Users 44.8% Med. 2689. Extract Kth Character From The Rope Tree 73.6% Easy 2690. Infinite Method Object 93.3% Easy 2691. Immutability Helper 40.9% Hard 2692. Make Object Immutable 62.7% Med. 2693. Call Function with Custom Context 78.5% Med. 2694. Event Emitter 74.5% Med. 2695. Array Wrapper 89.1% Easy 2696. Minimum String Length After Removing Substrings 77.1% Easy 2697. Lexicographically Smallest Palindrome 79.8% Easy 2698. Find the Punishment Number of an Integer 81.8% Med. 2699. Modify Graph Edge Weights 55.9% Hard 2700. Differences Between Two Objects 75.2% Med. 2701. Consecutive Transactions with Increasing Amounts 34.7% Hard 2702. Minimum Operations to Make Numbers Non-positive 42.4% Hard 2703. Return Length of Arguments Passed 94.5% Easy 2704. To Be Or Not To Be 63.0% Easy 2705. Compact Object 67.0% Med. 2706. Buy Two Chocolates 68.3% Easy 2707. Extra Characters in a String 57.1% Med. 2708. Maximum Strength of a Group 25.0% Med. 2709. Greatest Common Divisor Traversal 41.8% Hard 2710. Remove Trailing Zeros From a String 78.8% Easy 2711. Difference of Number of Distinct Values on Diagonals 68.0% Med. 2712. Minimum Cost to Make All Characters Equal 53.6% Med. 2713. Maximum Strictly Increasing Cells in a Matrix 30.8% Hard 2714. Find Shortest Path with K Hops 68.4% Hard 2715. Timeout Cancellation 89.6% Easy 2716. Minimize String Length 77.7% Easy 2717. Semi-Ordered Permutation 63.5% Easy 2718. Sum of Matrix After Queries 31.4% Med. 2719. Count of Integers 37.5% Hard 2720. Popularity Percentage 54.1% Hard 2721. Execute Asynchronous Functions in Parallel 77.9% Med. 2722. Join Two Arrays by ID 56.3% Med. 2723. Add Two Promises 91.8% Easy 2724. Sort By 83.2% Easy 2725. Interval Cancellation 84.2% Easy 2726. Calculator with Method Chaining 77.6% Easy 2727. Is Object Empty 81.5% Easy 2728. Count Houses in a Circular Street 85.5% Easy 2729. Check if The Number is Fascinating 52.5% Easy 2730. Find the Longest Semi-Repetitive Substring 37.6% Med. 2731. Movement of Robots 27.3% Med. 2732. Find a Good Subset of the Matrix 46.2% Hard 2733. Neither Minimum nor Maximum 76.1% Easy 2734. Lexicographically Smallest String After Substring Operation 32.9% Med. 2735. Collecting Chocolates 34.0% Med. 2736. Maximum Sum Queries 28.5% Hard 2737. Find the Closest Marked Node 65.1% Med. 2738. Count Occurrences in Text 55.1% Med. 2739. Total Distance Traveled 40.4% Easy 2740. Find the Value of the Partition 64.5% Med. 2741. Special Permutations 28.8% Med. 2742. Painting the Walls 48.7% Hard 2743. Count Substrings Without Repeating Character 76.2% Med. 2744. Find Maximum Number of String Pairs 81.8% Easy 2745. Construct the Longest New String 54.1% Med. 2746. Decremental String Concatenation 26.6% Med. 2747. Count Zero Request Servers 34.8% Med. 2748. Number of Beautiful Pairs 51.2% Easy 2749. Minimum Operations to Make the Integer Zero 30.5% Med. 2750. Ways to Split Array Into Good Subarrays 34.2% Med. 2751. Robot Collisions 56.1% Hard 2752. Customers with Maximum Number of Transactions on Consecutive Days 41.9% Hard 2753. Count Houses in a Circular Street II 61.6% Hard 2754. Bind Function to Context 86.9% Med. 2755. Deep Merge of Two Objects 64.8% Med. 2756. Query Batching 66.2% Hard 2757. Generate Circular Array Values 74.4% Med. 2758. Next Day 85.4% Easy 2759. Convert JSON String to Object 62.1% Hard 2760. Longest Even Odd Subarray With Threshold 30.7% Easy 2761. Prime Pairs With Target Sum 36.0% Med. 2762. Continuous Subarrays 58.0% Med. 2763. Sum of Imbalance Numbers of All Subarrays 42.5% Hard 2764. Is Array a Preorder of Some ‌Binary Tree 66.2% Med. 2765. Longest Alternating Subarray 34.7% Easy 2766. Relocate Marbles 50.5% Med. 2767. Partition String Into Minimum Beautiful Substrings 53.1% Med. 2768. Number of Black Blocks 39.3% Med. 2769. Find the Maximum Achievable Number 91.0% Easy 2770. Maximum Number of Jumps to Reach the Last Index 31.7% Med. 2771. Longest Non-decreasing Subarray From Two Arrays 30.2% Med. 2772. Apply Operations to Make All Array Elements Equal to Zero 32.8% Med. 2773. Height of Special Binary Tree 73.9% Med. 2774. Array Upper Bound 82.8% Easy 2775. Undefined to Null 71.5% Med. 2776. Convert Callback Based Function to Promise Based Function 91.1% Med. 2777. Date Range Generator 82.9% Med. 2778. Sum of Squares of Special Elements 81.3% Easy 2779. Maximum Beauty of an Array After Applying Operation 58.2% Med. 2780. Minimum Index of a Valid Split 75.5% Med. 2781. Length of the Longest Valid Substring 37.9% Hard 2782. Number of Unique Categories 82.8% Med. 2783. Flight Occupancy and Waitlist Analysis 38.5% Med. 2784. Check if Array is Good 48.5% Easy 2785. Sort Vowels in a String 79.5% Med. 2786. Visit Array Positions to Maximize Score 36.8% Med. 2787. Ways to Express an Integer as Sum of Powers 50.0% Med. 2788. Split Strings by Separator 75.3% Easy 2789. Largest Element in an Array after Merge Operations 47.0% Med. 2790. Maximum Number of Groups With Increasing Length 22.4% Hard 2791. Count Paths That Can Form a Palindrome in a Tree 45.9% Hard 2792. Count Nodes That Are Great Enough 56.9% Hard 2793. Status of Flight Tickets 79.0% Hard 2794. Create Object from Two Arrays 64.2% Easy 2795. Parallel Execution of Promises for Individual Results Retrieval 90.1% Med. 2796. Repeat String 93.3% Easy 2797. Partial Function with Placeholders 89.6% Easy 2798. Number of Employees Who Met the Target 87.6% Easy 2799. Count Complete Subarrays in an Array 75.8% Med. 2800. Shortest String That Contains Three Strings 31.0% Med. 2801. Count Stepping Numbers in Range 26.7% Hard 2802. Find The K-th Lucky Number 76.0% Med. 2803. Factorial Generator 85.9% Easy 2804. Array Prototype ForEach 89.7% Easy 2805. Custom Interval 83.4% Med. 2806. Account Balance After Rounded Purchase 55.3% Easy 2807. Insert Greatest Common Divisors in Linked List 91.5% Med. 2808. Minimum Seconds to Equalize a Circular Array 27.7% Med. 2809. Minimum Time to Make Array Sum At Most x 25.9% Hard 2810. Faulty Keyboard 79.2% Easy 2811. Check if it is Possible to Split Array 34.1% Med. 2812. Find the Safest Path in a Grid 48.4% Med. 2813. Maximum Elegance of a K-Length Subsequence 28.1% Hard 2814. Minimum Time Takes to Reach Destination Without Drowning 53.1% Hard 2815. Max Pair Sum in an Array 59.5% Easy 2816. Double a Number Represented as a Linked List 61.2% Med. 2817. Minimum Absolute Difference Between Elements With Constraint 34.7% Med. 2818. Apply Operations to Maximize Score 54.0% Hard 2819. Minimum Relative Loss After Buying Chocolates 43.4% Hard 2820. Election Results 68.7% Med. 2821. Delay the Resolution of Each Promise 73.6% Med. 2822. Inversion of Object 59.9% Easy 2823. Deep Object Filter 56.4% Med. 2824. Count Pairs Whose Sum is Less than Target 87.6% Easy 2825. Make String a Subsequence Using Cyclic Increments 65.6% Med. 2826. Sorting Three Groups 42.2% Med. 2827. Number of Beautiful Integers in the Range 20.3% Hard 2828. Check if a String Is an Acronym of Words 82.7% Easy 2829. Determine the Minimum Sum of a k-avoiding Array 60.2% Med. 2830. Maximize the Profit as the Salesman 37.5% Med. 2831. Find the Longest Equal Subarray 36.7% Med. 2832. Maximal Range That Each Element Is Maximum in It 75.3% Med. 2833. Furthest Point From Origin 64.7% Easy 2834. Find the Minimum Possible Sum of a Beautiful Array 35.7% Med. 2835. Minimum Operations to Form Subsequence With Target Sum 31.8% Hard 2836. Maximize Value of Function in a Ball Passing Game 29.4% Hard 2837. Total Traveled Distance 77.9% Easy 2838. Maximum Coins Heroes Can Collect 68.5% Med. 2839. Check if Strings Can be Made Equal With Operations I 47.3% Easy 2840. Check if Strings Can be Made Equal With Operations II 55.5% Med. 2841. Maximum Sum of Almost Unique Subarray 39.7% Med. 2842. Count K-Subsequences of a String With Maximum Beauty 29.8% Hard 2843. Count Symmetric Integers 83.1% Easy 2844. Minimum Operations to Make a Special Number 38.2% Med. 2845. Count of Interesting Subarrays 58.1% Med. 2846. Minimum Edge Weight Equilibrium Queries in a Tree 43.6% Hard 2847. Smallest Number With Given Digit Product 43.1% Med. 2848. Points That Intersect With Cars 73.0% Easy 2849. Determine if a Cell Is Reachable at a Given Time 37.1% Med. 2850. Minimum Moves to Spread Stones Over Grid 44.6% Med. 2851. String Transformation 25.5% Hard 2852. Sum of Remoteness of All Cells 70.9% Med. 2853. Highest Salaries Difference 74.3% Easy 2854. Rolling Average Steps 69.9% Med. 2855. Minimum Right Shifts to Sort the Array 56.9% Easy 2856. Minimum Array Length After Pair Removals 25.7% Med. 2857. Count Pairs of Points With Distance k 32.2% Med. 2858. Minimum Edge Reversals So Every Node Is Reachable 55.5% Hard 2859. Sum of Values at Indices With K Set Bits 85.8% Easy 2860. Happy Students 50.3% Med. 2861. Maximum Number of Alloys 39.3% Med. 2862. Maximum Element-Sum of a Complete Subset of Indices 41.9% Hard 2863. Maximum Length of Semi-Decreasing Subarrays 70.0% Med. 2864. Maximum Odd Binary Number 82.8% Easy 2865. Beautiful Towers I 43.6% Med. 2866. Beautiful Towers II 35.2% Med. 2867. Count Valid Paths in a Tree 35.1% Hard 2868. The Wording Game 54.4% Hard 2869. Minimum Operations to Collect Elements 61.4% Easy 2870. Minimum Number of Operations to Make Array Empty 61.9% Med. 2871. Split Array Into Maximum Number of Subarrays 41.7% Med. 2872. Maximum Number of K-Divisible Components 69.6% Hard 2873. Maximum Value of an Ordered Triplet I 58.2% Easy 2874. Maximum Value of an Ordered Triplet II 56.6% Med. 2875. Minimum Size Subarray in Infinite Array 31.4% Med. 2876. Count Visited Nodes in a Directed Graph 29.4% Hard 2877. Create a DataFrame from List 81.3% Easy 2878. Get the Size of a DataFrame 85.1% Easy 2879. Display the First Three Rows 93.1% Easy 2880. Select Data 79.1% Easy 2881. Create a New Column 90.3% Easy 2882. Drop Duplicate Rows 85.5% Easy 2883. Drop Missing Data 64.5% Easy 2884. Modify Columns 92.5% Easy 2885. Rename Columns 85.5% Easy 2886. Change Data Type 87.5% Easy 2887. Fill Missing Data 72.4% Easy 2888. Reshape Data: Concatenate 90.7% Easy 2889. Reshape Data: Pivot 83.5% Easy 2890. Reshape Data: Melt 86.2% Easy 2891. Method Chaining 76.5% Easy 2892. Minimizing Array After Replacing Pairs With Their Product 40.4% Med. 2893. Calculate Orders Within Each Interval 67.9% Med. 2894. Divisible and Non-divisible Sums Difference 91.2% Easy 2895. Minimum Processing Time 69.5% Med. 2896. Apply Operations to Make Two Strings Equal 27.3% Med. 2897. Apply Operations on Array to Maximize Sum of Squares 43.6% Hard 2898. Maximum Linear Stock Score 59.9% Med. 2899. Last Visited Integers 61.3% Easy 2900. Longest Unequal Adjacent Groups Subsequence I 67.3% Easy 2901. Longest Unequal Adjacent Groups Subsequence II 51.4% Med. 2902. Count of Sub-Multisets With Bounded Sum 20.8% Hard 2903. Find Indices With Index and Value Difference I 60.3% Easy 2904. Shortest and Lexicographically Smallest Beautiful String 40.1% Med. 2905. Find Indices With Index and Value Difference II 32.1% Med. 2906. Construct Product Matrix 31.3% Med. 2907. Maximum Profitable Triplets With Increasing Prices I 54.6% Med. 2908. Minimum Sum of Mountain Triplets I 66.3% Easy 2909. Minimum Sum of Mountain Triplets II 53.9% Med. 2910. Minimum Number of Groups to Create a Valid Assignment 24.1% Med. 2911. Minimum Changes to Make K Semi-palindromes 35.1% Hard 2912. Number of Ways to Reach Destination in the Grid 59.1% Hard 2913. Subarrays Distinct Element Sum of Squares I 79.8% Easy 2914. Minimum Number of Changes to Make Binary String Beautiful 76.4% Med. 2915. Length of the Longest Subsequence That Sums to Target 38.3% Med. 2916. Subarrays Distinct Element Sum of Squares II 21.2% Hard 2917. Find the K-or of an Array 72.3% Easy 2918. Minimum Equal Sum of Two Arrays After Replacing Zeros 50.2% Med. 2919. Minimum Increment Operations to Make Array Beautiful 34.1% Med. 2920. Maximum Points After Collecting Coins From All Nodes 35.8% Hard 2921. Maximum Profitable Triplets With Increasing Prices II 44.4% Hard 2922. Market Analysis III 42.0% Med. 2923. Find Champion I 72.7% Easy 2924. Find Champion II 70.1% Med. 2925. Maximum Score After Applying Operations on a Tree 46.5% Med. 2926. Maximum Balanced Subsequence Sum 25.1% Hard 2927. Distribute Candies Among Children III 57.4% Hard 2928. Distribute Candies Among Children I 75.3% Easy 2929. Distribute Candies Among Children II 55.9% Med. 2930. Number of Strings Which Can Be Rearranged to Contain Substring 55.8% Med. 2931. Maximum Spending After Buying Items 60.4% Hard 2932. Maximum Strong Pair XOR I 75.2% Easy 2933. High-Access Employees 46.5% Med. 2934. Minimum Operations to Maximize Last Elements in Arrays 43.3% Med. 2935. Maximum Strong Pair XOR II 31.2% Hard 2936. Number of Equal Numbers Blocks 62.3% Med. 2937. Make Three Strings Equal 43.6% Easy 2938. Separate Black and White Balls 64.0% Med. 2939. Maximum Xor Product 27.5% Med. 2940. Find Building Where Alice and Bob Can Meet 52.2% Hard 2941. Maximum GCD-Sum of a Subarray 36.6% Hard 2942. Find Words Containing Character 90.5% Easy 2943. Maximize Area of Square Hole in Grid 37.3% Med. 2944. Minimum Number of Coins for Fruits 47.4% Med. 2945. Find Maximum Non-decreasing Array Length 17.2% Hard 2946. Matrix Similarity After Cyclic Shifts 58.5% Easy 2947. Count Beautiful Substrings I 60.0% Med. 2948. Make Lexicographically Smallest Array by Swapping Elements 60.2% Med. 2949. Count Beautiful Substrings II 25.2% Hard 2950. Number of Divisible Substrings 73.3% Med. 2951. Find the Peaks 74.5% Easy 2952. Minimum Number of Coins to be Added 57.1% Med. 2953. Count Complete Substrings 29.0% Hard 2954. Count the Number of Infection Sequences 34.0% Hard 2955. Number of Same-End Substrings 61.4% Med. 2956. Find Common Elements Between Two Arrays 83.9% Easy 2957. Remove Adjacent Almost-Equal Characters 52.2% Med. 2958. Length of Longest Subarray With at Most K Frequency 56.0% Med. 2959. Number of Possible Sets of Closing Branches 49.1% Hard 2960. Count Tested Devices After Test Operations 78.5% Easy 2961. Double Modular Exponentiation 47.4% Med. 2962. Count Subarrays Where Max Element Appears at Least K Times 62.5% Med. 2963. Count the Number of Good Partitions 47.7% Hard 2964. Number of Divisible Triplet Sums 67.4% Med. 2965. Find Missing and Repeated Values 83.3% Easy 2966. Divide Array Into Arrays With Max Difference 78.7% Med. 2967. Minimum Cost to Make Array Equalindromic 22.7% Med. 2968. Apply Operations to Maximize Frequency Score 37.1% Hard 2969. Minimum Number of Coins for Fruits II 45.7% Hard 2970. Count the Number of Incremovable Subarrays I 55.3% Easy 2971. Find Polygon With the Largest Perimeter 65.4% Med. 2972. Count the Number of Incremovable Subarrays II 39.3% Hard 2973. Find Number of Coins to Place in Tree Nodes 36.7% Hard 2974. Minimum Number Game 85.0% Easy 2975. Maximum Square Area by Removing Fences From a Field 24.3% Med. 2976. Minimum Cost to Convert String I 57.5% Med. 2977. Minimum Cost to Convert String II 25.9% Hard 2978. Symmetric Coordinates 40.8% Med. 2979. Most Expensive Item That Can Not Be Bought 80.2% Med. 2980. Check if Bitwise OR Has Trailing Zeros 70.1% Easy 2981. Find Longest Special Substring That Occurs Thrice I 61.9% Med. 2982. Find Longest Special Substring That Occurs Thrice II 38.5% Med. 2983. Palindrome Rearrangement Queries 23.5% Hard 2984. Find Peak Calling Hours for Each City 62.1% Med. 2985. Calculate Compressed Mean 87.6% Easy 2986. Find Third Transaction 53.8% Med. 2987. Find Expensive Cities 78.6% Easy 2988. Manager of the Largest Department 80.9% Med. 2989. Class Performance 88.9% Med. 2990. Loan Types 64.1% Easy 2991. Top Three Wineries 56.3% Hard 2992. Number of Self-Divisible Permutations 71.7% Med. 2993. Friday Purchases I 81.2% Med. 2994. Friday Purchases II 76.6% Hard 2995. Viewers Turned Streamers 42.8% Hard 2996. Smallest Missing Integer Greater Than Sequential Prefix Sum 34.2% Easy 2997. Minimum Number of Operations to Make Array XOR Equal to K 85.4% Med. 2998. Minimum Number of Operations to Make X and Y Equal 47.8% Med. 2999. Count the Number of Powerful Integers 46.4% Hard 3000. Maximum Area of Longest Diagonal Rectangle 36.8% Easy 3001. Minimum Moves to Capture The Queen 21.6% Med. 3002. Maximum Size of a Set After Removals 45.2% Med. 3003. Maximize the Number of Partitions After Operations 27.8% Hard 3004. Maximum Subtree of the Same Color 57.6% Med. 3005. Count Elements With Maximum Frequency 77.9% Easy 3006. Find Beautiful Indices in the Given Array I 39.1% Med. 3007. Maximum Number That Sum of the Prices Is Less Than or Equal to K 37.4% Med. 3008. Find Beautiful Indices in the Given Array II 26.8% Hard 3009. Maximum Number of Intersections on the Chart 45.1% Hard 3010. Divide an Array Into Subarrays With Minimum Cost I 66.1% Easy 3011. Find if Array Can Be Sorted 66.5% Med. 3012. Minimize Length of Array Using Operations 35.1% Med. 3013. Divide an Array Into Subarrays With Minimum Cost II 30.6% Hard 3014. Minimum Number of Pushes to Type Word I 66.4% Easy 3015. Count the Number of Houses at a Certain Distance I 55.8% Med. 3016. Minimum Number of Pushes to Type Word II 79.9% Med. 3017. Count the Number of Houses at a Certain Distance II 22.3% Hard 3018. Maximum Number of Removal Queries That Can Be Processed I 43.6% Hard 3019. Number of Changing Keys 79.9% Easy 3020. Find the Maximum Number of Elements in Subset 26.4% Med. 3021. Alice and Bob Playing Flower Game 46.1% Med. 3022. Minimize OR of Remaining Elements Using Operations 28.8% Hard 3023. Find Pattern in Infinite Stream I 57.0% Med. 3024. Type of Triangle 44.5% Easy 3025. Find the Number of Ways to Place People I 41.1% Med. 3026. Maximum Good Subarray Sum 20.5% Med. 3027. Find the Number of Ways to Place People II 46.0% Hard 3028. Ant on the Boundary 74.0% Easy 3029. Minimum Time to Revert Word to Initial State I 41.6% Med. 3030. Find the Grid of Region Average 42.5% Med. 3031. Minimum Time to Revert Word to Initial State II 34.5% Hard 3032. Count Numbers With Unique Digits II 87.0% Easy 3033. Modify the Matrix 68.5% Easy 3034. Number of Subarrays That Match a Pattern I 67.4% Med. 3035. Maximum Palindromes After Operations 43.4% Med. 3036. Number of Subarrays That Match a Pattern II 32.5% Hard 3037. Find Pattern in Infinite Stream II 68.2% Hard 3038. Maximum Number of Operations With the Same Score I 52.2% Easy 3039. Apply Operations to Make String Empty 56.5% Med. 3040. Maximum Number of Operations With the Same Score II 33.3% Med. 3041. Maximize Consecutive Elements in an Array After Modification 32.9% Hard 3042. Count Prefix and Suffix Pairs I 77.7% Easy 3043. Find the Length of the Longest Common Prefix 56.5% Med. 3044. Most Frequent Prime 45.2% Med. 3045. Count Prefix and Suffix Pairs II 27.5% Hard 3046. Split the Array 59.8% Easy 3047. Find the Largest Area of Square Inside Two Rectangles 45.3% Med. 3048. Earliest Second to Mark Indices I 35.2% Med. 3049. Earliest Second to Mark Indices II 20.5% Hard 3050. Pizza Toppings Cost Analysis 67.5% Med. 3051. Find Candidates for Data Scientist Position 76.2% Easy 3052. Maximize Items 74.6% Hard 3053. Classifying Triangles by Lengths 50.5% Easy 3054. Binary Tree Nodes 78.8% Med. 3055. Top Percentile Fraud 58.5% Med. 3056. Snaps Analysis 58.4% Med. 3057. Employees Project Allocation 67.9% Hard 3058. Friends With No Mutual Friends 48.8% Med. 3059. Find All Unique Email Domains 70.6% Easy 3060. User Activities within Time Bounds 40.1% Hard 3061. Calculate Trapping Rain Water 81.7% Hard 3062. Winner of the Linked List Game 78.1% Easy 3063. Linked List Frequency 85.4% Easy 3064. Guess the Number Using Bitwise Questions I 89.5% Med. 3065. Minimum Operations to Exceed Threshold Value I 86.2% Easy 3066. Minimum Operations to Exceed Threshold Value II 45.8% Med. 3067. Count Pairs of Connectable Servers in a Weighted Tree Network 54.6% Med. 3068. Find the Maximum Sum of Node Values 69.7% Hard 3069. Distribute Elements Into Two Arrays I 73.3% Easy 3070. Count Submatrices with Top-Left Element and Sum Less Than k 57.5% Med. 3071. Minimum Operations to Write the Letter Y on a Grid 62.6% Med. 3072. Distribute Elements Into Two Arrays II 29.6% Hard 3073. Maximum Increasing Triplet Value 35.7% Med. 3074. Apple Redistribution into Boxes 68.5% Easy 3075. Maximize Happiness of Selected Children 54.9% Med. 3076. Shortest Uncommon Substring in an Array 48.8% Med. 3077. Maximum Strength of K Disjoint Subarrays 27.0% Hard 3078. Match Alphanumerical Pattern in Matrix I 64.2% Med. 3079. Find the Sum of Encrypted Integers 74.0% Easy 3080. Mark Elements on Array by Performing Queries 48.0% Med. 3081. Replace Question Marks in String to Minimize Its Value 28.2% Med. 3082. Find the Sum of the Power of All Subsequences 37.0% Hard 3083. Existence of a Substring in a String and Its Reverse 65.9% Easy 3084. Count Substrings Starting and Ending with Given Character 49.2% Med. 3085. Minimum Deletions to Make String K-Special 67.1% Med. 3086. Minimum Moves to Pick K Ones 20.7% Hard 3087. Find Trending Hashtags 61.2% Med. 3088. Make String Anti-palindrome 43.4% Hard 3089. Find Bursty Behavior 37.6% Med. 3090. Maximum Length Substring With Two Occurrences 64.1% Easy 3091. Apply Operations to Make Sum of Array Greater Than or Equal to k 43.6% Med. 3092. Most Frequent IDs 41.8% Med. 3093. Longest Common Suffix Queries 36.2% Hard 3094. Guess the Number Using Bitwise Questions II 82.9% Med. 3095. Shortest Subarray With OR at Least K I 43.2% Easy 3096. Minimum Levels to Gain More Points 39.4% Med. 3097. Shortest Subarray With OR at Least K II 50.2% Med. 3098. Find the Sum of Subsequence Powers 23.8% Hard 3099. Harshad Number 83.2% Easy 3100. Water Bottles II 62.4% Med. 3101. Count Alternating Subarrays 56.6% Med. 3102. Minimize Manhattan Distances 31.9% Hard 3103. Find Trending Hashtags II 67.3% Hard 3104. Find Longest Self-Contained Substring 58.4% Hard 3105. Longest Strictly Increasing or Strictly Decreasing Subarray 65.0% Easy 3106. Lexicographically Smallest String After Operations With Constraint 62.5% Med. 3107. Minimum Operations to Make Median of Array Equal to K 47.0% Med. 3108. Minimum Cost Walk in Weighted Graph 68.4% Hard 3109. Find the Index of Permutation 35.9% Med. 3110. Score of a String 91.7% Easy 3111. Minimum Rectangles to Cover Points 62.7% Med. 3112. Minimum Time to Visit Disappearing Nodes 36.2% Med. 3113. Find the Number of Subarrays Where Boundary Elements Are Maximum 31.5% Hard 3114. Latest Time You Can Obtain After Replacing Characters 34.6% Easy 3115. Maximum Prime Difference 57.7% Med. 3116. Kth Smallest Amount With Single Denomination Combination 18.8% Hard 3117. Minimum Sum of Values by Dividing Array 27.2% Hard 3118. Friday Purchase III 56.6% Med. 3119. Maximum Number of Potholes That Can Be Fixed 53.2% Med. 3120. Count the Number of Special Characters I 65.8% Easy 3121. Count the Number of Special Characters II 42.4% Med. 3122. Minimum Number of Operations to Satisfy Conditions 41.0% Med. 3123. Find Edges in Shortest Paths 45.8% Hard 3124. Find Longest Calls 63.6% Med. 3125. Maximum Number That Makes Result of Bitwise AND Zero 69.5% Med. 3126. Server Utilization Time 62.4% Med. 3127. Make a Square with the Same Color 52.2% Easy 3128. Right Triangles 47.5% Med. 3129. Find All Possible Stable Binary Arrays I 26.4% Med. 3130. Find All Possible Stable Binary Arrays II 26.3% Hard 3131. Find the Integer Added to Array I 82.3% Easy 3132. Find the Integer Added to Array II 32.2% Med. 3133. Minimum Array End 55.5% Med. 3134. Find the Median of the Uniqueness Array 28.9% Hard 3135. Equalize Strings by Adding or Removing Characters at Ends 55.8% Med. 3136. Valid Word 50.9% Easy 3137. Minimum Number of Operations to Make Word K-Periodic 60.0% Med. 3138. Minimum Length of Anagram Concatenation 39.8% Med. 3139. Minimum Cost to Equalize Array 17.8% Hard 3140. Consecutive Available Seats II 56.3% Med. 3141. Maximum Hamming Distances 47.3% Hard 3142. Check if Grid Satisfies Conditions 44.1% Easy 3143. Maximum Points Inside the Square 38.5% Med. 3144. Minimum Substring Partition of Equal Character Frequency 39.3% Med. 3145. Find Products of Elements of Big Array 22.2% Hard 3146. Permutation Difference between Two Strings 87.4% Easy 3147. Taking Maximum Energy From the Mystic Dungeon 41.4% Med. 3148. Maximum Difference Score in a Grid 47.0% Med. 3149. Find the Minimum Cost Array Permutation 24.1% Hard 3150. Invalid Tweets II 86.3% Easy 3151. Special Array I 81.6% Easy 3152. Special Array II 45.7% Med. 3153. Sum of Digit Differences of All Pairs 42.7% Med. 3154. Find Number of Ways to Reach the K-th Stair 36.6% Hard 3155. Maximum Number of Upgradable Servers 41.5% Med. 3156. Employee Task Duration and Concurrent Tasks 41.6% Hard 3157. Find the Level of Tree with Minimum Sum 68.8% Med. 3158. Find the XOR of Numbers Which Appear Twice 78.0% Easy 3159. Find Occurrences of an Element in an Array 72.9% Med. 3160. Find the Number of Distinct Colors Among the Balls 54.2% Med. 3161. Block Placement Queries 17.4% Hard 3162. Find the Number of Good Pairs I 85.9% Easy 3163. String Compression III 66.9% Med. 3164. Find the Number of Good Pairs II 26.2% Med. 3165. Maximum Sum of Subsequence With Non-adjacent Elements 14.9% Hard 3166. Calculate Parking Fees and Duration 52.7% Med. 3167. Better Compression of String 75.8% Med. 3168. Minimum Number of Chairs in a Waiting Room 78.6% Easy 3169. Count Days Without Meetings 47.9% Med. 3170. Lexicographically Minimum String After Removing Stars 50.9% Med. 3171. Find Subarray With Bitwise OR Closest to K 30.1% Hard 3172. Second Day Verification 67.6% Easy 3173. Bitwise OR of Adjacent Elements 95.1% Easy 3174. Clear Digits 82.6% Easy 3175. Find The First Player to win K Games in a Row 39.6% Med. 3176. Find the Maximum Length of a Good Subsequence I 31.8% Med. 3177. Find the Maximum Length of a Good Subsequence II 24.1% Hard 3178. Find the Child Who Has the Ball After K Seconds 61.7% Easy 3179. Find the N-th Value After K Seconds 53.6% Med. 3180. Maximum Total Reward Using Operations I 30.2% Med. 3181. Maximum Total Reward Using Operations II 20.8% Hard 3182. Find Top Scoring Students 49.2% Med. 3183. The Number of Ways to Make the Sum 50.9% Med. 3184. Count Pairs That Form a Complete Day I 77.7% Easy 3185. Count Pairs That Form a Complete Day II 43.2% Med. 3186. Maximum Total Damage With Spell Casting 28.1% Med. 3187. Peaks in Array 26.2% Hard 3188. Find Top Scoring Students II 39.8% Hard 3189. Minimum Moves to Get a Peaceful Board 75.9% Med. 3190. Find Minimum Operations to Make All Elements Divisible by Three 88.9% Easy 3191. Minimum Operations to Make Binary Array Elements Equal to One I 80.5% Med. 3192. Minimum Operations to Make Binary Array Elements Equal to One II 64.3% Med. 3193. Count the Number of Inversions 28.3% Hard 3194. Minimum Average of Smallest and Largest Elements 85.0% Easy 3195. Find the Minimum Area to Cover All Ones I 77.8% Med. 3196. Maximize Total Cost of Alternating Subarrays 29.0% Med. 3197. Find the Minimum Area to Cover All Ones II 63.8% Hard 3198. Find Cities in Each State 81.7% Easy 3199. Count Triplets with Even XOR Set Bits I 82.9% Easy 3200. Maximum Height of a Triangle 43.6% Easy 3201. Find the Maximum Length of Valid Subsequence I 54.8% Med. 3202. Find the Maximum Length of Valid Subsequence II 57.3% Med. 3203. Find Minimum Diameter After Merging Two Trees 57.2% Hard 3204. Bitwise User Permissions Analysis 94.0% Med. 3205. Maximum Array Hopping Score I 77.7% Med. 3206. Alternating Groups I 68.0% Easy 3207. Maximum Points After Enemy Battles 32.6% Med. 3208. Alternating Groups II 59.8% Med. 3209. Number of Subarrays With AND Value of K 34.2% Hard 3210. Find the Encrypted String 68.0% Easy 3211. Generate Binary Strings Without Adjacent Zeros 87.6% Med. 3212. Count Submatrices With Equal Frequency of X and Y 50.9% Med. 3213. Construct String with Minimum Cost 19.1% Hard 3214. Year on Year Growth Rate 51.1% Hard 3215. Count Triplets with Even XOR Set Bits II 59.5% Med. 3216. Lexicographically Smallest String After a Swap 53.9% Easy 3217. Delete Nodes From Linked List Present in Array 67.5% Med. 3218. Minimum Cost for Cutting Cake I 57.9% Med. 3219. Minimum Cost for Cutting Cake II 54.8% Hard 3220. Odd and Even Transactions 68.5% Med. 3221. Maximum Array Hopping Score II 58.0% Med. 3222. Find the Winning Player in Coin Game 52.1% Easy 3223. Minimum Length of String After Operations 75.0% Med. 3224. Minimum Array Changes to Make Differences Equal 23.5% Med. 3225. Maximum Score From Grid Operations 24.9% Hard 3226. Number of Bit Changes to Make Two Integers Equal 62.9% Easy 3227. Vowels Game in a String 62.6% Med. 3228. Maximum Number of Operations to Move Ones to the End 53.1% Med. 3229. Minimum Operations to Make Array Equal to Target 39.0% Hard 3230. Customer Purchasing Behavior Analysis 36.9% Med. 3231. Minimum Number of Increasing Subsequence to Be Removed 44.3% Hard 3232. Find if Digit Game Can Be Won 81.3% Easy 3233. Find the Count of Numbers Which Are Not Special 27.1% Med. 3234. Count the Number of Substrings With Dominant Ones 17.4% Med. 3235. Check if the Rectangle Corner Is Reachable 25.6% Hard 3236. CEO Subordinate Hierarchy 73.3% Hard 3237. Alt and Tab Simulation 49.5% Med. 3238. Find the Number of Winning Players 60.0% Easy 3239. Minimum Number of Flips to Make Binary Grid Palindromic I 74.4% Med. 3240. Minimum Number of Flips to Make Binary Grid Palindromic II 24.9% Med. 3241. Time Taken to Mark All Nodes 25.6% Hard 3242. Design Neighbor Sum Service 75.9% Easy 3243. Shortest Distance After Road Addition Queries I 61.8% Med. 3244. Shortest Distance After Road Addition Queries II 25.8% Hard 3245. Alternating Groups III 15.7% Hard 3246. Premier League Table Ranking 81.6% Easy 3247. Number of Subsequences with Odd Sum 46.9% Med. 3248. Snake in Matrix 81.8% Easy 3249. Count the Number of Good Nodes 54.8% Med. 3250. Find the Count of Monotonic Pairs I 46.8% Hard 3251. Find the Count of Monotonic Pairs II 23.3% Hard 3252. Premier League Table Ranking II 57.5% Med. 3253. Construct String with Minimum Cost (Easy) 59.1% Med. 3254. Find the Power of K-Size Subarrays I 62.4% Med. 3255. Find the Power of K-Size Subarrays II 30.7% Med. 3256. Maximum Value Sum by Placing Three Rooks I 15.4% Hard 3257. Maximum Value Sum by Placing Three Rooks II 26.5% Hard 3258. Count Substrings That Satisfy K-Constraint I 78.2% Easy 3259. Maximum Energy Boost From Two Drinks 49.5% Med. 3260. Find the Largest Palindrome Divisible by K 15.6% Hard 3261. Count Substrings That Satisfy K-Constraint II 22.0% Hard 3262. Find Overlapping Shifts 59.7% Med. 3263. Convert Doubly Linked List to Array I 94.7% Easy 3264. Final Array State After K Multiplication Operations I 87.0% Easy 3265. Count Almost Equal Pairs I 37.7% Med. 3266. Final Array State After K Multiplication Operations II 11.9% Hard 3267. Count Almost Equal Pairs II 26.7% Hard 3268. Find Overlapping Shifts II 59.4% Hard 3269. Constructing Two Increasing Arrays 61.1% Hard 3270. Find the Key of the Numbers 76.0% Easy 3271. Hash Divided String 83.0% Med. 3272. Find the Count of Good Integers 69.6% Hard 3273. Minimum Amount of Damage Dealt to Bob 38.5% Hard 3274. Check if Two Chessboard Squares Have the Same Color 72.0% Easy 3275. K-th Nearest Obstacle Queries 48.4% Med. 3276. Select Cells in Grid With Maximum Score 14.6% Hard 3277. Maximum XOR Score Subarray Queries 42.6% Hard 3278. Find Candidates for Data Scientist Position II 43.0% Med. 3279. Maximum Total Area Occupied by Pistons 52.6% Hard 3280. Convert Date to Binary 88.4% Easy 3281. Maximize Score of Numbers in Ranges 34.9% Med. 3282. Reach End of Array With Max Score 32.7% Med. 3283. Maximum Number of Moves to Kill All Pawns 32.6% Hard 3284. Sum of Consecutive Subarrays 42.2% Med. 3285. Find Indices of Stable Mountains 86.2% Easy 3286. Find a Safe Walk Through a Grid 31.2% Med. 3287. Find the Maximum Sequence Value of Array 19.3% Hard 3288. Length of the Longest Increasing Path 17.3% Hard 3289. The Two Sneaky Numbers of Digitville 88.4% Easy 3290. Maximum Multiplication Score 41.0% Med. 3291. Minimum Number of Valid Strings to Form Target I 20.4% Med. 3292. Minimum Number of Valid Strings to Form Target II 18.5% Hard 3293. Calculate Product Final Price 79.2% Med. 3294. Convert Doubly Linked List to Array II 81.3% Med. 3295. Report Spam Message 47.9% Med. 3296. Minimum Number of Seconds to Make Mountain Height Zero 36.2% Med. 3297. Count Substrings That Can Be Rearranged to Contain a String I 41.8% Med. 3298. Count Substrings That Can Be Rearranged to Contain a String II 55.5% Hard 3299. Sum of Consecutive Subsequences 41.3% Hard 3300. Minimum Element After Replacement With Digit Sum 83.9% Easy 3301. Maximize the Total Height of Unique Towers 36.7% Med. 3302. Find the Lexicographically Smallest Valid Sequence 20.7% Med. 3303. Find the Occurrence of First Almost Equal Substring 14.2% Hard 3304. Find the K-th Character in String Game I 81.8% Easy 3305. Count of Substrings Containing Every Vowel and K Consonants I 41.4% Med. 3306. Count of Substrings Containing Every Vowel and K Consonants II 40.6% Med. 3307. Find the K-th Character in String Game II 48.7% Hard 3308. Find Top Performing Driver 48.8% Med. 3309. Maximum Possible Number by Binary Concatenation 65.1% Med. 3310. Remove Methods From Project 49.6% Med. 3311. Construct 2D Grid Matching Graph Layout 28.3% Hard 3312. Sorted GCD Pair Queries 20.2% Hard 3313. Find the Last Marked Nodes in Tree 53.1% Hard 3314. Construct the Minimum Bitwise Array I 74.2% Easy 3315. Construct the Minimum Bitwise Array II 35.1% Med. 3316. Find Maximum Removals From Source String 38.4% Med. 3317. Find the Number of Possible Ways for an Event 33.7% Hard 3318. Find X-Sum of All K-Long Subarrays I 63.8% Easy 3319. K-th Largest Perfect Subtree Size in Binary Tree 61.2% Med. 3320. Count The Number of Winning Sequences 31.4% Hard 3321. Find X-Sum of All K-Long Subarrays II 16.3% Hard 3322. Premier League Table Ranking III 70.0% Med. 3323. Minimize Connected Groups by Inserting Interval 50.4% Med. 3324. Find the Sequence of Strings Appeared on the Screen 79.6% Med. 3325. Count Substrings With K-Frequency Characters I 54.8% Med. 3326. Minimum Division Operations to Make Array Non Decreasing 28.7% Med. 3327. Check if DFS Strings Are Palindromes 18.3% Hard 3328. Find Cities in Each State II 68.4% Med. 3329. Count Substrings With K-Frequency Characters II 69.1% Hard 3330. Find the Original Typed String I 72.0% Easy 3331. Find Subtree Sizes After Changes 54.1% Med. 3332. Maximum Points Tourist Can Earn 46.7% Med. 3333. Find the Original Typed String II 46.0% Hard 3334. Find the Maximum Factor Score of Array 40.6% Med. 3335. Total Characters in String After Transformations I 45.8% Med. 3336. Find the Number of Subsequences With Equal GCD 29.3% Hard 3337. Total Characters in String After Transformations II 58.2% Hard 3338. Second Highest Salary II 87.3% Med. 3339. Find the Number of K-Even Arrays 58.4% Med. 3340. Check Balanced String 81.3% Easy 3341. Find Minimum Time to Reach Last Room I 55.6% Med. 3342. Find Minimum Time to Reach Last Room II 68.3% Med. 3343. Count Number of Balanced Permutations 49.3% Hard 3344. Maximum Sized Array 51.4% Med. 3345. Smallest Divisible Digit Product I 63.9% Easy 3346. Maximum Frequency of an Element After Performing Operations I 21.3% Med. 3347. Maximum Frequency of an Element After Performing Operations II 37.1% Hard 3348. Smallest Divisible Digit Product II 11.2% Hard 3349. Adjacent Increasing Subarrays Detection I 42.9% Easy 3350. Adjacent Increasing Subarrays Detection II 41.3% Med. 3351. Sum of Good Subsequences 30.1% Hard 3352. Count K-Reducible Numbers Less Than N 25.7% Hard 3353. Minimum Total Operations 62.9% Easy 3354. Make Array Elements Equal to Zero 55.7% Easy 3355. Zero Array Transformation I 54.4% Med. 3356. Zero Array Transformation II 43.6% Med. 3357. Minimize the Maximum Adjacent Element Difference 16.4% Hard 3358. Books with NULL Ratings 85.5% Easy 3359. Find Sorted Submatrices With Maximum Element at Most K 49.6% Hard 3360. Stone Removal Game 41.8% Easy 3361. Shift Distance Between Two Strings 52.9% Med. 3362. Zero Array Transformation III 55.1% Med. 3363. Find the Maximum Number of Fruits Collected 65.4% Hard 3364. Minimum Positive Sum Subarray 44.5% Easy 3365. Rearrange K Substrings to Form Target String 56.3% Med. 3366. Minimum Array Sum 29.9% Med. 3367. Maximize Sum of Weights after Edge Removals 29.1% Hard 3368. First Letter Capitalization 86.6% Hard 3369. Design an Array Statistics Tracker 34.5% Hard 3370. Smallest Number With All Set Bits 75.9% Easy 3371. Identify the Largest Outlier in an Array 35.9% Med. 3372. Maximize the Number of Target Nodes After Connecting Trees I 69.6% Med. 3373. Maximize the Number of Target Nodes After Connecting Trees II 73.1% Hard 3374. First Letter Capitalization II 68.6% Hard 3375. Minimum Operations to Make Array Values Equal to K 73.4% Easy 3376. Minimum Time to Break Locks I 30.9% Med. 3377. Digit Operations to Make Two Integers Equal 28.2% Med. 3378. Count Connected Components in LCM Graph 29.2% Hard 3379. Transformed Array 56.7% Easy 3380. Maximum Area Rectangle With Point Constraints I 50.2% Med. 3381. Maximum Subarray Sum With Length Divisible by K 27.4% Med. 3382. Maximum Area Rectangle With Point Constraints II 20.3% Hard 3383. Minimum Runes to Add to Cast Spell 42.6% Hard 3384. Team Dominance by Pass Success 74.8% Hard 3385. Minimum Time to Break Locks II 43.2% Hard 3386. Button with Longest Push Time 40.7% Easy 3387. Maximize Amount After Two Days of Conversions 59.6% Med. 3388. Count Beautiful Splits in an Array 16.2% Med. 3389. Minimum Operations to Make Character Frequencies Equal 25.2% Hard 3390. Longest Team Pass Streak 41.3% Hard 3391. Design a 3D Binary Matrix with Efficient Layer Tracking 68.4% Med. 3392. Count Subarrays of Length Three With a Condition 61.8% Easy 3393. Count Paths With the Given XOR Value 39.9% Med. 3394. Check if Grid can be Cut into Sections 68.3% Med. 3395. Subsequences with a Unique Middle Mode I 17.9% Hard 3396. Minimum Number of Operations to Make Elements in Array Distinct 71.5% Easy 3397. Maximum Number of Distinct Elements After Operations 31.4% Med. 3398. Smallest Substring With Identical Characters I 19.5% Hard 3399. Smallest Substring With Identical Characters II 39.9% Hard 3400. Maximum Number of Matching Indices After Right Shifts 83.6% Med. 3401. Find Circular Gift Exchange Chains 54.1% Hard 3402. Minimum Operations to Make Columns Strictly Increasing 72.1% Easy 3403. Find the Lexicographically Largest String From the Box I 41.0% Med. 3404. Count Special Subsequences 29.1% Med. 3405. Count the Number of Arrays with K Matching Adjacent Elements 58.4% Hard 3406. Find the Lexicographically Largest String From the Box II 47.7% Hard 3407. Substring Matching Pattern 27.4% Easy 3408. Design Task Manager 34.4% Med. 3409. Longest Subsequence With Decreasing Adjacent Difference 15.0% Med. 3410. Maximize Subarray Sum After Removing All Occurrences of One Element 20.4% Hard 3411. Maximum Subarray With Equal Products 45.5% Easy 3412. Find Mirror Score of a String 34.4% Med. 3413. Maximum Coins From K Consecutive Bags 23.7% Med. 3414. Maximum Score of Non-overlapping Intervals 30.4% Hard 3415. Find Products with Three Consecutive Digits 81.9% Easy 3416. Subsequences with a Unique Middle Mode II 45.4% Hard 3417. Zigzag Grid Traversal With Skip 63.9% Easy 3418. Maximum Amount of Money Robot Can Earn 28.9% Med. 3419. Minimize the Maximum Edge Weight of Graph 43.1% Med. 3420. Count Non-Decreasing Subarrays After K Operations 21.8% Hard 3421. Find Students Who Improved 47.0% Med. 3422. Minimum Operations to Make Subarray Elements Equal 46.1% Med. 3423. Maximum Difference Between Adjacent Elements in a Circular Array 75.9% Easy 3424. Minimum Cost to Make Arrays Identical 37.0% Med. 3425. Longest Special Path 20.4% Hard 3426. Manhattan Distances of All Arrangements of Pieces 33.4% Hard 3427. Sum of Variable Length Subarrays 85.3% Easy 3428. Maximum and Minimum Sums of at Most Size K Subsequences 20.6% Med. 3429. Paint House IV 44.1% Med. 3430. Maximum and Minimum Sums of at Most Size K Subarrays 22.6% Hard 3431. Minimum Unlocked Indices to Sort Nums 59.9% Med. 3432. Count Partitions with Even Sum Difference 73.5% Easy 3433. Count Mentions Per User 30.2% Med. 3434. Maximum Frequency After Subarray Operation 29.2% Med. 3435. Frequencies of Shortest Supersequences 16.6% Hard 3436. Find Valid Emails 50.6% Easy 3437. Permutations III 86.4% Med. 3438. Find Valid Pair of Adjacent Digits in String 59.9% Easy 3439. Reschedule Meetings for Maximum Free Time I 53.9% Med. 3440. Reschedule Meetings for Maximum Free Time II 60.5% Med. 3441. Minimum Cost Good Caption 19.4% Hard 3442. Maximum Difference Between Even and Odd Frequency I 61.1% Easy 3443. Maximum Manhattan Distance After K Changes 54.1% Med. 3444. Minimum Increments for Target Multiples in an Array 25.8% Hard 3445. Maximum Difference Between Even and Odd Frequency II 49.0% Hard 3446. Sort Matrix by Diagonals 70.9% Med. 3447. Assign Elements to Groups with Constraints 26.1% Med. 3448. Count Substrings Divisible By Last Digit 21.3% Hard 3449. Maximize the Minimum Game Score 25.0% Hard 3450. Maximum Students on a Single Bench 87.0% Easy 3451. Find Invalid IP Addresses 53.8% Hard 3452. Sum of Good Numbers 69.3% Easy 3453. Separate Squares I 38.8% Med. 3454. Separate Squares II 19.9% Hard 3455. Shortest Matching Substring 22.3% Hard 3456. Find Special Substring of Length K 35.1% Easy 3457. Eat Pizzas! 32.4% Med. 3458. Select K Disjoint Special Substrings 18.1% Med. 3459. Length of Longest V-Shaped Diagonal Segment 34.2% Hard 3460. Longest Common Prefix After at Most One Removal 67.8% Med. 3461. Check If Digits Are Equal in String After Operations I 77.6% Easy 3462. Maximum Sum With at Most K Elements 60.0% Med. 3463. Check If Digits Are Equal in String After Operations II 11.2% Hard 3464. Maximize the Distance Between Points on a Square 19.6% Hard 3465. Find Products with Valid Serial Numbers 40.0% Easy 3466. Maximum Coin Collection 53.0% Med. 3467. Transform Array by Parity 89.6% Easy 3468. Find the Number of Copy Arrays 46.1% Med. 3469. Find Minimum Cost to Remove Array Elements 19.8% Med. 3470. Permutations IV 28.5% Hard 3471. Find the Largest Almost Missing Integer 36.8% Easy 3472. Longest Palindromic Subsequence After at Most K Operations 36.7% Med. 3473. Sum of K Subarrays With Length at Least M 25.1% Med. 3474. Lexicographically Smallest Generated String 30.2% Hard 3475. DNA Pattern Recognition 85.2% Med. 3476. Maximize Profit from Task Assignment 67.0% Med. 3477. Fruits Into Baskets II 70.3% Easy 3478. Choose K Elements With Maximum Sum 32.0% Med. 3479. Fruits Into Baskets III 38.9% Med. 3480. Maximize Subarrays After Removing One Conflicting Pair 65.5% Hard 3481. Apply Substitutions 77.6% Med. 3482. Analyze Organization Hierarchy 58.9% Hard 3483. Unique 3-Digit Even Numbers 67.9% Easy 3484. Design Spreadsheet 67.3% Med. 3485. Longest Common Prefix of K Strings After Removal 20.7% Hard 3486. Longest Special Path II 16.4% Hard 3487. Maximum Unique Subarray Sum After Deletion 40.3% Easy 3488. Closest Equal Element Queries 31.8% Med. 3489. Zero Array Transformation IV 30.0% Med. 3490. Count Beautiful Numbers 21.4% Hard 3491. Phone Number Prefix 71.8% Easy 3492. Maximum Containers on a Ship 74.7% Easy 3493. Properties Graph 47.2% Med. 3494. Find the Minimum Amount of Time to Brew Potions 35.8% Med. 3495. Minimum Operations to Make Array Elements Zero 32.2% Hard 3496. Maximize Score After Pair Deletions 54.8% Med. 3497. Analyze Subscription Conversion 74.9% Med. 3498. Reverse Degree of a String 87.6% Easy 3499. Maximize Active Section with Trade I 30.3% Med. 3500. Minimum Cost to Divide Array Into Subarrays 23.7% Hard 3501. Maximize Active Section with Trade II 19.3% Hard 3502. Minimum Cost to Reach Every Position 82.4% Easy 3503. Longest Palindrome After Substring Concatenation I 43.4% Med. 3504. Longest Palindrome After Substring Concatenation II 16.2% Hard 3505. Minimum Operations to Make Elements Within K Subarrays Equal 27.3% Hard 3506. Find Time Required to Eliminate Bacterial Strains 57.7% Hard 3507. Minimum Pair Removal to Sort Array I 55.7% Easy 3508. Implement Router 22.3% Med. 3509. Maximum Product of Subsequences With an Alternating Sum Equal to K 11.4% Hard 3510. Minimum Pair Removal to Sort Array II 14.1% Hard 3511. Make a Positive Array 36.5% Med. 3512. Minimum Operations to Make Array Sum Divisible by K 87.6% Easy 3513. Number of Unique XOR Triplets I 25.4% Med. 3514. Number of Unique XOR Triplets II 29.8% Med. 3515. Shortest Path in a Weighted Tree 33.1% Hard 3516. Find Closest Person 83.3% Easy 3517. Smallest Palindromic Rearrangement I 63.0% Med. 3518. Smallest Palindromic Rearrangement II 12.5% Hard 3519. Count Numbers with Non-Decreasing Digits 34.8% Hard 3520. Minimum Threshold for Inversion Pairs Count 54.2% Med. 3521. Find Product Recommendation Pairs 62.7% Med. 3522. Calculate Score After Performing Instructions 56.0% Med. 3523. Make Array Non-decreasing 55.5% Med. 3524. Find X Value of Array I 33.8% Med. 3525. Find X Value of Array II 27.8% Hard 3526. Range XOR Queries with Subarray Reversals 62.2% Hard 3527. Find the Most Common Response 75.0% Med. 3528. Unit Conversion I 55.7% Med. 3529. Count Cells in Overlapping Horizontal and Vertical Substrings 23.3% Med. 3530. Maximum Profit from Valid Topological Order in DAG 27.6% Hard 3531. Count Covered Buildings 37.9% Med. 3532. Path Existence Queries in a Graph I 54.9% Med. 3533. Concatenated Divisibility 26.4% Hard 3534. Path Existence Queries in a Graph II 23.1% Hard 3535. Unit Conversion II 67.7% Med. 3536. Maximum Product of Two Digits 69.5% Easy 3537. Fill a Special Grid 70.1% Med. 3538. Merge Operations for Minimum Travel Time 27.8% Hard 3539. Find Sum of Array Product of Magical Sequences 23.3% Hard 3540. Minimum Time to Visit All Houses 67.3% Med. 3541. Find Most Frequent Vowel and Consonant 87.7% Easy 3542. Minimum Operations to Convert All Elements to Zero 24.6% Med. 3543. Maximum Weighted K-Edge Path 18.8% Med. 3544. Subtree Inversion Sum 41.4% Hard 3545. Minimum Deletions for At Most K Distinct Characters 72.6% Easy 3546. Equal Sum Grid Partition I 42.1% Med. 3547. Maximum Sum of Edge Values in a Graph 33.9% Hard 3548. Equal Sum Grid Partition II 19.3% Hard 3549. Multiply Two Polynomials 63.3% Hard 3550. Smallest Index With Digit Sum Equal to Index 80.0% Easy 3551. Minimum Swaps to Sort by Digit Sum 50.7% Med. 3552. Grid Teleportation Traversal 22.0% Med. 3553. Minimum Weighted Subgraph With the Required Paths II 49.1% Hard 3554. Find Category Recommendation Pairs 65.5% Hard 3555. Smallest Subarray to Sort in Every Sliding Window 62.3% Med. 3556. Sum of Largest Prime Substrings 37.3% Med. 3557. Find Maximum Number of Non Intersecting Substrings 29.2% Med. 3558. Number of Ways to Assign Edge Weights I 53.7% Med. 3559. Number of Ways to Assign Edge Weights II 60.4% Hard 3560. Find Minimum Log Transportation Cost 41.5% Easy 3561. Resulting String After Adjacent Removals 55.5% Med. 3562. Maximum Profit from Trading Stocks with Discounts 20.4% Hard 3563. Lexicographically Smallest String After Adjacent Removals 15.1% Hard 3564. Seasonal Sales Analysis 61.8% Med. 3565. Sequential Grid Path Cover 65.4% Med. 3566. Partition Array into Two Equal Product Subsets 34.9% Med. 3567. Minimum Absolute Difference in Sliding Submatrix 68.8% Med. 3568. Minimum Moves to Clean the Classroom 25.6% Med. 3569. Maximize Count of Distinct Primes After Split 14.9% Hard 3570. Find Books with No Available Copies 54.5% Easy 3571. Find the Shortest Superstring II 51.1% Easy 3572. Maximize Y‑Sum by Picking a Triplet of Distinct X‑Values 62.5% Med. 3573. Best Time to Buy and Sell Stock V 40.2% Med. 3574. Maximize Subarray GCD Score 22.4% Hard 3575. Maximum Good Subtree Score 44.2% Hard 3576. Transform Array to All Equal Elements 32.3% Med. 3577. Count the Number of Computer Unlocking Permutations 38.8% Med. 3578. Count Partitions With Max-Min Difference at Most K 37.1% Med. 3579. Minimum Steps to Convert String with Operations 40.7% Hard 3580. Find Consistently Improving Employees 57.3% Med. 3581. Count Odd Letters from Number 85.0% Easy 3582. Generate Tag for Video Caption 31.7% Easy 3583. Count Special Triplets 36.9% Med. 3584. Maximum Product of First and Last Elements of a Subsequence 30.3% Med. 3585. Find Weighted Median Node in Tree 23.3% Hard 3586. Find COVID Recovery Patients 40.4% Med. 3587. Minimum Adjacent Swaps to Alternate Parity 41.7% Med. 3588. Find Maximum Area of a Triangle 27.8% Med. 3589. Count Prime-Gap Balanced Subarrays 19.1% Med. 3590. Kth Smallest Path XOR Sum 27.7% Hard 3591. Check if Any Element Has Prime Frequency 62.5% Easy 3592. Inverse Coin Change 49.7% Med. 3593. Minimum Increments to Equalize Leaf Paths 40.7% Med. 3594. Minimum Time to Transport All Individuals 25.7% Hard 3595. Once Twice 77.5% Med. 3596. Minimum Cost Path with Alternating Directions I 69.1% Med. 3597. Partition String 57.4% Med. 3598. Longest Common Prefix Between Adjacent Strings After Removals 31.5% Med. 3599. Partition Array to Minimize XOR 40.0% Med. 3600. Maximize Spanning Tree Stability with Upgrades 38.2% Hard 3601. Find Drivers with Improved Fuel Efficiency 48.7% Med. 3602. Hexadecimal and Hexatrigesimal Conversion 79.9% Easy 3603. Minimum Cost Path with Alternating Directions II 44.0% Med. 3604. Minimum Time to Reach Destination in Directed Graph 45.7% Med. 3605. Minimum Stability Factor of Array 17.8% Hard 3606. Coupon Code Validator 53.8% Easy 3607. Power Grid Maintenance 44.2% Med. 3608. Minimum Time for K Connected Components 44.2% Med. 3609. Minimum Moves to Reach Target in Grid 13.6% Hard 3610. Minimum Number of Primes to Sum to Target 59.4% Med. 3611. Find Overbooked Employees 42.9% Med. 3612. Process String with Special Operations I 64.8% Med. 3613. Minimize Maximum Component Cost 42.9% Med. 3614. Process String with Special Operations II 15.8% Hard 3615. Longest Palindromic Path in Graph 17.4% Hard 3616. Number of Student Replacements 86.3% Med. 3617. Find Students with Study Spiral Pattern 30.0% Hard 3618. Split Array by Prime Indices 48.9% Med. 3619. Count Islands With Total Value Divisible by K 55.5% Med. 3620. Network Recovery Pathways 30.1% Hard 3621. Number of Integers With Popcount-Depth Equal to K I 19.9% Hard 3622. Check Divisibility by Digit Sum and Product 64.1% Easy 3623. Count Number of Trapezoids I 29.8% Med. 3624. Number of Integers With Popcount-Depth Equal to K II 37.8% Hard 3625. Count Number of Trapezoids II 12.4% Hard 3626. Find Stores with Inventory Imbalance 51.7% Med. 3627. Maximum Median Sum of Subsequences of Size 3 59.8% Med. 3628. Maximum Number of Subsequences After One Inserting 24.3% Med. 3629. Minimum Jumps to Reach End via Prime Teleportation 18.1% Med. 3630. Partition Array for Maximum XOR and AND 11.5% Hard 3631. Sort Threats by Severity and Exploitability 72.1% Med. 3632. Subarrays with XOR at Least K 41.9% Hard 3633. Earliest Finish Time for Land and Water Rides I 61.0% Easy 3634. Minimum Removals to Balance Array 37.7% Med. 3635. Earliest Finish Time for Land and Water Rides II 32.6% Med. 3636. Threshold Majority Queries 19.7% Hard 3637. Trionic Array I 39.4% Easy 3638. Maximum Balanced Shipments 54.7% Med. 3639. Minimum Time to Activate String 33.6% Med. 3640. Trionic Array II 20.2% Hard 3641. Longest Semi-Repeating Subarray 71.5% Med. 3642. Find Books with Polarized Opinions 47.0% Easy 3643. Flip Square Submatrix Vertically 65.9% Easy 3644. Maximum K to Sort a Permutation 32.5% Med. 3645. Maximum Total from Optimal Activation Order 37.0% Med. 3646. Next Special Palindrome Number 25.7% Hard 3647. Maximum Weight in Two Bags 69.0% Med. 3648. Minimum Sensors to Cover Grid 68.5% Med. 3649. Number of Perfect Pairs 30.1% Med. 3650. Minimum Cost Path with Edge Reversals 45.6% Med. 3651. Minimum Cost Path with Teleportations 17.3% Hard 3652. Best Time to Buy and Sell Stock using Strategy 37.2% Med. 3653. XOR After Range Multiplication Queries I 61.0% Med. 3654. Minimum Sum After Divisible Sum Deletions 26.8% Med. 3655. XOR After Range Multiplication Queries II 20.6% Hard 3656. Determine if a Simple Graph Exists 57.8% Med. 3657. Find Loyal Customers 66.4% Med. 3658. GCD of Odd and Even Sums 79.6% Easy 3659. Partition Array Into K-Distinct Groups 39.8% Med. 3660. Jump Game IX 16.3% Med. 3661. Maximum Walls Destroyed by Robots 22.4% Hard 3662. Filter Characters by Frequency 93.8% Easy