Coding problems
1000 problems from easy to hard, each with a full statement, constraints and a worked example. Every problem can be used in a RelayTrixCode team match.
- 1. Add Two Numbers (Easy)
- 2. Two Sum (Easy)
- 3. Reverse Array (Easy)
- 4. Palindrome Check (Easy)
- 5. Maximum Subarray (Medium)
- 6. Valid Parentheses (Easy)
- 7. Factorial of a Number (Easy)
- 8. Prime Number Check (Easy)
- 9. Nth Fibonacci Number (Easy)
- 10. Greatest Common Divisor (Easy)
- 11. Second Largest Distinct Element (Easy)
- 12. Remove Duplicates from Sorted Array (Easy)
- 13. Binary Search (Easy)
- 14. Merge Two Sorted Arrays (Easy)
- 15. Move Zeroes (Easy)
- 16. Product of Array Except Self (Medium)
- 17. Valid Anagram (Easy)
- 18. First Non-Repeating Character (Easy)
- 19. Longest Common Prefix (Easy)
- 20. Climbing Stairs (Easy)
- 21. Sum of Array (Easy)
- 22. Minimum and Maximum (Easy)
- 23. Rotate Array Right (Easy)
- 24. Running Sum (Easy)
- 25. Missing Number (Easy)
- 26. Find the Duplicate Number (Medium)
- 27. Majority Element (Easy)
- 28. Best Time to Buy and Sell Stock (Easy)
- 29. Best Time to Buy and Sell Stock II (Medium)
- 30. Container With Most Water (Medium)
- 31. Trapping Rain Water (Hard)
- 32. Maximum Product Subarray (Medium)
- 33. Longest Consecutive Sequence (Medium)
- 34. Subarray Sum Equals K (Medium)
- 35. Sort Colors (Medium)
- 36. Spiral Matrix (Medium)
- 37. Rotate Matrix (Medium)
- 38. Transpose Matrix (Easy)
- 39. Leaders in an Array (Easy)
- 40. Pivot Index (Easy)
- 41. Maximum Sum Circular Subarray (Medium)
- 42. First Missing Positive (Hard)
- 43. Merge Intervals (Medium)
- 44. Count Inversions (Hard)
- 45. Minimum Size Subarray Sum (Medium)
- 46. Reverse a String (Easy)
- 47. Count Vowels and Consonants (Easy)
- 48. Reverse Words in a Sentence (Easy)
- 49. Toggle Case (Easy)
- 50. Character Frequency (Easy)
- 51. Isomorphic Strings (Easy)
- 52. Ransom Note (Easy)
- 53. Length of Last Word (Easy)
- 54. Run-Length Encoding (Easy)
- 55. Valid Palindrome II (Medium)
- 56. Longest Substring Without Repeating Characters (Medium)
- 57. Longest Palindromic Substring (Medium)
- 58. Group Anagrams Count (Medium)
- 59. Minimum Window Substring (Hard)
- 60. Find All Anagrams in a String (Medium)
- 61. Count Palindromic Substrings (Medium)
- 62. Roman to Integer (Easy)
- 63. Integer to Roman (Medium)
- 64. Zigzag Conversion (Medium)
- 65. Longest Repeating Character Replacement (Medium)
- 66. Pangram Check (Easy)
- 67. Repeated Substring Pattern (Easy)
- 68. Find First Occurrence (Easy)
- 69. Decode String (Medium)
- 70. Word Pattern (Easy)
- 71. Least Common Multiple (Easy)
- 72. Sum of Digits (Easy)
- 73. Reverse Integer (Easy)
- 74. Armstrong Number (Easy)
- 75. Perfect Number (Easy)
- 76. Count Primes (Medium)
- 77. Prime Factorization (Easy)
- 78. Modular Exponentiation (Medium)
- 79. Pascal's Triangle Row (Easy)
- 80. Factorial Trailing Zeroes (Medium)
- 81. Palindrome Number (Easy)
- 82. Count Set Bits (Easy)
- 83. Single Number (Easy)
- 84. Power of Two (Easy)
- 85. Number of Divisors (Easy)
- 86. Excel Column Number (Easy)
- 87. Excel Column Title (Easy)
- 88. Binomial Coefficient Modulo (Medium)
- 89. Happy Number (Easy)
- 90. Integer Square Root (Easy)
- 91. Search Insert Position (Easy)
- 92. First and Last Position of Element (Medium)
- 93. Search in Rotated Sorted Array (Medium)
- 94. Minimum in Rotated Sorted Array (Medium)
- 95. Peak of a Mountain Array (Medium)
- 96. Kth Largest Element (Medium)
- 97. Top K Frequent Elements (Medium)
- 98. Squares of a Sorted Array (Easy)
- 99. Three Sum Count (Medium)
- 100. Pair With Given Difference (Easy)
- 101. Intersection of Two Arrays (Easy)
- 102. Contains Duplicate (Easy)
- 103. Contains Nearby Duplicate (Easy)
- 104. Median of Two Sorted Arrays (Hard)
- 105. Koko Eating Bananas (Medium)
- 106. Capacity To Ship Packages (Medium)
- 107. Meeting Rooms (Easy)
- 108. Minimum Meeting Rooms (Medium)
- 109. Kth Smallest in a Sorted Matrix (Medium)
- 110. Count Smaller Numbers After Self (Hard)
- 111. Reverse Linked List (Easy)
- 112. Middle of the Linked List (Easy)
- 113. Remove Nth Node From End (Medium)
- 114. Merge Two Sorted Lists (Easy)
- 115. Remove Linked List Elements (Easy)
- 116. Partition List (Medium)
- 117. Palindrome Linked List (Easy)
- 118. Remove Duplicates from Sorted List (Easy)
- 119. Remove All Duplicates from Sorted List (Medium)
- 120. Rotate List (Medium)
- 121. Add Two Numbers as Lists (Medium)
- 122. Swap Nodes in Pairs (Medium)
- 123. Reverse Nodes in K-Group (Hard)
- 124. Merge K Sorted Lists (Hard)
- 125. Reorder List (Medium)
- 126. Next Greater Element (Medium)
- 127. Daily Temperatures (Medium)
- 128. Evaluate Reverse Polish Notation (Medium)
- 129. Min Stack (Medium)
- 130. Largest Rectangle in Histogram (Hard)
- 131. Minimum Add to Make Parentheses Valid (Medium)
- 132. Longest Valid Parentheses (Hard)
- 133. Simplify Path (Medium)
- 134. Sliding Window Maximum (Hard)
- 135. Last Stone Weight (Easy)
- 136. Task Scheduler (Medium)
- 137. Jump Game (Medium)
- 138. Jump Game II (Medium)
- 139. Gas Station (Medium)
- 140. Remove K Digits (Medium)
- 141. Maximum Depth of Binary Tree (Easy)
- 142. Binary Tree Inorder Traversal (Easy)
- 143. Binary Tree Preorder Traversal (Easy)
- 144. Binary Tree Postorder Traversal (Easy)
- 145. Binary Tree Level Order Traversal (Medium)
- 146. Invert Binary Tree (Easy)
- 147. Same Tree (Easy)
- 148. Symmetric Tree (Easy)
- 149. Diameter of Binary Tree (Easy)
- 150. Balanced Binary Tree (Easy)
- 151. Path Sum (Easy)
- 152. Validate Binary Search Tree (Medium)
- 153. Lowest Common Ancestor of a BST (Medium)
- 154. Kth Smallest Element in a BST (Medium)
- 155. Binary Tree Right Side View (Medium)
- 156. Binary Tree Zigzag Level Order (Medium)
- 157. Count Good Nodes in Binary Tree (Medium)
- 158. Binary Tree Maximum Path Sum (Hard)
- 159. Lowest Common Ancestor of a Binary Tree (Medium)
- 160. Construct Tree from Preorder and Inorder (Medium)
- 161. Connected Components (Medium)
- 162. Number of Islands (Medium)
- 163. Shortest Path in an Unweighted Graph (Easy)
- 164. Dijkstra Shortest Distances (Medium)
- 165. Detect Cycle in an Undirected Graph (Medium)
- 166. Is Graph Bipartite (Medium)
- 167. Smallest Topological Order (Medium)
- 168. Course Schedule (Medium)
- 169. Minimum Spanning Tree (Medium)
- 170. Flood Fill (Easy)
- 171. Rotting Oranges (Medium)
- 172. Shortest Path in Binary Matrix (Medium)
- 173. Find the Town Judge (Easy)
- 174. Find Center of Star Graph (Easy)
- 175. Path Exists in Graph (Easy)
- 176. Shortest Path with Negative Weights (Hard)
- 177. All Pairs Shortest Distance Queries (Medium)
- 178. Word Ladder (Hard)
- 179. Max Area of Island (Medium)
- 180. Tree Diameter (Medium)
- 181. House Robber (Medium)
- 182. House Robber II (Medium)
- 183. Coin Change (Medium)
- 184. Coin Change Ways (Medium)
- 185. Longest Increasing Subsequence (Medium)
- 186. Longest Common Subsequence (Medium)
- 187. Edit Distance (Hard)
- 188. 0/1 Knapsack (Medium)
- 189. Unique Paths (Medium)
- 190. Unique Paths with Obstacles (Medium)
- 191. Minimum Path Sum (Medium)
- 192. Word Break (Medium)
- 193. Partition Equal Subset Sum (Medium)
- 194. Decode Ways (Medium)
- 195. Min Cost Climbing Stairs (Easy)
- 196. Longest Palindromic Subsequence (Medium)
- 197. Maximal Square (Medium)
- 198. Burst Balloons (Hard)
- 199. Regular Expression Matching (Hard)
- 200. Triangle Minimum Path (Medium)
- 201. Second Smallest Element (Easy)
- 202. Count Distinct Elements (Easy)
- 203. Rank Transform of an Array (Easy)
- 204. Find All Duplicates (Easy)
- 205. Maximum Sum Subarray of Size K (Easy)
- 206. Longest Subarray with Sum K (Medium)
- 207. Subarrays Divisible by K (Medium)
- 208. Next Permutation (Medium)
- 209. Kth Missing Positive Number (Easy)
- 210. Longest Mountain in Array (Medium)
- 211. Maximum Gap (Medium)
- 212. Range Sum Queries (Easy)
- 213. Matrix Region Sum Queries (Medium)
- 214. Range Increment Updates (Medium)
- 215. Shortest Subarray with Sum at Least K (Hard)
- 216. Count Words (Easy)
- 217. Capitalize Each Word (Easy)
- 218. Check String Rotation (Easy)
- 219. Longest Word in a Sentence (Easy)
- 220. Substrings with K Distinct Characters (Medium)
- 221. Minimum Deletions for Unique Frequencies (Medium)
- 222. Longest Common Substring (Medium)
- 223. Shortest Palindrome (Hard)
- 224. Count Pattern Occurrences (Medium)
- 225. Expand Run-Length Encoding (Easy)
- 226. Multiply Strings (Medium)
- 227. Add Binary (Easy)
- 228. Remove Duplicate Letters (Medium)
- 229. Longest Happy Prefix (Hard)
- 230. Sum of First N Natural Numbers (Easy)
- 231. Digital Root (Easy)
- 232. Collatz Steps (Easy)
- 233. GCD of an Array (Easy)
- 234. Fibonacci Modulo for Huge N (Hard)
- 235. Sum of Divisors (Easy)
- 236. Euler's Totient Function (Medium)
- 237. Count Digit One (Hard)
- 238. Convert to Base B (Easy)
- 239. Nth Ugly Number (Medium)
- 240. Modular Inverse (Medium)
- 241. Count Primes in a Range (Hard)
- 242. Hamming Distance (Easy)
- 243. Assign Cookies (Easy)
- 244. Lemonade Change (Easy)
- 245. Maximum Non-Overlapping Meetings (Medium)
- 246. Minimum Arrows to Burst Balloons (Medium)
- 247. Boats to Save People (Medium)
- 248. Candy Distribution (Hard)
- 249. Partition Labels (Medium)
- 250. Minimum Number of Notes (Easy)
- 251. Job Sequencing with Deadlines (Medium)
- 252. Minimum Cost to Connect Ropes (Medium)
- 253. Two City Scheduling (Medium)
- 254. Largest Number (Medium)
- 255. Count Nodes in a Binary Tree (Easy)
- 256. Sum of Left Leaves (Easy)
- 257. Minimum Depth of Binary Tree (Easy)
- 258. Sum of Root-to-Leaf Numbers (Medium)
- 259. Vertical Order Traversal (Medium)
- 260. Top View of Binary Tree (Medium)
- 261. Bottom View of Binary Tree (Medium)
- 262. Maximum Width of Binary Tree (Medium)
- 263. Sorted Array to Balanced BST (Easy)
- 264. Path Sum II (Medium)
- 265. Delete Node in a BST (Medium)
- 266. Cousins in Binary Tree (Easy)
- 267. Range Sum of BST (Easy)
- 268. Node With Maximum Degree (Easy)
- 269. Network Delay Time (Medium)
- 270. Cheapest Flights Within K Stops (Medium)
- 271. Strongly Connected Components (Hard)
- 272. Count Bridges (Hard)
- 273. Count Articulation Points (Hard)
- 274. Path With Minimum Effort (Medium)
- 275. Distance to Nearest Zero (Medium)
- 276. Surrounded Regions (Medium)
- 277. Pacific Atlantic Water Flow (Medium)
- 278. Knight Minimum Moves (Medium)
- 279. Count Shortest Paths (Hard)
- 280. Alien Dictionary (Hard)
- 281. Is Graph a Valid Tree (Medium)
- 282. Eventual Safe States (Medium)
- 283. N-Queens Count (Hard)
- 284. Kth Valid Parentheses String (Medium)
- 285. All Permutations (Medium)
- 286. All Non-Empty Subsets (Medium)
- 287. Word Search (Medium)
- 288. Sudoku Solver (Hard)
- 289. Combination Sum (Medium)
- 290. Tribonacci Number (Easy)
- 291. Paint House (Medium)
- 292. Minimum Insertions to Make Palindrome (Hard)
- 293. Target Sum (Medium)
- 294. Rod Cutting (Medium)
- 295. Matrix Chain Multiplication (Hard)
- 296. Egg Dropping (Hard)
- 297. Wildcard Matching (Hard)
- 298. Distinct Subsequences (Hard)
- 299. Palindrome Partitioning Minimum Cuts (Hard)
- 300. Stock Trading with K Transactions (Hard)
- 301. Wave Array (Easy)
- 302. Alternate Positive and Negative (Easy)
- 303. Max Consecutive Ones (Easy)
- 304. Max Consecutive Ones with K Flips (Medium)
- 305. Smallest Sum That Cannot Be Formed (Medium)
- 306. Split Array into Three Equal Sum Parts (Easy)
- 307. Count Pairs with Given Sum (Easy)
- 308. Count Triplets with Smaller Sum (Medium)
- 309. Four Sum Count (Medium)
- 310. Majority Element II (Medium)
- 311. Stock Trading with Transaction Fee (Medium)
- 312. Minimum Swaps to Sort (Medium)
- 313. Plus One (Easy)
- 314. Chocolate Distribution (Easy)
- 315. Maximum Weighted Sum over Rotations (Medium)
- 316. Segregate Even and Odd Numbers (Easy)
- 317. Subarray with Given Sum (Easy)
- 318. Count Distinct in Every Window (Medium)
- 319. First Negative in Every Window (Easy)
- 320. Subarrays with Product Less Than K (Medium)
- 321. Reverse Vowels of a String (Easy)
- 322. Determine if Two Strings Are Close (Medium)
- 323. Longest Palindrome from Letters (Easy)
- 324. Count and Say (Medium)
- 325. Valid Parentheses with Wildcards (Medium)
- 326. Minimum Swaps to Balance Brackets (Medium)
- 327. Reverse Each Word (Easy)
- 328. Sort Characters by Frequency (Medium)
- 329. String to Integer (Medium)
- 330. Compare Version Numbers (Medium)
- 331. Text Justification (Hard)
- 332. Minimum Steps to Make Anagram (Easy)
- 333. Longest Substring with At Most K Distinct (Medium)
- 334. Palindrome Pairs Count (Hard)
- 335. Bulls and Cows (Medium)
- 336. Longest Balanced Binary Substring (Medium)
- 337. Smallest Window with All Distinct Characters (Medium)
- 338. Repeated DNA Sequences (Medium)
- 339. One Edit Away (Medium)
- 340. Caesar Cipher (Easy)
- 341. Strong Number (Easy)
- 342. Next Power of Two (Easy)
- 343. Josephus Problem (Medium)
- 344. Catalan Number Modulo (Medium)
- 345. Count Multiples in a Range (Easy)
- 346. Fraction to Recurring Decimal (Medium)
- 347. Add Two Fractions (Easy)
- 348. Perfect Square Check (Easy)
- 349. Largest Prime Factor (Easy)
- 350. Sum of Primes up to N (Medium)
- 351. Sum of Consecutive Integers (Medium)
- 352. Matrix Determinant (Medium)
- 353. Gray Code Sequence (Medium)
- 354. Reverse Bits (Easy)
- 355. Total Hamming Distance (Medium)
- 356. Count Numbers with Unique Digits (Medium)
- 357. Integer Break (Medium)
- 358. Bulb Switcher (Medium)
- 359. Nth Digit of the Integer Sequence (Medium)
- 360. Solve Two Congruences (Hard)
- 361. Aggressive Cows (Medium)
- 362. Minimum Days to Make Bouquets (Medium)
- 363. Smallest Divisor Given a Threshold (Medium)
- 364. Search a Sorted 2D Matrix (Medium)
- 365. Find K Closest Elements (Medium)
- 366. Single Element in a Sorted Array (Medium)
- 367. Relative Sort Array (Easy)
- 368. Sort Array by Increasing Frequency (Easy)
- 369. Insert Interval (Medium)
- 370. Interval List Intersections (Medium)
- 371. Longest Harmonious Subsequence (Easy)
- 372. H-Index (Medium)
- 373. Minimum Absolute Difference Pairs (Easy)
- 374. Two Sum Less Than K (Easy)
- 375. Valid Triangle Number (Medium)
- 376. Three Sum Closest (Medium)
- 377. Smallest Letter Greater Than Target (Easy)
- 378. Median of a Row-Sorted Matrix (Hard)
- 379. Integer Nth Root (Medium)
- 380. Count Negatives in a Sorted Matrix (Easy)
- 381. Delete the Middle Node (Medium)
- 382. Odd Even Linked List (Medium)
- 383. Sort a Linked List (Medium)
- 384. Swap Kth Nodes from Both Ends (Medium)
- 385. Maximum Twin Sum of a Linked List (Medium)
- 386. Split Linked List into Parts (Medium)
- 387. Reverse a Sublist (Medium)
- 388. Next Smaller Element (Medium)
- 389. Asteroid Collision (Medium)
- 390. Stock Span (Medium)
- 391. Remove Adjacent Duplicates (Easy)
- 392. Remove K Adjacent Duplicates (Medium)
- 393. Baseball Game (Easy)
- 394. Backspace String Compare (Easy)
- 395. Basic Calculator (Hard)
- 396. Basic Calculator II (Medium)
- 397. Queue Operations (Easy)
- 398. Kth Largest in a Stream (Medium)
- 399. Median of a Data Stream (Hard)
- 400. Frequency Stack (Hard)
- 401. Level Sums of a Binary Tree (Easy)
- 402. Largest Value in Each Row (Medium)
- 403. Count Leaf Nodes (Easy)
- 404. Bottom Left Tree Value (Medium)
- 405. Check Completeness of a Binary Tree (Medium)
- 406. Maximum Level Sum (Medium)
- 407. Subtree of Another Tree (Easy)
- 408. Merge Two Binary Trees (Easy)
- 409. Binary Tree Tilt (Easy)
- 410. Deepest Leaves Sum (Medium)
- 411. House Robber III (Medium)
- 412. Distribute Coins in a Binary Tree (Medium)
- 413. All Nodes at Distance K (Medium)
- 414. Boundary Traversal of Binary Tree (Medium)
- 415. Diagonal Traversal of Binary Tree (Medium)
- 416. Construct Tree from Inorder and Postorder (Medium)
- 417. BST from Preorder Traversal (Medium)
- 418. Two Sum in a BST (Easy)
- 419. Trim a Binary Search Tree (Medium)
- 420. Maximum Difference Between Node and Ancestor (Medium)
- 421. Number of Enclaves (Medium)
- 422. Island Perimeter (Easy)
- 423. Shortest Bridge (Medium)
- 424. Snakes and Ladders (Medium)
- 425. Open the Lock (Medium)
- 426. Redundant Connection (Medium)
- 427. Operations to Connect a Network (Medium)
- 428. Satisfiability of Equality Equations (Medium)
- 429. Minimum Semesters to Finish Courses (Medium)
- 430. City with the Fewest Reachable Neighbours (Medium)
- 431. Minimum Edge Reversals (Hard)
- 432. Minimum Cost to Connect Points (Medium)
- 433. Shortest Paths in a DAG (Medium)
- 434. Count Paths in a DAG (Medium)
- 435. Longest Path in a DAG (Medium)
- 436. Graph M-Coloring (Hard)
- 437. Hamiltonian Path (Hard)
- 438. Euler Path or Circuit (Medium)
- 439. Rat in a Maze Paths (Medium)
- 440. Kth Ancestor Queries (Hard)
- 441. Perfect Squares (Medium)
- 442. Interleaving String (Medium)
- 443. Longest String Chain (Medium)
- 444. Delete Operation for Two Strings (Medium)
- 445. Minimum ASCII Delete Sum (Medium)
- 446. Count Square Submatrices with All Ones (Medium)
- 447. Maximal Rectangle (Hard)
- 448. Minimum Falling Path Sum (Medium)
- 449. Cherry Pickup with Two Robots (Hard)
- 450. Dungeon Game (Hard)
- 451. Number of Longest Increasing Subsequences (Medium)
- 452. Russian Doll Envelopes (Hard)
- 453. Partition Array for Maximum Sum (Medium)
- 454. Ones and Zeroes (Medium)
- 455. Last Stone Weight II (Medium)
- 456. Stock Trading with Cooldown (Medium)
- 457. Domino and Tromino Tiling (Medium)
- 458. Integer Partitions (Medium)
- 459. Longest Arithmetic Subsequence (Medium)
- 460. Shortest Common Supersequence Length (Medium)
- 461. Boolean Parenthesization (Hard)
- 462. Minimum Cost to Cut a Stick (Hard)
- 463. Optimal Strategy for a Coin Game (Medium)
- 464. Weighted Job Scheduling (Hard)
- 465. Frog Jump with K Steps (Easy)
- 466. Maximum Units on a Truck (Easy)
- 467. Car Fleet (Medium)
- 468. Hand of Straights (Medium)
- 469. Video Stitching (Medium)
- 470. Queue Reconstruction by Height (Medium)
- 471. Minimum Moves to Equal Array Elements (Medium)
- 472. Wiggle Subsequence (Medium)
- 473. Maximum Swap (Medium)
- 474. Monotone Increasing Digits (Medium)
- 475. Broken Calculator (Medium)
- 476. Bag of Tokens (Medium)
- 477. Reduce Array Size to Half (Medium)
- 478. Single Number II (Medium)
- 479. Single Number III (Medium)
- 480. Sum of All Subset XOR Totals (Easy)
- 481. Maximum XOR of Two Numbers (Medium)
- 482. Bitwise AND of a Range (Medium)
- 483. Counting Bits (Easy)
- 484. Find the Repeating and Missing Numbers (Medium)
- 485. XOR of Subarray Queries (Medium)
- 486. Set Matrix Zeroes (Medium)
- 487. Game of Life (Medium)
- 488. Valid Sudoku (Medium)
- 489. Matrix Diagonal Sum (Easy)
- 490. Toeplitz Matrix (Easy)
- 491. Search a Row-Column Sorted Matrix (Medium)
- 492. Spiral Matrix II (Medium)
- 493. Diagonal Traverse (Medium)
- 494. Reshape the Matrix (Easy)
- 495. Lucky Numbers in a Matrix (Easy)
- 496. Image Smoother (Easy)
- 497. Robot Return to Origin (Easy)
- 498. Walking Robot Simulation (Medium)
- 499. Tic-Tac-Toe Winner (Easy)
- 500. Battleships in a Board (Medium)
- 501. Maximum Subarray Sum with One Deletion (Medium)
- 502. Longest Ones After Deleting One Element (Medium)
- 503. Minimum Operations to Reduce X to Zero (Medium)
- 504. Number of Subarrays with Bounded Maximum (Medium)
- 505. Count Subarrays with K Odd Numbers (Medium)
- 506. Longest Subarray with Limited Difference (Medium)
- 507. Max Chunks to Make Sorted (Medium)
- 508. Minimum Increments to Make Array Unique (Medium)
- 509. Array Nesting (Medium)
- 510. Longest Turbulent Subarray (Medium)
- 511. Number of Zero-Filled Subarrays (Easy)
- 512. Count Good Triplets (Easy)
- 513. Shortest Unsorted Continuous Subarray (Medium)
- 514. Degree of an Array (Easy)
- 515. Minimum Difference After Three Changes (Medium)
- 516. Sum of Subarray Minimums (Medium)
- 517. Sum of Subarray Ranges (Medium)
- 518. Count of Range Sum (Hard)
- 519. Reverse Pairs (Hard)
- 520. Maximum Sum of Two Non-Overlapping Subarrays (Medium)
- 521. Count Binary Substrings (Easy)
- 522. Maximum Number of Balloons (Easy)
- 523. Detect Capital (Easy)
- 524. Valid Word Abbreviation (Easy)
- 525. Student Attendance Record (Easy)
- 526. Custom Sort String (Medium)
- 527. Minimum Time to Type Word Using Special Typewriter (Easy)
- 528. Number of Matching Subsequences (Medium)
- 529. Longest Word in Dictionary through Deleting (Medium)
- 530. Optimal Partition of String (Medium)
- 531. Minimum Window Subsequence (Hard)
- 532. Count Distinct Substrings (Hard)
- 533. Longest Duplicate Substring (Hard)
- 534. Count Palindrome Partitions (Medium)
- 535. Top K Frequent Words (Medium)
- 536. Scramble String (Hard)
- 537. Restore IP Addresses (Medium)
- 538. Letter Combinations of a Phone Number (Medium)
- 539. Integer to English Words (Hard)
- 540. Minimum Deletions to Make String Balanced (Medium)
- 541. Ugly Number Check (Easy)
- 542. Self Dividing Numbers in Range (Easy)
- 543. Power of Three (Easy)
- 544. Smallest Number Divisible by 1 to N (Easy)
- 545. Pythagorean Triplets Count (Medium)
- 546. Count Coprime Pairs (Medium)
- 547. Steps to Reduce a Binary Number to One (Medium)
- 548. Nth Prime (Medium)
- 549. Twin Primes in a Range (Medium)
- 550. Goldbach Partitions (Medium)
- 551. Divisor Summatory Function (Hard)
- 552. Count Square-Free Numbers (Hard)
- 553. Count Derangements (Medium)
- 554. Binomial Coefficient Modulo a Small Prime (Hard)
- 555. Trailing Zeros of N! in Base B (Hard)
- 556. Sum of GCD over All Pairs (Hard)
- 557. Lattice Points Inside a Circle (Medium)
- 558. Angle Between Clock Hands (Easy)
- 559. Day of the Week (Easy)
- 560. Linear Recurrence by Matrix Power (Hard)
- 561. Sort Array by Parity II (Easy)
- 562. Remove Covered Intervals (Medium)
- 563. Car Pooling (Medium)
- 564. Kth Smallest Pair Distance (Hard)
- 565. Find Right Interval (Medium)
- 566. Maximum Candies Allocated to K Children (Medium)
- 567. Minimum Time to Complete Trips (Medium)
- 568. Kth Smallest Number in a Multiplication Table (Hard)
- 569. Sort Integers by the Number of 1 Bits (Easy)
- 570. Sort the Matrix Diagonally (Medium)
- 571. Height Checker (Easy)
- 572. Largest Perimeter Triangle (Easy)
- 573. Pairs of Songs With Total Durations Divisible by 60 (Medium)
- 574. Successful Pairs of Spells and Potions (Medium)
- 575. Maximum Distance Between a Pair of Values (Medium)
- 576. Find the Distance Value Between Two Arrays (Easy)
- 577. Sliding Window Median (Hard)
- 578. Count the Number of Fair Pairs (Medium)
- 579. Closest Pair of Points (Hard)
- 580. Find K Pairs with Smallest Sums (Medium)
- 581. Remove Zero Sum Consecutive Nodes (Medium)
- 582. Remove Every K-th Node (Easy)
- 583. Double a Number Represented as a Linked List (Medium)
- 584. Merge In Between Linked Lists (Medium)
- 585. Insert Greatest Common Divisors in a Linked List (Medium)
- 586. Validate Stack Sequences (Medium)
- 587. Remove Outermost Parentheses (Easy)
- 588. Score of Parentheses (Medium)
- 589. Reverse Substrings Between Each Pair of Parentheses (Medium)
- 590. Maximum Width Ramp (Medium)
- 591. 132 Pattern (Medium)
- 592. Exclusive Time of Functions (Medium)
- 593. Design Circular Queue (Medium)
- 594. LRU Cache (Medium)
- 595. LFU Cache (Hard)
- 596. IPO (Hard)
- 597. Furthest Building You Can Reach (Medium)
- 598. Smallest Range Covering Elements from K Lists (Hard)
- 599. Single-Threaded CPU (Medium)
- 600. Trapping Rain Water II (Hard)
- 601. Sum of Nodes with Even-Valued Grandparent (Medium)
- 602. Leaf-Similar Trees (Easy)
- 603. Univalued Binary Tree (Easy)
- 604. Find Mode in Binary Search Tree (Easy)
- 605. Minimum Absolute Difference in BST (Easy)
- 606. Convert BST to Greater Sum Tree (Medium)
- 607. Lowest Common Ancestor of Deepest Leaves (Medium)
- 608. Maximum Product of Splitted Binary Tree (Medium)
- 609. Longest Univalue Path (Medium)
- 610. Longest ZigZag Path in a Binary Tree (Medium)
- 611. Pseudo-Palindromic Paths in a Binary Tree (Medium)
- 612. Flip Equivalent Binary Trees (Medium)
- 613. Count Univalue Subtrees (Medium)
- 614. Binary Tree Cameras (Hard)
- 615. Recover a Tree From Preorder Traversal (Hard)
- 616. Path Sum III (Medium)
- 617. Smallest String Starting From Leaf (Medium)
- 618. Count Nodes Equal to Average of Subtree (Medium)
- 619. Maximum Sum BST in Binary Tree (Hard)
- 620. Number of Ways to Reorder Array to Get Same BST (Hard)
- 621. Count Sub Islands (Medium)
- 622. Making a Large Island (Hard)
- 623. Jump Game III (Medium)
- 624. Bus Routes (Hard)
- 625. Shortest Path Visiting All Nodes (Hard)
- 626. Sliding Puzzle (Hard)
- 627. Reconstruct Itinerary (Hard)
- 628. Course Schedule IV (Medium)
- 629. Most Stones Removed with Same Row or Column (Medium)
- 630. Regions Cut By Slashes (Medium)
- 631. Shortest Path in a Grid with Obstacles Elimination (Hard)
- 632. Count Unreachable Pairs of Nodes (Medium)
- 633. Minimum Height Trees (Medium)
- 634. Number of Islands II (Hard)
- 635. Word Search II (Hard)
- 636. Second Minimum Spanning Tree (Hard)
- 637. Minimum Fuel Cost to Report to the Capital (Medium)
- 638. Maximal Network Rank (Medium)
- 639. Checking Existence of Edge Length Limited Paths (Hard)
- 640. Detonate the Maximum Bombs (Medium)
- 641. Count Vowels Permutation (Hard)
- 642. Knight Dialer (Medium)
- 643. Out of Boundary Paths (Medium)
- 644. Number of Dice Rolls With Target Sum (Medium)
- 645. Stone Game II (Medium)
- 646. Cherry Pickup (Hard)
- 647. Max Dot Product of Two Subsequences (Hard)
- 648. Minimum Swaps To Make Sequences Increasing (Hard)
- 649. Largest Divisible Subset (Medium)
- 650. Delete and Earn (Medium)
- 651. Tallest Billboard (Hard)
- 652. Profitable Schemes (Hard)
- 653. Minimum Number of Refueling Stops (Hard)
- 654. Count Different Palindromic Subsequences (Hard)
- 655. Strange Printer (Hard)
- 656. Minimum Cost For Tickets (Medium)
- 657. Number of Ways to Stay in the Same Place (Hard)
- 658. Longest Ideal Subsequence (Medium)
- 659. Minimum Falling Path Sum II (Hard)
- 660. Student Attendance Record II (Hard)
- 661. Minimum Domino Rotations For Equal Row (Medium)
- 662. Partition Array into Disjoint Intervals (Medium)
- 663. Maximum Score From Removing Stones (Medium)
- 664. Two Furthest Houses With Different Colors (Easy)
- 665. Can Place Flowers (Easy)
- 666. Maximum Ice Cream Bars (Medium)
- 667. Minimum Cost to Move Chips to The Same Position (Easy)
- 668. Split a String in Balanced Strings (Easy)
- 669. Maximum Number of Events That Can Be Attended (Medium)
- 670. Patching Array (Hard)
- 671. Minimum Initial Energy to Finish Tasks (Hard)
- 672. Course Schedule III (Hard)
- 673. Number Complement (Easy)
- 674. Minimum Flips to Make a OR b Equal to c (Medium)
- 675. XOR Sum of All Pairs Bitwise AND (Hard)
- 676. Maximum XOR With an Element From Array (Hard)
- 677. Count Triplets That Can Form Two Arrays of Equal XOR (Medium)
- 678. Decode XORed Permutation (Medium)
- 679. UTF-8 Validation (Medium)
- 680. Concatenation of Consecutive Binary Numbers (Medium)
- 681. Range Sum Queries with Point Updates (Medium)
- 682. Range Minimum Queries (Medium)
- 683. Range Add and Range Sum (Hard)
- 684. Count Distinct Values in Range Queries (Hard)
- 685. Union-Find Connectivity Queries (Medium)
- 686. Seat Reservation Manager (Medium)
- 687. Implement Trie (Prefix Tree) (Medium)
- 688. The Skyline Problem (Hard)
- 689. Rectangle Area II (Hard)
- 690. Range Frequency Queries (Medium)
- 691. My Calendar I (Medium)
- 692. My Calendar III (Hard)
- 693. Snapshot Array (Medium)
- 694. Time Based Key-Value Store (Medium)
- 695. Longest Increasing Path in a Matrix (Hard)
- 696. Max Points on a Line (Hard)
- 697. Count Subarrays With Fixed Bounds (Hard)
- 698. Substring with Concatenation of All Words (Hard)
- 699. Sum of Distances in Tree (Hard)
- 700. Falling Squares (Hard)
- 701. Check if Array Is Sorted and Rotated (Easy)
- 702. Union of Two Sorted Arrays (Easy)
- 703. Count Subarrays with XOR K (Medium)
- 704. Floor and Ceil in a Sorted Array (Easy)
- 705. Search in Rotated Sorted Array II (Medium)
- 706. Allocate Minimum Pages (Medium)
- 707. Minimize Max Distance to Gas Station (Hard)
- 708. Kth Element of Two Sorted Arrays (Medium)
- 709. Row with Maximum 1s (Easy)
- 710. Peak Element in a 2D Matrix (Medium)
- 711. Largest Odd Number in a String (Easy)
- 712. Maximum Nesting Depth of the Parentheses (Easy)
- 713. Sum of Beauty of All Substrings (Medium)
- 714. Repeated String Match (Medium)
- 715. XOR of Numbers from L to R (Easy)
- 716. Divide Two Integers (Medium)
- 717. Next Greater Element II (Medium)
- 718. Number of Greater Elements to the Right (Medium)
- 719. Maximum Points You Can Obtain from Cards (Medium)
- 720. Number of Substrings Containing All Three Characters (Medium)
- 721. Linked List Cycle (Easy)
- 722. Starting Point of a Linked List Cycle (Medium)
- 723. Length of a Loop in a Linked List (Easy)
- 724. Intersection of Two Linked Lists (Easy)
- 725. Flatten a Multilevel Linked List (Medium)
- 726. Add One to a Number Represented as a Linked List (Easy)
- 727. Subset Sums (Medium)
- 728. Subsets II (Medium)
- 729. Combination Sum II (Medium)
- 730. Combination Sum III (Medium)
- 731. Permutation Sequence (Hard)
- 732. Binary Strings Without Consecutive Ones (Medium)
- 733. Count Good Numbers (Medium)
- 734. Expression Add Operators (Hard)
- 735. Design Twitter (Medium)
- 736. Fractional Knapsack (Medium)
- 737. Shortest Job First Scheduling (Easy)
- 738. Page Faults in LRU (Medium)
- 739. Implement Trie II (Medium)
- 740. Complete String (Medium)
- 741. Root to Node Path in a Binary Tree (Medium)
- 742. Children Sum Property (Easy)
- 743. Minimum Time to Burn a Binary Tree (Hard)
- 744. Floor and Ceil in a BST (Medium)
- 745. Insert into a Binary Search Tree (Medium)
- 746. Inorder Successor in a BST (Medium)
- 747. Recover a Binary Search Tree (Hard)
- 748. Number of Distinct Islands (Medium)
- 749. Word Ladder II (Hard)
- 750. Minimum Multiplications to Reach End (Medium)
- 751. Accounts Merge (Medium)
- 752. Swim in Rising Water (Hard)
- 753. Ninja's Training (Medium)
- 754. Subset Sum Equal to Target (Medium)
- 755. Count Subsets with Sum K (Medium)
- 756. Unbounded Knapsack (Medium)
- 757. Print Longest Common Subsequence (Hard)
- 758. Longest Bitonic Subsequence (Medium)
- 759. Subtract Two Numbers (Easy)
- 760. Multiply Two Numbers (Easy)
- 761. Quotient and Remainder (Easy)
- 762. Even or Odd (Easy)
- 763. Largest of Three Numbers (Easy)
- 764. Middle of Three Numbers (Easy)
- 765. Leap Year Check (Easy)
- 766. Absolute Value (Easy)
- 767. Minutes to Hours and Minutes (Easy)
- 768. Seconds to Clock Time (Easy)
- 769. Rectangle Area and Perimeter (Easy)
- 770. Square and Cube (Easy)
- 771. Sum of Even Numbers up to N (Easy)
- 772. Multiplication Table (Easy)
- 773. Count Digits (Easy)
- 774. Product of Digits (Easy)
- 775. Positive, Negative or Zero (Easy)
- 776. Vowel or Consonant (Easy)
- 777. Grade from Marks (Easy)
- 778. Simple Interest (Easy)
- 779. Swap Two Numbers (Easy)
- 780. Sum of Squares up to N (Easy)
- 781. Average of an Array (Easy)
- 782. Count Even and Odd Elements (Easy)
- 783. Count Occurrences of a Value (Easy)
- 784. Linear Search (Easy)
- 785. Sum of Elements at Even Indices (Easy)
- 786. Count Elements Greater Than X (Easy)
- 787. Count Uppercase and Lowercase Letters (Easy)
- 788. Remove Vowels from a String (Easy)
- 789. Count a Character in a String (Easy)
- 790. Equal Strings Ignoring Case (Easy)
- 791. First and Last Character (Easy)
- 792. Sum of First and Last Digit (Easy)
- 793. Binary to Decimal (Easy)
- 794. Sum of Positive Numbers (Easy)
- 795. Power of a Number (Easy)
- 796. Print Numbers from 1 to N (Easy)
- 797. FizzBuzz (Easy)
- 798. Check Triangle Sides (Easy)
- 799. Type of Triangle (Easy)
- 800. Quadrant of a Point (Easy)
- 801. Manhattan Distance Between Two Points (Easy)
- 802. Sum of Multiples of 3 or 5 (Easy)
- 803. Days in a Month (Easy)
- 804. ASCII Value of a Character (Easy)
- 805. Perfect Cube Check (Easy)
- 806. Last Digit of a Number (Easy)
- 807. Profit or Loss (Easy)
- 808. Day Name from Number (Easy)
- 809. Find All Numbers Disappeared in an Array (Easy)
- 810. Monotonic Array (Easy)
- 811. Valid Mountain Array (Easy)
- 812. Sum of All Odd Length Subarrays (Easy)
- 813. Find the Highest Altitude (Easy)
- 814. Maximum Product of Three Numbers (Easy)
- 815. Minimum Moves to Equal Array Elements II (Medium)
- 816. Number of Good Pairs (Easy)
- 817. Contiguous Array (Medium)
- 818. Continuous Subarray Sum (Medium)
- 819. Global and Local Inversions (Medium)
- 820. Longest Continuous Increasing Subsequence (Easy)
- 821. Count Number of Teams (Medium)
- 822. Minimum Value to Get Positive Step by Step Sum (Easy)
- 823. Check If N and Its Double Exist (Easy)
- 824. Array Partition (Easy)
- 825. Element Appearing More Than 25% in a Sorted Array (Easy)
- 826. Maximum Subarray Min-Product (Medium)
- 827. Range Sum of Sorted Subarray Sums (Medium)
- 828. Kids With the Greatest Number of Candies (Easy)
- 829. Reverse String II (Easy)
- 830. Reverse Only Letters (Easy)
- 831. Goat Latin (Easy)
- 832. Jewels and Stones (Easy)
- 833. Unique Morse Code Words (Easy)
- 834. Find the Difference (Easy)
- 835. Long Pressed Name (Easy)
- 836. Buddy Strings (Easy)
- 837. Shortest Distance to a Character (Easy)
- 838. Count Substrings That Differ by One Character (Medium)
- 839. Positions of Large Groups (Easy)
- 840. Check if Word Equals Summation of Two Words (Easy)
- 841. Word Subsets (Medium)
- 842. Vowels of All Substrings (Medium)
- 843. Maximum Number of Vowels in a Substring of Given Length (Medium)
- 844. Push Dominoes (Medium)
- 845. Orderly Queue (Hard)
- 846. Decoded String at Index (Medium)
- 847. Count Number of Homogenous Substrings (Medium)
- 848. Number of Wonderful Substrings (Medium)
- 849. Arranging Coins (Easy)
- 850. Count Odd Numbers in an Interval (Easy)
- 851. Number of Steps to Reduce a Number to Zero (Easy)
- 852. Super Ugly Number (Medium)
- 853. Smallest Integer Divisible by K (Medium)
- 854. Water and Jug Problem (Medium)
- 855. Rectangle Overlap (Easy)
- 856. Mirror Reflection (Medium)
- 857. Poor Pigs (Hard)
- 858. Sum of Square Numbers (Medium)
- 859. Prime Arrangements (Easy)
- 860. Number of Common Factors (Easy)
- 861. Closest Divisors (Medium)
- 862. Three Divisors (Easy)
- 863. Count Integers With Even Digit Sum (Easy)
- 864. Complex Number Multiplication (Medium)
- 865. Valid Square (Medium)
- 866. Preimage Size of Factorial Zeroes Function (Hard)
- 867. Numbers With Repeated Digits (Hard)
- 868. Nim Game (Easy)
- 869. Maximum Number of Removable Characters (Medium)
- 870. Fair Candy Swap (Easy)
- 871. Maximum Value at a Given Index in a Bounded Array (Medium)
- 872. Minimum Limit of Balls in a Bag (Medium)
- 873. Minimized Maximum of Products Distributed to Any Store (Medium)
- 874. Minimum Speed to Arrive on Time (Medium)
- 875. Sum of Mutated Array Closest to Target (Medium)
- 876. Search Suggestions System (Medium)
- 877. Sort Integers by The Power Value (Medium)
- 878. Reorder Data in Log Files (Medium)
- 879. Minimum Absolute Sum Difference (Medium)
- 880. Count Pairs in Two Arrays (Medium)
- 881. Earliest Possible Day of Full Bloom (Hard)
- 882. Divide Chocolate (Hard)
- 883. Kth Smallest Prime Fraction (Medium)
- 884. Search in a Mountain Array (Hard)
- 885. Minimum Time to Repair Cars (Medium)
- 886. Maximum Running Time of N Computers (Hard)
- 887. Heaters (Medium)
- 888. Ugly Number III (Medium)
- 889. Design Linked List (Medium)
- 890. Linked List Components (Medium)
- 891. Convert Binary Number in a Linked List to Integer (Easy)
- 892. Design Browser History (Medium)
- 893. Design Front Middle Back Queue (Medium)
- 894. Make The String Great (Easy)
- 895. Crawler Log Folder (Easy)
- 896. Build an Array With Stack Operations (Medium)
- 897. Number of Students Unable to Eat Lunch (Easy)
- 898. Time Needed to Buy Tickets (Easy)
- 899. Dota2 Senate (Medium)
- 900. Reveal Cards In Increasing Order (Medium)
- 901. Design Hit Counter (Medium)
- 902. Jump Game VI (Medium)
- 903. Constrained Subsequence Sum (Hard)
- 904. Maximum Score of a Good Subarray (Hard)
- 905. Minimum Number of K Consecutive Bit Flips (Hard)
- 906. Process Tasks Using Servers (Medium)
- 907. Total Cost to Hire K Workers (Medium)
- 908. Maximum Performance of a Team (Hard)
- 909. Binary Tree Paths (Easy)
- 910. Second Minimum Node In a Binary Tree (Easy)
- 911. Maximum Binary Tree (Medium)
- 912. Add One Row to Tree (Medium)
- 913. Delete Nodes And Return Forest (Medium)
- 914. Even Odd Tree (Medium)
- 915. Insufficient Nodes in Root to Leaf Paths (Medium)
- 916. Binary Tree Pruning (Medium)
- 917. Find Duplicate Subtrees (Medium)
- 918. Step-By-Step Directions From a Binary Tree Node to Another (Medium)
- 919. Reverse Odd Levels of Binary Tree (Medium)
- 920. Most Frequent Subtree Sum (Medium)
- 921. Closest Binary Search Tree Value (Easy)
- 922. Binary Tree Coloring Game (Medium)
- 923. Binary Tree Longest Consecutive Sequence (Medium)
- 924. Height of Binary Tree After Subtree Removal Queries (Hard)
- 925. Equal Tree Partition (Medium)
- 926. Construct String from Binary Tree (Easy)
- 927. Find Leaves of Binary Tree (Medium)
- 928. Validate Binary Tree Nodes (Medium)
- 929. Keys and Rooms (Medium)
- 930. All Paths From Source to Target (Medium)
- 931. Minimum Number of Vertices to Reach All Nodes (Medium)
- 932. Loud and Rich (Medium)
- 933. Count Servers that Communicate (Medium)
- 934. As Far from Land as Possible (Medium)
- 935. Nearest Exit from Entrance in Maze (Medium)
- 936. Jump Game IV (Hard)
- 937. Minimum Cost to Make at Least One Valid Path in a Grid (Hard)
- 938. Shortest Path to Get All Keys (Hard)
- 939. Remove Max Number of Edges to Keep Graph Fully Traversable (Hard)
- 940. Number of Good Paths (Hard)
- 941. Minimum Score of a Path Between Two Cities (Medium)
- 942. Largest Color Value in a Directed Graph (Hard)
- 943. Find All Possible Recipes from Given Supplies (Medium)
- 944. Maximum Employees to Be Invited to a Meeting (Hard)
- 945. Longest Cycle in a Graph (Hard)
- 946. Find Closest Node to Given Two Nodes (Medium)
- 947. Time Needed to Inform All Employees (Medium)
- 948. Minimum Number of Days to Disconnect Island (Hard)
- 949. Paint Fence (Medium)
- 950. Combination Sum IV (Medium)
- 951. Decode Ways II (Hard)
- 952. Arithmetic Slices (Medium)
- 953. Maximum Length of Pair Chain (Medium)
- 954. 2 Keys Keyboard (Medium)
- 955. 4 Keys Keyboard (Medium)
- 956. Number of Ways to Form a Target String Given a Dictionary (Hard)
- 957. Best Sightseeing Pair (Medium)
- 958. Maximum Alternating Subsequence Sum (Medium)
- 959. Filling Bookcase Shelves (Medium)
- 960. Minimum Score Triangulation of Polygon (Medium)
- 961. Guess Number Higher or Lower II (Medium)
- 962. Stone Game III (Hard)
- 963. Stone Game IV (Hard)
- 964. Number of Ways to Paint N × 3 Grid (Hard)
- 965. Count Sorted Vowel Strings (Medium)
- 966. Minimum Difficulty of a Job Schedule (Hard)
- 967. Number of Music Playlists (Hard)
- 968. Partition to K Equal Sum Subsets (Medium)
- 969. Increasing Triplet Subsequence (Medium)
- 970. Maximize Sum Of Array After K Negations (Easy)
- 971. Largest Number At Least Twice of Others (Easy)
- 972. Minimum Number of Moves to Seat Everyone (Easy)
- 973. Maximum Product Difference Between Two Pairs (Easy)
- 974. Minimum Sum of Four Digit Number After Splitting Digits (Easy)
- 975. Minimum Operations to Make the Array Increasing (Easy)
- 976. Maximum Bags With Full Capacity of Rocks (Medium)
- 977. Minimum Rounds to Complete All Tasks (Medium)
- 978. Eliminate Maximum Number of Monsters (Medium)
- 979. Maximum Number of Coins You Can Get (Medium)
- 980. Minimum Deletions to Make Array Beautiful (Medium)
- 981. Partitioning Into Minimum Number Of Deci-Binary Numbers (Medium)
- 982. Minimum Cost of Buying Candies With Discount (Easy)
- 983. Smallest String With A Given Numeric Value (Medium)
- 984. Remove Colored Pieces if Both Neighbors are the Same Color (Medium)
- 985. Score After Flipping Matrix (Medium)
- 986. Maximum Length of Subarray With Positive Product (Medium)
- 987. Minimize Maximum Pair Sum in Array (Medium)
- 988. Rabbits in Forest (Medium)
- 989. Flipping an Image (Easy)
- 990. Cells with Odd Values in a Matrix (Easy)
- 991. Richest Customer Wealth (Easy)
- 992. Determine Whether Matrix Can Be Obtained By Rotation (Easy)
- 993. Projection Area of 3D Shapes (Easy)
- 994. Surface Area of 3D Shapes (Easy)
- 995. Shift 2D Grid (Easy)
- 996. Largest Local Values in a Matrix (Easy)
- 997. Max Increase to Keep City Skyline (Medium)
- 998. Spiral Matrix III (Medium)
- 999. Number of Submatrices That Sum to Target (Hard)
- 1000. Check if Every Row and Column Contains All Numbers (Easy)