Solutions

0001. Two Sumchevron-right0002. Add Two Numberschevron-right0003. Longest Substring Without Repeating Characterschevron-right0004. Median of Two Sorted Arrayschevron-right0005. Longest Palindromic Substringchevron-right0006. ZigZag Conversionchevron-right0007. Reverse Integerchevron-right0008. String to Integer (solutions/atoi)chevron-right0009. Palindrome Numberchevron-right0010. Regular Expression Matchingchevron-right0011. Container With Most Waterchevron-right0012. Integer to Romanchevron-right0013. Roman to Integerchevron-right0014. Longest Common Prefixchevron-right0015. 3Sumchevron-right0016. 3Sum Closestchevron-right0017. Letter Combinations of a Phone Numberchevron-right0018. 4Sumchevron-right0019. Remove Nth Node From End of Listchevron-right0020. Valid Parentheseschevron-right0021. Merge Two Sorted Listschevron-right0022. Generate Parentheseschevron-right0023. Merge k Sorted Listschevron-right0024. Swap Nodes in Pairschevron-right0025. Reverse Nodes in k-Groupchevron-right0026. Remove Duplicates from Sorted Arraychevron-right0027. Remove Elementchevron-right0028. Implement strStr(solutions/)chevron-right0029. Divide Two Integerschevron-right0030. Substring with Concatenation of All Wordschevron-right0031. Next Permutationchevron-right0032. Longest Valid Parentheseschevron-right0033. Search in Rotated Sorted Arraychevron-right0034. Find First and Last Position of Element in Sorted Arraychevron-right0035. Search Insert Positionchevron-right0036. Valid Sudokuchevron-right0037. Sudoku Solverchevron-right0038. Count and Saychevron-right0039. Combination Sumchevron-right0040. Combination Sum IIchevron-right0041. First Missing Positivechevron-right0042. Trapping Rain Waterchevron-right0043. Multiply Stringschevron-right0044. Wildcard Matchingchevron-right0045. Jump Game IIchevron-right0046. Permutationschevron-right0047. Permutations IIchevron-right0048. Rotate Imagechevron-right0049. Group Anagramschevron-right0050. Pow(solutions/x, n)chevron-right0051. N-Queenschevron-right0052. N-Queens IIchevron-right0053. Maximum Subarraychevron-right0054. Spiral Matrixchevron-right0055. Jump Gamechevron-right0056. Merge Intervalschevron-right0057. Insert Intervalchevron-right0058. Length of Last Wordchevron-right0059. Spiral Matrix IIchevron-right0060. Permutation Sequencechevron-right0061. Rotate Listchevron-right0062. Unique Pathschevron-right0063. Unique Paths IIchevron-right0064. Minimum Path Sumchevron-right0065. Valid Numberchevron-right0066. Plus Onechevron-right0067. Add Binarychevron-right0068. Text Justificationchevron-right0069. Sqrt(solutions/x)chevron-right0070. Climbing Stairschevron-right0071. Simplify Pathchevron-right0072. Edit Distancechevron-right0073. Set Matrix Zeroeschevron-right0074. Search a 2D Matrixchevron-right0075. Sort Colorschevron-right0076. Minimum Window Substringchevron-right0077. Combinationschevron-right0078. Subsetschevron-right0079. Word Searchchevron-right0080. Remove Duplicates from Sorted Array IIchevron-right0081. Search in Rotated Sorted Array IIchevron-right0082. Remove Duplicates from Sorted List IIchevron-right0083. Remove Duplicates from Sorted Listchevron-right0084. Largest Rectangle in Histogramchevron-right0085. Maximal Rectanglechevron-right0086. Partition Listchevron-right0087. Scramble Stringchevron-right0088. Merge Sorted Arraychevron-right0089. Gray Codechevron-right0090. Subsets IIchevron-right0091. Decode Wayschevron-right0092. Reverse Linked List IIchevron-right0093. Restore IP Addresseschevron-right0094. Binary Tree Inorder Traversalchevron-right0095. Unique Binary Search Trees IIchevron-right0096. Unique Binary Search Treeschevron-right0097. Interleaving Stringchevron-right0098. Validate Binary Search Treechevron-right0099. Recover Binary Search Treechevron-right0100. Same Treechevron-right0101. Symmetric Treechevron-right0102. Binary Tree Level Order Traversalchevron-right0103. Binary Tree Zigzag Level Order Traversalchevron-right0104. Maximum Depth of Binary Treechevron-right0105. Construct Binary Tree from Preorder and Inorder Traversalchevron-right0106. Construct Binary Tree from Inorder and Postorder Traversalchevron-right0107. Binary Tree Level Order Traversal IIchevron-right0108. Convert Sorted Array to Binary Search Treechevron-right0109. Convert Sorted List to Binary Search Treechevron-right0110. Balanced Binary Treechevron-right0111. Minimum Depth of Binary Treechevron-right0112. Path Sumchevron-right0113. Path Sum IIchevron-right0114. Flatten Binary Tree to Linked Listchevron-right0115. Distinct Subsequenceschevron-right0116. Populating Next Right Pointers in Each Nodechevron-right0117. Populating Next Right Pointers in Each Node IIchevron-right0118. Pascal's Trianglechevron-right0119. Pascal's Triangle IIchevron-right0120. Trianglechevron-right0121. Best Time to Buy and Sell Stockchevron-right0122. Best Time to Buy and Sell Stock IIchevron-right0123. Best Time to Buy and Sell Stock IIIchevron-right0124. Binary Tree Maximum Path Sumchevron-right0125. Valid Palindromechevron-right0126. Word Ladder IIchevron-right0127. Word Ladderchevron-right0128. Longest Consecutive Sequencechevron-right0129. Sum Root to Leaf Numberschevron-right0130. Surrounded Regionschevron-right0131. Palindrome Partitioningchevron-right0132. Palindrome Partitioning IIchevron-right0133. Clone Graphchevron-right0134. Gas Stationchevron-right0135. Candychevron-right0136. Single Numberchevron-right0137. Single Number IIchevron-right0138. Copy List with Random Pointerchevron-right0139. Word Breakchevron-right0140. Word Break IIchevron-right0141. Linked List Cyclechevron-right0142. Linked List Cycle IIchevron-right0143. Reorder Listchevron-right0144. Binary Tree Preorder Traversalchevron-right0145. Binary Tree Postorder Traversalchevron-right0146. LRU Cachechevron-right0147. Insertion Sort Listchevron-right0148. Sort Listchevron-right0149. Max Points on a Linechevron-right0150. Evaluate Reverse Polish Notationchevron-right0151. Reverse Words in a Stringchevron-right0152. Maximum Product Subarraychevron-right0153. Find Minimum in Rotated Sorted Arraychevron-right0154. Find Minimum in Rotated Sorted Array IIchevron-right0155. Min Stackchevron-right0156. Binary Tree Upside Downchevron-right0157. Read N Characters Given Read4chevron-right0158. Read N Characters Given Read4 II - Call multiple timeschevron-right0159. Longest Substring with At Most Two Distinct Characterschevron-right0160. Intersection of Two Linked Listschevron-right0161. One Edit Distancechevron-right0162. Find Peak Elementchevron-right0163. Missing Rangeschevron-right0164. Maximum Gapchevron-right0165. Compare Version Numberschevron-right0166. Fraction to Recurring Decimalchevron-right0167. Two Sum II - Input array is sortedchevron-right0168. Excel Sheet Column Titlechevron-right0169. Majority Elementchevron-right0170. Two Sum III - Data structure designchevron-right0171. Excel Sheet Column Numberchevron-right0172. Factorial Trailing Zeroeschevron-right0173. Binary Search Tree Iteratorchevron-right0174. Dungeon Gamechevron-right0175. Combine Two Tableschevron-right0176. Second Highest Salarychevron-right0177. Nth Highest Salarychevron-right0178. Rank Scoreschevron-right0179. Largest Numberchevron-right0180. Consecutive Numberschevron-right0181. Employees Earning More Than Their Managerschevron-right0182. Duplicate Emailschevron-right0183. Customers Who Never Orderchevron-right0184. Department Highest Salarychevron-right0185. Department Top Three Salarieschevron-right0186. Reverse Words in a String IIchevron-right0187. Repeated DNA Sequenceschevron-right0188. Best Time to Buy and Sell Stock IVchevron-right0189. Rotate Arraychevron-right0190. Reverse Bitschevron-right0191. Number of 1 Bitschevron-right0192. Word Frequencychevron-right0193. Valid Phone Numberschevron-right0194. Transpose Filechevron-right0195. Tenth Linechevron-right0196. Delete Duplicate Emailschevron-right0197. Rising Temperaturechevron-right0198. House Robberchevron-right0199. Binary Tree Right Side Viewchevron-right0200. Number of Islandschevron-right0201. Bitwise AND of Numbers Rangechevron-right0202. Happy Numberchevron-right0203. Remove Linked List Elementschevron-right0204. Count Primeschevron-right0205. Isomorphic Stringschevron-right0206. Reverse Linked Listchevron-right0207. Course Schedulechevron-right0208. Implement Trie (solutions/Prefix Tree)chevron-right0209. Minimum Size Subarray Sumchevron-right0210. Course Schedule IIchevron-right0211. Design Add and Search Words Data Structurechevron-right0212. Word Search IIchevron-right0213. House Robber IIchevron-right0214. Shortest Palindromechevron-right0215. Kth Largest Element in an Arraychevron-right0216. Combination Sum IIIchevron-right0217. Contains Duplicatechevron-right0218. The Skyline Problemchevron-right0219. Contains Duplicate IIchevron-right0220. Contains Duplicate IIIchevron-right0221. Maximal Squarechevron-right0222. Count Complete Tree Nodeschevron-right0223. Rectangle Areachevron-right0224. Basic Calculatorchevron-right0225. Implement Stack using Queueschevron-right0226. Invert Binary Treechevron-right0227. Basic Calculator IIchevron-right0228. Summary Rangeschevron-right0229. Majority Element IIchevron-right0230. Kth Smallest Element in a BSTchevron-right0231. Power of Twochevron-right0232. Implement Queue using Stackschevron-right0233. Number of Digit Onechevron-right0234. Palindrome Linked Listchevron-right0235. Lowest Common Ancestor of a Binary Search Treechevron-right0236. Lowest Common Ancestor of a Binary Treechevron-right0237. Delete Node in a Linked Listchevron-right0238. Product of Array Except Selfchevron-right0239. Sliding Window Maximumchevron-right0240. Search a 2D Matrix IIchevron-right0241. Different Ways to Add Parentheseschevron-right0242. Valid Anagramchevron-right0243. Shortest Word Distancechevron-right0244. Shortest Word Distance IIchevron-right0245. Shortest Word Distance IIIchevron-right0246. Strobogrammatic Numberchevron-right0247. Strobogrammatic Number IIchevron-right0248. Strobogrammatic Number IIIchevron-right0249. Group Shifted Stringschevron-right0250. Count Univalue Subtreeschevron-right0251. Flatten 2D Vectorchevron-right0252. Meeting Roomschevron-right0253. Meeting Rooms IIchevron-right0254. Factor Combinationschevron-right0255. Verify Preorder Sequence in Binary Search Treechevron-right0256. Paint Housechevron-right0257. Binary Tree Pathschevron-right0258. Add Digitschevron-right0259. 3Sum Smallerchevron-right0260. Single Number IIIchevron-right0261. Graph Valid Treechevron-right0262. Trips and Userschevron-right0263. Ugly Numberchevron-right0264. Ugly Number IIchevron-right0265. Paint House IIchevron-right0266. Palindrome Permutationchevron-right0267. Palindrome Permutation IIchevron-right0268. Missing Numberchevron-right0269. Alien Dictionarychevron-right0270. Closest Binary Search Tree Valuechevron-right0271. Encode and Decode Stringschevron-right0272. Closest Binary Search Tree Value IIchevron-right0273. Integer to English Wordschevron-right0274. H-Indexchevron-right0275. H-Index IIchevron-right0276. Paint Fencechevron-right0277. Find the Celebritychevron-right0278. First Bad Versionchevron-right0279. Perfect Squareschevron-right0280. Wiggle Sortchevron-right0281. Zigzag Iteratorchevron-right0282. Expression Add Operatorschevron-right0283. Move Zeroeschevron-right0284. Peeking Iteratorchevron-right0285. Inorder Successor in BSTchevron-right0286. Walls and Gateschevron-right0287. Find the Duplicate Numberchevron-right0288. Unique Word Abbreviationchevron-right0289. Game of Lifechevron-right0290. Word Patternchevron-right0291. Word Pattern IIchevron-right0292. Nim Gamechevron-right0293. Flip Gamechevron-right0294. Flip Game IIchevron-right0295. Find Median from Data Streamchevron-right0296. Best Meeting Pointchevron-right0297. Serialize and Deserialize Binary Treechevron-right0298. Binary Tree Longest Consecutive Sequencechevron-right0299. Bulls and Cowschevron-right0300. Longest Increasing Subsequencechevron-right0301. Remove Invalid Parentheseschevron-right0302. Smallest Rectangle Enclosing Black Pixelschevron-right0303. Range Sum Query - Immutablechevron-right0304. Range Sum Query 2D - Immutablechevron-right0305. Number of Islands IIchevron-right0306. Additive Numberchevron-right0307. Range Sum Query - Mutablechevron-right0308. Range Sum Query 2D - Mutablechevron-right0309. Best Time to Buy and Sell Stock with Cooldownchevron-right0310. Minimum Height Treeschevron-right0311. Sparse Matrix Multiplicationchevron-right0312. Burst Balloonschevron-right0313. Super Ugly Numberchevron-right0314. Binary Tree Vertical Order Traversalchevron-right0315. Count of Smaller Numbers After Selfchevron-right0316. Remove Duplicate Letterschevron-right0317. Shortest Distance from All Buildingschevron-right0318. Maximum Product of Word Lengthschevron-right0319. Bulb Switcherchevron-right0320. Generalized Abbreviationchevron-right0321. Create Maximum Numberchevron-right0322. Coin Changechevron-right0323. Number of Connected Components in an Undirected Graphchevron-right0324. Wiggle Sort IIchevron-right0325. Maximum Size Subarray Sum Equals kchevron-right0326. Power of Threechevron-right0327. Count of Range Sumchevron-right0328. Odd Even Linked Listchevron-right0329. Longest Increasing Path in a Matrixchevron-right0330. Patching Arraychevron-right0331. Verify Preorder Serialization of a Binary Treechevron-right0332. Reconstruct Itinerarychevron-right0333. Largest BST Subtreechevron-right0334. Increasing Triplet Subsequencechevron-right0335. Self Crossingchevron-right0336. Palindrome Pairschevron-right0337. House Robber IIIchevron-right0338. Counting Bitschevron-right0339. Nested List Weight Sumchevron-right0340. Longest Substring with At Most K Distinct Characterschevron-right0341. Flatten Nested List Iteratorchevron-right0342. Power of Fourchevron-right0343. Integer Breakchevron-right0344. Reverse Stringchevron-right0345. Reverse Vowels of a Stringchevron-right0346. Moving Average from Data Streamchevron-right0347. Top K Frequent Elementschevron-right0348. Design Tic-Tac-Toechevron-right0349. Intersection of Two Arrayschevron-right0350. Intersection of Two Arrays IIchevron-right0351. Android Unlock Patternschevron-right0352. Data Stream as Disjoint Intervalschevron-right0353. Design Snake Gamechevron-right0354. Russian Doll Envelopeschevron-right0355. Design Twitterchevron-right0356. Line Reflectionchevron-right0357. Count Numbers with Unique Digitschevron-right0358. Rearrange String k Distance Apartchevron-right0359. Logger Rate Limiterchevron-right0360. Sort Transformed Arraychevron-right0361. Bomb Enemychevron-right0362. Design Hit Counterchevron-right0363. Max Sum of Rectangle No Larger Than Kchevron-right0364. Nested List Weight Sum IIchevron-right0365. Water and Jug Problemchevron-right0366. Find Leaves of Binary Treechevron-right0367. Valid Perfect Squarechevron-right0368. Largest Divisible Subsetchevron-right0369. Plus One Linked Listchevron-right0370. Range Additionchevron-right0371. Sum of Two Integerschevron-right0372. Super Powchevron-right0373. Find K Pairs with Smallest Sumschevron-right0374. Guess Number Higher or Lowerchevron-right0375. Guess Number Higher or Lower IIchevron-right0376. Wiggle Subsequencechevron-right0377. Combination Sum IVchevron-right0378. Kth Smallest Element in a Sorted Matrixchevron-right0379. Design Phone Directorychevron-right0380. Insert Delete GetRandom O(solutions/1)chevron-right0381. Insert Delete GetRandom O(solutions/1) - Duplicates allowedchevron-right0382. Linked List Random Nodechevron-right0383. Ransom Notechevron-right0384. Shuffle an Arraychevron-right0385. Mini Parserchevron-right0386. Lexicographical Numberschevron-right0387. First Unique Character in a Stringchevron-right0388. Longest Absolute File Pathchevron-right0389. Find the Differencechevron-right0390. Elimination Gamechevron-right0391. Perfect Rectanglechevron-right0392. Is Subsequencechevron-right0393. UTF-8 Validationchevron-right0394. Decode Stringchevron-right0395. Longest Substring with At Least K Repeating Characterschevron-right0396. Rotate Functionchevron-right0397. Integer Replacementchevron-right0398. Random Pick Indexchevron-right0399. Evaluate Divisionchevron-right0400. Nth Digitchevron-right0401. Binary Watchchevron-right0402. Remove K Digitschevron-right0403. Frog Jumpchevron-right0404. Sum of Left Leaveschevron-right0405. Convert a Number to Hexadecimalchevron-right0406. Queue Reconstruction by Heightchevron-right0407. Trapping Rain Water IIchevron-right0408. Valid Word Abbreviationchevron-right0409. Longest Palindromechevron-right0410. Split Array Largest Sumchevron-right0411. Minimum Unique Word Abbreviationchevron-right0412. Fizz Buzzchevron-right0413. Arithmetic Sliceschevron-right0414. Third Maximum Numberchevron-right0415. Add Stringschevron-right0416. Partition Equal Subset Sumchevron-right0417. Pacific Atlantic Water Flowchevron-right0418. Sentence Screen Fittingchevron-right0419. Battleships in a Boardchevron-right0420. Strong Password Checkerchevron-right0421. Maximum XOR of Two Numbers in an Arraychevron-right0422. Valid Word Squarechevron-right0423. Reconstruct Original Digits from Englishchevron-right0424. Longest Repeating Character Replacementchevron-right0425. Word Squareschevron-right0426. Convert Binary Search Tree to Sorted Doubly Linked Listchevron-right0427. Construct Quad Treechevron-right0428. Serialize and Deserialize N-ary Treechevron-right0429. N-ary Tree Level Order Traversalchevron-right0430. Flatten a Multilevel Doubly Linked Listchevron-right0431. Encode N-ary Tree to Binary Treechevron-right0432. All O`one Data Structurechevron-right0433. Minimum Genetic Mutationchevron-right0434. Number of Segments in a Stringchevron-right0435. Non-overlapping Intervalschevron-right0436. Find Right Intervalchevron-right0437. Path Sum IIIchevron-right0438. Find All Anagrams in a Stringchevron-right0439. Ternary Expression Parserchevron-right0440. K-th Smallest in Lexicographical Orderchevron-right0441. Arranging Coinschevron-right0442. Find All Duplicates in an Arraychevron-right0443. String Compressionchevron-right0444. Sequence Reconstructionchevron-right0445. Add Two Numbers IIchevron-right0446. Arithmetic Slices II - Subsequencechevron-right0447. Number of Boomerangschevron-right0448. Find All Numbers Disappeared in an Arraychevron-right0449. Serialize and Deserialize BSTchevron-right0450. Delete Node in a BSTchevron-right0451. Sort Characters By Frequencychevron-right0452. Minimum Number of Arrows to Burst Balloonschevron-right0453. Minimum Moves to Equal Array Elementschevron-right0454. 4Sum IIchevron-right0455. Assign Cookieschevron-right0456. 132 Patternchevron-right0457. Circular Array Loopchevron-right0458. Poor Pigschevron-right0459. Repeated Substring Patternchevron-right0460. LFU Cachechevron-right0461. Hamming Distancechevron-right0462. Minimum Moves to Equal Array Elements IIchevron-right0463. Island Perimeterchevron-right0464. Can I Winchevron-right0465. Optimal Account Balancingchevron-right0466. Count The Repetitionschevron-right0467. Unique Substrings in Wraparound Stringchevron-right0468. Validate IP Addresschevron-right0469. Convex Polygonchevron-right0470. Implement Rand10(solutions/) Using Rand7(solutions/)chevron-right0471. Encode String with Shortest Lengthchevron-right0472. Concatenated Wordschevron-right0473. Matchsticks to Squarechevron-right0474. Ones and Zeroeschevron-right0475. Heaterschevron-right0476. Number Complementchevron-right0477. Total Hamming Distancechevron-right0478. Generate Random Point in a Circlechevron-right0479. Largest Palindrome Productchevron-right0480. Sliding Window Medianchevron-right0481. Magical Stringchevron-right0482. License Key Formattingchevron-right0483. Smallest Good Basechevron-right0484. Find Permutationchevron-right0485. Max Consecutive Oneschevron-right0486. Predict the Winnerchevron-right0487. Max Consecutive Ones IIchevron-right0488. Zuma Gamechevron-right0489. Robot Room Cleanerchevron-right0490. The Mazechevron-right0491. Increasing Subsequenceschevron-right0492. Construct the Rectanglechevron-right0493. Reverse Pairschevron-right0494. Target Sumchevron-right0495. Teemo Attackingchevron-right0496. Next Greater Element Ichevron-right0497. Random Point in Non-overlapping Rectangleschevron-right0498. Diagonal Traversechevron-right0499. The Maze IIIchevron-right0500. Keyboard Rowchevron-right0501. Find Mode in Binary Search Treechevron-right0502. IPOchevron-right0503. Next Greater Element IIchevron-right0504. Base 7chevron-right0505. The Maze IIchevron-right0506. Relative Rankschevron-right0507. Perfect Numberchevron-right0508. Most Frequent Subtree Sumchevron-right0509. Fibonacci Numberchevron-right0510. Inorder Successor in BST IIchevron-right0511. Game Play Analysis Ichevron-right0512. Game Play Analysis IIchevron-right0513. Find Bottom Left Tree Valuechevron-right0514. Freedom Trailchevron-right0515. Find Largest Value in Each Tree Rowchevron-right0516. Longest Palindromic Subsequencechevron-right0517. Super Washing Machineschevron-right0518. Coin Change 2chevron-right0519. Random Flip Matrixchevron-right0520. Detect Capitalchevron-right0521. Longest Uncommon Subsequence Ichevron-right0522. Longest Uncommon Subsequence IIchevron-right0523. Continuous Subarray Sumchevron-right0524. Longest Word in Dictionary through Deletingchevron-right0525. Contiguous Arraychevron-right0526. Beautiful Arrangementchevron-right0527. Word Abbreviationchevron-right0528. Random Pick with Weightchevron-right0529. Minesweeperchevron-right0530. Minimum Absolute Difference in BSTchevron-right0531. Lonely Pixel Ichevron-right0532. K-diff Pairs in an Arraychevron-right0533. Lonely Pixel IIchevron-right0534. Game Play Analysis IIIchevron-right0535. Encode and Decode TinyURLchevron-right0536. Construct Binary Tree from Stringchevron-right0537. Complex Number Multiplicationchevron-right0538. Convert BST to Greater Treechevron-right0539. Minimum Time Differencechevron-right0540. Single Element in a Sorted Arraychevron-right0541. Reverse String IIchevron-right0542. 01 Matrixchevron-right0543. Diameter of Binary Treechevron-right0544. Output Contest Matcheschevron-right0545. Boundary of Binary Treechevron-right0546. Remove Boxeschevron-right0547. Number of Provinceschevron-right0548. Split Array with Equal Sumchevron-right0549. Binary Tree Longest Consecutive Sequence IIchevron-right0550. Game Play Analysis IVchevron-right0551. Student Attendance Record Ichevron-right0552. Student Attendance Record IIchevron-right0553. Optimal Divisionchevron-right0554. Brick Wallchevron-right0555. Split Concatenated Stringschevron-right0556. Next Greater Element IIIchevron-right0557. Reverse Words in a String IIIchevron-right0558. Logical OR of Two Binary Grids Represented as Quad-Treeschevron-right0559. Maximum Depth of N-ary Treechevron-right0560. Subarray Sum Equals Kchevron-right0561. Array Partition Ichevron-right0562. Longest Line of Consecutive One in Matrixchevron-right0563. Binary Tree Tiltchevron-right0564. Find the Closest Palindromechevron-right0565. Array Nestingchevron-right0566. Reshape the Matrixchevron-right0567. Permutation in Stringchevron-right0568. Maximum Vacation Dayschevron-right0569. Median Employee Salarychevron-right0570. Managers with at Least 5 Direct Reportschevron-right0571. Find Median Given Frequency of Numberschevron-right0572. Subtree of Another Treechevron-right0573. Squirrel Simulationchevron-right0574. Winning Candidatechevron-right0575. Distribute Candieschevron-right0576. Out of Boundary Pathschevron-right0577. Employee Bonuschevron-right0578. Get Highest Answer Rate Questionchevron-right0579. Find Cumulative Salary of an Employeechevron-right0580. Count Student Number in Departmentschevron-right0581. Shortest Unsorted Continuous Subarraychevron-right0582. Kill Processchevron-right0583. Delete Operation for Two Stringschevron-right0584. Find Customer Refereechevron-right0585. Investments in 2016chevron-right0586. Customer Placing the Largest Number of Orderschevron-right0587. Erect the Fencechevron-right0588. Design In-Memory File Systemchevron-right0589. N-ary Tree Preorder Traversalchevron-right0590. N-ary Tree Postorder Traversalchevron-right0591. Tag Validatorchevron-right0592. Fraction Addition and Subtractionchevron-right0593. Valid Squarechevron-right0594. Longest Harmonious Subsequencechevron-right0595. Big Countrieschevron-right0596. Classes More Than 5 Studentschevron-right0597. Friend Requests I: Overall Acceptance Ratechevron-right0598. Range Addition IIchevron-right0599. Minimum Index Sum of Two Listschevron-right0600. Non-negative Integers without Consecutive Oneschevron-right0601. Human Traffic of Stadiumchevron-right0602. Friend Requests II: Who Has the Most Friendschevron-right0603. Consecutive Available Seatschevron-right0604. Design Compressed String Iteratorchevron-right0605. Can Place Flowerschevron-right0606. Construct String from Binary Treechevron-right0607. Sales Personchevron-right0608. Tree Nodechevron-right0609. Find Duplicate File in Systemchevron-right0610. Triangle Judgementchevron-right0611. Valid Triangle Numberchevron-right0612. Shortest Distance in a Planechevron-right0613. Shortest Distance in a Linechevron-right0614. Second Degree Followerchevron-right0615. Average Salary: Departments VS Companychevron-right0616. Add Bold Tag in Stringchevron-right0617. Merge Two Binary Treeschevron-right0618. Students Report By Geographychevron-right0619. Biggest Single Numberchevron-right0620. Not Boring Movieschevron-right0621. Task Schedulerchevron-right0622. Design Circular Queuechevron-right0623. Add One Row to Treechevron-right0624. Maximum Distance in Arrayschevron-right0625. Minimum Factorizationchevron-right0626. Exchange Seatschevron-right0627. Swap Salarychevron-right0628. Maximum Product of Three Numberschevron-right0629. K Inverse Pairs Arraychevron-right0630. Course Schedule IIIchevron-right0631. Design Excel Sum Formulachevron-right0632. Smallest Range Covering Elements from K Listschevron-right0633. Sum of Square Numberschevron-right0634. Find the Derangement of An Arraychevron-right0635. Design Log Storage Systemchevron-right0636. Exclusive Time of Functionschevron-right0637. Average of Levels in Binary Treechevron-right0638. Shopping Offerschevron-right0639. Decode Ways IIchevron-right0640. Solve the Equationchevron-right0641. Design Circular Dequechevron-right0642. Design Search Autocomplete Systemchevron-right0643. Maximum Average Subarray Ichevron-right0644. Maximum Average Subarray IIchevron-right0645. Set Mismatchchevron-right0646. Maximum Length of Pair Chainchevron-right0647. Palindromic Substringschevron-right0648. Replace Wordschevron-right0649. Dota2 Senatechevron-right0650. 2 Keys Keyboardchevron-right0651. 4 Keys Keyboardchevron-right0652. Find Duplicate Subtreeschevron-right0653. Two Sum IV - Input is a BSTchevron-right0654. Maximum Binary Treechevron-right0655. Print Binary Treechevron-right0656. Coin Pathchevron-right0657. Robot Return to Originchevron-right0658. Find K Closest Elementschevron-right0659. Split Array into Consecutive Subsequenceschevron-right0660. Remove 9chevron-right0661. Image Smootherchevron-right0662. Maximum Width of Binary Treechevron-right0663. Equal Tree Partitionchevron-right0664. Strange Printerchevron-right0665. Non-decreasing Arraychevron-right0666. Path Sum IVchevron-right0667. Beautiful Arrangement IIchevron-right0668. Kth Smallest Number in Multiplication Tablechevron-right0669. Trim a Binary Search Treechevron-right0670. Maximum Swapchevron-right0671. Second Minimum Node In a Binary Treechevron-right0672. Bulb Switcher IIchevron-right0673. Number of Longest Increasing Subsequencechevron-right0674. Longest Continuous Increasing Subsequencechevron-right0675. Cut Off Trees for Golf Eventchevron-right0676. Implement Magic Dictionarychevron-right0677. Map Sum Pairschevron-right0678. Valid Parenthesis Stringchevron-right0679. 24 Gamechevron-right0680. Valid Palindrome IIchevron-right0681. Next Closest Timechevron-right0682. Baseball Gamechevron-right0683. K Empty Slotschevron-right0684. Redundant Connectionchevron-right0685. Redundant Connection IIchevron-right0686. Repeated String Matchchevron-right0687. Longest Univalue Pathchevron-right0688. Knight Probability in Chessboardchevron-right0689. Maximum Sum of 3 Non-Overlapping Subarrayschevron-right0690. Employee Importancechevron-right0691. Stickers to Spell Wordchevron-right0692. Top K Frequent Wordschevron-right0693. Binary Number with Alternating Bitschevron-right0694. Number of Distinct Islandschevron-right0695. Max Area of Islandchevron-right0696. Count Binary Substringschevron-right0697. Degree of an Arraychevron-right0698. Partition to K Equal Sum Subsetschevron-right0699. Falling Squareschevron-right0700. Search in a Binary Search Treechevron-right0701. Insert into a Binary Search Treechevron-right0702. Search in a Sorted Array of Unknown Sizechevron-right0703. Kth Largest Element in a Streamchevron-right0704. Binary Searchchevron-right0705. Design HashSetchevron-right0706. Design HashMapchevron-right0707. Design Linked Listchevron-right0708. Insert into a Sorted Circular Linked Listchevron-right0709. To Lower Casechevron-right0710. Random Pick with Blacklistchevron-right0711. Number of Distinct Islands IIchevron-right0712. Minimum ASCII Delete Sum for Two Stringschevron-right0713. Subarray Product Less Than Kchevron-right0714. Best Time to Buy and Sell Stock with Transaction Feechevron-right0715. Range Modulechevron-right0716. Max Stackchevron-right0717. 1-bit and 2-bit Characterschevron-right0718. Maximum Length of Repeated Subarraychevron-right0719. Find K-th Smallest Pair Distancechevron-right0720. Longest Word in Dictionarychevron-right0721. Accounts Mergechevron-right0722. Remove Commentschevron-right0723. Candy Crushchevron-right0724. Find Pivot Indexchevron-right0725. Split Linked List in Partschevron-right0726. Number of Atomschevron-right0727. Minimum Window Subsequencechevron-right0728. Self Dividing Numberschevron-right0729. My Calendar Ichevron-right0730. Count Different Palindromic Subsequenceschevron-right0731. My Calendar IIchevron-right0732. My Calendar IIIchevron-right0733. Flood Fillchevron-right0734. Sentence Similaritychevron-right0735. Asteroid Collisionchevron-right0736. Parse Lisp Expressionchevron-right0737. Sentence Similarity IIchevron-right0738. Monotone Increasing Digitschevron-right0739. Daily Temperatureschevron-right0740. Delete and Earnchevron-right0741. Cherry Pickupchevron-right0742. Closest Leaf in a Binary Treechevron-right0743. Network Delay Timechevron-right0744. Find Smallest Letter Greater Than Targetchevron-right0745. Prefix and Suffix Searchchevron-right0746. Min Cost Climbing Stairschevron-right0747. Largest Number At Least Twice of Otherschevron-right0748. Shortest Completing Wordchevron-right0749. Contain Viruschevron-right0750. Number Of Corner Rectangleschevron-right0751. IP to CIDRchevron-right0752. Open the Lockchevron-right0753. Cracking the Safechevron-right0754. Reach a Numberchevron-right0755. Pour Waterchevron-right0756. Pyramid Transition Matrixchevron-right0757. Set Intersection Size At Least Twochevron-right0758. Bold Words in Stringchevron-right0759. Employee Free Timechevron-right0760. Find Anagram Mappingschevron-right0761. Special Binary Stringchevron-right0762. Prime Number of Set Bits in Binary Representationchevron-right0763. Partition Labelschevron-right0764. Largest Plus Signchevron-right0765. Couples Holding Handschevron-right0766. Toeplitz Matrixchevron-right0767. Reorganize Stringchevron-right0768. Max Chunks To Make Sorted IIchevron-right0769. Max Chunks To Make Sortedchevron-right0770. Basic Calculator IVchevron-right0771. Jewels and Stoneschevron-right0772. Basic Calculator IIIchevron-right0773. Sliding Puzzlechevron-right0774. Minimize Max Distance to Gas Stationchevron-right0775. Global and Local Inversionschevron-right0776. Split BSTchevron-right0777. Swap Adjacent in LR Stringchevron-right0778. Swim in Rising Waterchevron-right0779. K-th Symbol in Grammarchevron-right0780. Reaching Pointschevron-right0781. Rabbits in Forestchevron-right0782. Transform to Chessboardchevron-right0783. Minimum Distance Between BST Nodeschevron-right0784. Letter Case Permutationchevron-right0785. Is Graph Bipartite?chevron-right0786. K-th Smallest Prime Fractionchevron-right0787. Cheapest Flights Within K Stopschevron-right0788. Rotated Digitschevron-right0789. Escape The Ghostschevron-right0790. Domino and Tromino Tilingchevron-right0791. Custom Sort Stringchevron-right0792. Number of Matching Subsequenceschevron-right0793. Preimage Size of Factorial Zeroes Functionchevron-right0794. Valid Tic-Tac-Toe Statechevron-right0795. Number of Subarrays with Bounded Maximumchevron-right0796. Rotate Stringchevron-right0797. All Paths From Source to Targetchevron-right0798. Smallest Rotation with Highest Scorechevron-right0799. Champagne Towerchevron-right0800. Similar RGB Colorchevron-right0801. Minimum Swaps To Make Sequences Increasingchevron-right0802. Find Eventual Safe Stateschevron-right0803. Bricks Falling When Hitchevron-right0804. Unique Morse Code Wordschevron-right0805. Split Array With Same Averagechevron-right0806. Number of Lines To Write Stringchevron-right0807. Max Increase to Keep City Skylinechevron-right0808. Soup Servingschevron-right0809. Expressive Wordschevron-right0810. Chalkboard XOR Gamechevron-right0811. Subdomain Visit Countchevron-right0812. Largest Triangle Areachevron-right0813. Largest Sum of Averageschevron-right0814. Binary Tree Pruningchevron-right0815. Bus Routeschevron-right0816. Ambiguous Coordinateschevron-right0817. Linked List Componentschevron-right0818. Race Carchevron-right0819. Most Common Wordchevron-right0820. Short Encoding of Wordschevron-right0821. Shortest Distance to a Characterchevron-right0822. Card Flipping Gamechevron-right0823. Binary Trees With Factorschevron-right0824. Goat Latinchevron-right0825. Friends Of Appropriate Ageschevron-right0826. Most Profit Assigning Workchevron-right0827. Making A Large Islandchevron-right0828. Count Unique Characters of All Substrings of a Given Stringchevron-right0829. Consecutive Numbers Sumchevron-right0830. Positions of Large Groupschevron-right0831. Masking Personal Informationchevron-right0832. Flipping an Imagechevron-right0833. Find And Replace in Stringchevron-right0834. Sum of Distances in Treechevron-right0835. Image Overlapchevron-right0836. Rectangle Overlapchevron-right0837. New 21 Gamechevron-right0838. Push Dominoeschevron-right0839. Similar String Groupschevron-right0840. Magic Squares In Gridchevron-right0841. Keys and Roomschevron-right0842. Split Array into Fibonacci Sequencechevron-right0843. Guess the Wordchevron-right0844. Backspace String Comparechevron-right0845. Longest Mountain in Arraychevron-right0846. Hand of Straightschevron-right0847. Shortest Path Visiting All Nodeschevron-right0848. Shifting Letterschevron-right0849. Maximize Distance to Closest Personchevron-right0850. Rectangle Area IIchevron-right0851. Loud and Richchevron-right0852. Peak Index in a Mountain Arraychevron-right0853. Car Fleetchevron-right0854. K-Similar Stringschevron-right0855. Exam Roomchevron-right0856. Score of Parentheseschevron-right0857. Minimum Cost to Hire K Workerschevron-right0858. Mirror Reflectionchevron-right0859. Buddy Stringschevron-right0860. Lemonade Changechevron-right0861. Score After Flipping Matrixchevron-right0862. Shortest Subarray with Sum at Least Kchevron-right0863. All Nodes Distance K in Binary Treechevron-right0864. Shortest Path to Get All Keyschevron-right0865. Smallest Subtree with all the Deepest Nodeschevron-right0866. Prime Palindromechevron-right0867. Transpose Matrixchevron-right0868. Binary Gapchevron-right0869. Reordered Power of 2chevron-right0870. Advantage Shufflechevron-right0871. Minimum Number of Refueling Stopschevron-right0872. Leaf-Similar Treeschevron-right0873. Length of Longest Fibonacci Subsequencechevron-right0874. Walking Robot Simulationchevron-right0875. Koko Eating Bananaschevron-right0876. Middle of the Linked Listchevron-right0877. Stone Gamechevron-right0878. Nth Magical Numberchevron-right0879. Profitable Schemeschevron-right0880. Decoded String at Indexchevron-right0881. Boats to Save Peoplechevron-right0882. Reachable Nodes In Subdivided Graphchevron-right0883. Projection Area of 3D Shapeschevron-right0884. Uncommon Words from Two Sentenceschevron-right0885. Spiral Matrix IIIchevron-right0886. Possible Bipartitionchevron-right0887. Super Egg Dropchevron-right0888. Fair Candy Swapchevron-right0889. Construct Binary Tree from Preorder and Postorder Traversalchevron-right0890. Find and Replace Patternchevron-right0891. Sum of Subsequence Widthschevron-right0892. Surface Area of 3D Shapeschevron-right0893. Groups of Special-Equivalent Stringschevron-right0894. All Possible Full Binary Treeschevron-right0895. Maximum Frequency Stackchevron-right0896. Monotonic Arraychevron-right0897. Increasing Order Search Treechevron-right0898. Bitwise ORs of Subarrayschevron-right0899. Orderly Queuechevron-right0900. RLE Iteratorchevron-right0901. Online Stock Spanchevron-right0902. Numbers At Most N Given Digit Setchevron-right0903. Valid Permutations for DI Sequencechevron-right0904. Fruit Into Basketschevron-right0905. Sort Array By Paritychevron-right0906. Super Palindromeschevron-right0907. Sum of Subarray Minimumschevron-right0908. Smallest Range Ichevron-right0909. Snakes and Ladderschevron-right0910. Smallest Range IIchevron-right0911. Online Electionchevron-right0912. Sort an Arraychevron-right0913. Cat and Mousechevron-right0914. X of a Kind in a Deck of Cardschevron-right0915. Partition Array into Disjoint Intervalschevron-right0916. Word Subsetschevron-right0917. Reverse Only Letterschevron-right0918. Maximum Sum Circular Subarraychevron-right0919. Complete Binary Tree Inserterchevron-right0920. Number of Music Playlistschevron-right0921. Minimum Add to Make Parentheses Validchevron-right0922. Sort Array By Parity IIchevron-right0923. 3Sum With Multiplicitychevron-right0924. Minimize Malware Spreadchevron-right0925. Long Pressed Namechevron-right0926. Flip String to Monotone Increasingchevron-right0927. Three Equal Partschevron-right0928. Minimize Malware Spread IIchevron-right0929. Unique Email Addresseschevron-right0930. Binary Subarrays With Sumchevron-right0931. Minimum Falling Path Sumchevron-right0932. Beautiful Arraychevron-right0933. Number of Recent Callschevron-right0934. Shortest Bridgechevron-right0935. Knight Dialerchevron-right0936. Stamping The Sequencechevron-right0937. Reorder Data in Log Fileschevron-right0938. Range Sum of BSTchevron-right0939. Minimum Area Rectanglechevron-right0940. Distinct Subsequences IIchevron-right0941. Valid Mountain Arraychevron-right0942. DI String Matchchevron-right0943. Find the Shortest Superstringchevron-right0944. Delete Columns to Make Sortedchevron-right0945. Minimum Increment to Make Array Uniquechevron-right0946. Validate Stack Sequenceschevron-right0947. Most Stones Removed with Same Row or Columnchevron-right0948. Bag of Tokenschevron-right0949. Largest Time for Given Digitschevron-right0950. Reveal Cards In Increasing Orderchevron-right0951. Flip Equivalent Binary Treeschevron-right0952. Largest Component Size by Common Factorchevron-right0953. Verifying an Alien Dictionarychevron-right0954. Array of Doubled Pairschevron-right0955. Delete Columns to Make Sorted IIchevron-right0956. Tallest Billboardchevron-right0957. Prison Cells After N Dayschevron-right0958. Check Completeness of a Binary Treechevron-right0959. Regions Cut By Slasheschevron-right0960. Delete Columns to Make Sorted IIIchevron-right0961. N-Repeated Element in Size 2N Arraychevron-right0962. Maximum Width Rampchevron-right0963. Minimum Area Rectangle IIchevron-right0964. Least Operators to Express Numberchevron-right0965. Univalued Binary Treechevron-right0966. Vowel Spellcheckerchevron-right0967. Numbers With Same Consecutive Differenceschevron-right0968. Binary Tree Cameraschevron-right0969. Pancake Sortingchevron-right0970. Powerful Integerschevron-right0971. Flip Binary Tree To Match Preorder Traversalchevron-right0972. Equal Rational Numberschevron-right0973. K Closest Points to Originchevron-right0974. Subarray Sums Divisible by Kchevron-right0975. Odd Even Jumpchevron-right0976. Largest Perimeter Trianglechevron-right0977. Squares of a Sorted Arraychevron-right0978. Longest Turbulent Subarraychevron-right0979. Distribute Coins in Binary Treechevron-right0980. Unique Paths IIIchevron-right0981. Time Based Key-Value Storechevron-right0982. Triples with Bitwise AND Equal To Zerochevron-right0983. Minimum Cost For Ticketschevron-right0984. String Without AAA or BBBchevron-right0985. Sum of Even Numbers After Querieschevron-right0986. Interval List Intersectionschevron-right0987. Vertical Order Traversal of a Binary Treechevron-right0988. Smallest String Starting From Leafchevron-right0989. Add to Array-Form of Integerchevron-right0990. Satisfiability of Equality Equationschevron-right0991. Broken Calculatorchevron-right0992. Subarrays with K Different Integerschevron-right0993. Cousins in Binary Treechevron-right0994. Rotting Orangeschevron-right0995. Minimum Number of K Consecutive Bit Flipschevron-right0996. Number of Squareful Arrayschevron-right0997. Find the Town Judgechevron-right0998. Maximum Binary Tree IIchevron-right0999. Available Captures for Rookchevron-right1000. Minimum Cost to Merge Stoneschevron-right1001. Grid Illuminationchevron-right1002. Find Common Characterschevron-right1003. Check If Word Is Valid After Substitutionschevron-right1004. Max Consecutive Ones IIIchevron-right1005. Maximize Sum Of Array After K Negationschevron-right1006. Clumsy Factorialchevron-right1007. Minimum Domino Rotations For Equal Rowchevron-right1008. Construct Binary Search Tree from Preorder Traversalchevron-right1009. Complement of Base 10 Integerchevron-right1010. Pairs of Songs With Total Durations Divisible by 60chevron-right1011. Capacity To Ship Packages Within D Dayschevron-right1012. Numbers With Repeated Digitschevron-right1013. Partition Array Into Three Parts With Equal Sumchevron-right1014. Best Sightseeing Pairchevron-right1015. Smallest Integer Divisible by Kchevron-right1016. Binary String With Substrings Representing 1 To Nchevron-right1017. Convert to Base -2chevron-right1018. Binary Prefix Divisible By 5chevron-right1019. Next Greater Node In Linked Listchevron-right1020. Number of Enclaveschevron-right1021. Remove Outermost Parentheseschevron-right1022. Sum of Root To Leaf Binary Numberschevron-right1023. Camelcase Matchingchevron-right1024. Video Stitchingchevron-right1025. Divisor Gamechevron-right1026. Maximum Difference Between Node and Ancestorchevron-right1027. Longest Arithmetic Subsequencechevron-right1028. Recover a Tree From Preorder Traversalchevron-right1029. Two City Schedulingchevron-right1030. Matrix Cells in Distance Orderchevron-right1031. Maximum Sum of Two Non-Overlapping Subarrayschevron-right1032. Stream of Characterschevron-right1033. Moving Stones Until Consecutivechevron-right1034. Coloring A Borderchevron-right1035. Uncrossed Lineschevron-right1036. Escape a Large Mazechevron-right1037. Valid Boomerangchevron-right1038. Binary Search Tree to Greater Sum Treechevron-right1039. Minimum Score Triangulation of Polygonchevron-right1040. Moving Stones Until Consecutive IIchevron-right1041. Robot Bounded In Circlechevron-right1042. Flower Planting With No Adjacentchevron-right1043. Partition Array for Maximum Sumchevron-right1044. Longest Duplicate Substringchevron-right1045. Customers Who Bought All Productschevron-right1046. Last Stone Weightchevron-right1047. Remove All Adjacent Duplicates In Stringchevron-right1048. Longest String Chainchevron-right1049. Last Stone Weight IIchevron-right1050. Actors and Directors Who Cooperated At Least Three Timeschevron-right1051. Height Checkerchevron-right1052. Grumpy Bookstore Ownerchevron-right1053. Previous Permutation With One Swapchevron-right1054. Distant Barcodeschevron-right1055. Shortest Way to Form Stringchevron-right1056. Confusing Numberchevron-right1057. Campus Bikeschevron-right1058. Minimize Rounding Error to Meet Targetchevron-right1059. All Paths from Source Lead to Destinationchevron-right1060. Missing Element in Sorted Arraychevron-right1061. Lexicographically Smallest Equivalent Stringchevron-right1062. Longest Repeating Substringchevron-right1063. Number of Valid Subarrayschevron-right1064. Fixed Pointchevron-right1065. Index Pairs of a Stringchevron-right1066. Campus Bikes IIchevron-right1067. Digit Count in Rangechevron-right1068. Product Sales Analysis Ichevron-right1069. Product Sales Analysis IIchevron-right1070. Product Sales Analysis IIIchevron-right1071. Greatest Common Divisor of Stringschevron-right1072. Flip Columns For Maximum Number of Equal Rowschevron-right1073. Adding Two Negabinary Numberschevron-right1074. Number of Submatrices That Sum to Targetchevron-right1075. Project Employees Ichevron-right1076. Project Employees IIchevron-right1077. Project Employees IIIchevron-right1078. Occurrences After Bigramchevron-right1079. Letter Tile Possibilitieschevron-right1080. Insufficient Nodes in Root to Leaf Pathschevron-right1081. Smallest Subsequence of Distinct Characterschevron-right1082. Sales Analysis Ichevron-right1083. Sales Analysis IIchevron-right1084. Sales Analysis IIIchevron-right1085. Sum of Digits in the Minimum Numberchevron-right1086. High Fivechevron-right1087. Brace Expansionchevron-right1088. Confusing Number IIchevron-right1089. Duplicate Zeroschevron-right1090. Largest Values From Labelschevron-right1091. Shortest Path in Binary Matrixchevron-right1092. Shortest Common Supersequencechevron-right1093. Statistics from a Large Samplechevron-right1094. Car Poolingchevron-right1095. Find in Mountain Arraychevron-right1096. Brace Expansion IIchevron-right1097. Game Play Analysis Vchevron-right1098. Unpopular Bookschevron-right1099. Two Sum Less Than Kchevron-right1100. Find K-Length Substrings With No Repeated Characterschevron-right1101. The Earliest Moment When Everyone Become Friendschevron-right1102. Path With Maximum Minimum Valuechevron-right1103. Distribute Candies to Peoplechevron-right1104. Path In Zigzag Labelled Binary Treechevron-right1105. Filling Bookcase Shelveschevron-right1106. Parsing A Boolean Expressionchevron-right1107. New Users Daily Countchevron-right1108. Defanging an IP Addresschevron-right1109. Corporate Flight Bookingschevron-right1110. Delete Nodes And Return Forestchevron-right1111. Maximum Nesting Depth of Two Valid Parentheses Stringschevron-right1112. Highest Grade For Each Studentchevron-right1113. Reported Postschevron-right1114. Print in Orderchevron-right1115. Print FooBar Alternatelychevron-right1116. Print Zero Even Oddchevron-right1117. Building H2Ochevron-right1118. Number of Days in a Monthchevron-right1119. Remove Vowels from a Stringchevron-right1120. Maximum Average Subtreechevron-right1121. Divide Array Into Increasing Sequenceschevron-right1122. Relative Sort Arraychevron-right1123. Lowest Common Ancestor of Deepest Leaveschevron-right1124. Longest Well-Performing Intervalchevron-right1125. Smallest Sufficient Teamchevron-right1126. Active Businesseschevron-right1127. User Purchase Platformchevron-right1128. Number of Equivalent Domino Pairschevron-right1129. Shortest Path with Alternating Colorschevron-right1130. Minimum Cost Tree From Leaf Valueschevron-right1131. Maximum of Absolute Value Expressionchevron-right1132. Reported Posts IIchevron-right1133. Largest Unique Numberchevron-right1134. Armstrong Numberchevron-right1135. Connecting Cities With Minimum Costchevron-right1136. Parallel Courseschevron-right1137. N-th Tribonacci Numberchevron-right1138. Alphabet Board Pathchevron-right1139. Largest 1-Bordered Squarechevron-right1140. Stone Game IIchevron-right1141. User Activity for the Past 30 Days Ichevron-right1142. User Activity for the Past 30 Days IIchevron-right1143. Longest Common Subsequencechevron-right1144. Decrease Elements To Make Array Zigzagchevron-right1145. Binary Tree Coloring Gamechevron-right1146. Snapshot Arraychevron-right1147. Longest Chunked Palindrome Decompositionchevron-right1148. Article Views Ichevron-right1149. Article Views IIchevron-right1150. Check If a Number Is Majority Element in a Sorted Arraychevron-right1151. Minimum Swaps to Group All 1's Togetherchevron-right1152. Analyze User Website Visit Patternchevron-right1153. String Transforms Into Another Stringchevron-right1154. Day of the Yearchevron-right1155. Number of Dice Rolls With Target Sumchevron-right1156. Swap For Longest Repeated Character Substringchevron-right1157. Online Majority Element In Subarraychevron-right1158. Market Analysis Ichevron-right1159. Market Analysis IIchevron-right1160. Find Words That Can Be Formed by Characterschevron-right1161. Maximum Level Sum of a Binary Treechevron-right1162. As Far from Land as Possiblechevron-right1163. Last Substring in Lexicographical Orderchevron-right1164. Product Price at a Given Datechevron-right1165. Single-Row Keyboardchevron-right1166. Design File Systemchevron-right1167. Minimum Cost to Connect Stickschevron-right1168. Optimize Water Distribution in a Villagechevron-right1169. Invalid Transactionschevron-right1170. Compare Strings by Frequency of the Smallest Characterchevron-right1171. Remove Zero Sum Consecutive Nodes from Linked Listchevron-right1172. Dinner Plate Stackschevron-right1173. Immediate Food Delivery Ichevron-right1174. Immediate Food Delivery IIchevron-right1175. Prime Arrangementschevron-right1176. Diet Plan Performancechevron-right1177. Can Make Palindrome from Substringchevron-right1178. Number of Valid Words for Each Puzzlechevron-right1179. Reformat Department Tablechevron-right1180. Count Substrings with Only One Distinct Letterchevron-right1181. Before and After Puzzlechevron-right1182. Shortest Distance to Target Colorchevron-right1183. Maximum Number of Oneschevron-right1184. Distance Between Bus Stopschevron-right1185. Day of the Weekchevron-right1186. Maximum Subarray Sum with One Deletionchevron-right1187. Make Array Strictly Increasingchevron-right1188. Design Bounded Blocking Queuechevron-right1189. Maximum Number of Balloonschevron-right1190. Reverse Substrings Between Each Pair of Parentheseschevron-right1191. K-Concatenation Maximum Sumchevron-right1192. Critical Connections in a Networkchevron-right1193. Monthly Transactions Ichevron-right1194. Tournament Winnerschevron-right1195. Fizz Buzz Multithreadedchevron-right1196. How Many Apples Can You Put into the Basketchevron-right1197. Minimum Knight Moveschevron-right1198. Find Smallest Common Element in All Rowschevron-right1199. Minimum Time to Build Blockschevron-right1200. Minimum Absolute Differencechevron-right1201. Ugly Number IIIchevron-right1202. Smallest String With Swapschevron-right1203. Sort Items by Groups Respecting Dependencieschevron-right1204. Last Person to Fit in the Buschevron-right1205. Monthly Transactions IIchevron-right1206. Design Skiplistchevron-right1207. Unique Number of Occurrenceschevron-right1208. Get Equal Substrings Within Budgetchevron-right1209. Remove All Adjacent Duplicates in String IIchevron-right1210. Minimum Moves to Reach Target with Rotationschevron-right1211. Queries Quality and Percentagechevron-right1212. Team Scores in Football Tournamentchevron-right1213. Intersection of Three Sorted Arrayschevron-right1214. Two Sum BSTschevron-right1215. Stepping Numberschevron-right1216. Valid Palindrome IIIchevron-right1217. Minimum Cost to Move Chips to The Same Positionchevron-right1218. Longest Arithmetic Subsequence of Given Differencechevron-right1219. Path with Maximum Goldchevron-right1220. Count Vowels Permutationchevron-right1221. Split a String in Balanced Stringschevron-right1222. Queens That Can Attack the Kingchevron-right1223. Dice Roll Simulationchevron-right1224. Maximum Equal Frequencychevron-right1225. Report Contiguous Dateschevron-right1226. The Dining Philosopherschevron-right1227. Airplane Seat Assignment Probabilitychevron-right1228. Missing Number In Arithmetic Progressionchevron-right1229. Meeting Schedulerchevron-right1230. Toss Strange Coinschevron-right1231. Divide Chocolatechevron-right1232. Check If It Is a Straight Linechevron-right1233. Remove Sub-Folders from the Filesystemchevron-right1234. Replace the Substring for Balanced Stringchevron-right1235. Maximum Profit in Job Schedulingchevron-right1236. Web Crawlerchevron-right1237. Find Positive Integer Solution for a Given Equationchevron-right1238. Circular Permutation in Binary Representationchevron-right1239. Maximum Length of a Concatenated String with Unique Characterschevron-right1240. Tiling a Rectangle with the Fewest Squareschevron-right1241. Number of Comments per Postchevron-right1242. Web Crawler Multithreadedchevron-right1243. Array Transformationchevron-right1244. Design A Leaderboardchevron-right1245. Tree Diameterchevron-right1246. Palindrome Removalchevron-right1247. Minimum Swaps to Make Strings Equalchevron-right1248. Count Number of Nice Subarrayschevron-right1249. Minimum Remove to Make Valid Parentheseschevron-right1250. Check If It Is a Good Arraychevron-right1251. Average Selling Pricechevron-right1252. Cells with Odd Values in a Matrixchevron-right1253. Reconstruct a 2-Row Binary Matrixchevron-right1254. Number of Closed Islandschevron-right1255. Maximum Score Words Formed by Letterschevron-right1256. Encode Numberchevron-right1257. Smallest Common Regionchevron-right1258. Synonymous Sentenceschevron-right1259. Handshakes That Don't Crosschevron-right1260. Shift 2D Gridchevron-right1261. Find Elements in a Contaminated Binary Treechevron-right1262. Greatest Sum Divisible by Threechevron-right1263. Minimum Moves to Move a Box to Their Target Locationchevron-right1264. Page Recommendationschevron-right1265. Print Immutable Linked List in Reversechevron-right1266. Minimum Time Visiting All Pointschevron-right1267. Count Servers that Communicatechevron-right1268. Search Suggestions Systemchevron-right1269. Number of Ways to Stay in the Same Place After Some Stepschevron-right1270. All People Report to the Given Managerchevron-right1271. Hexspeakchevron-right1272. Remove Intervalchevron-right1273. Delete Tree Nodeschevron-right1274. Number of Ships in a Rectanglechevron-right1275. Find Winner on a Tic Tac Toe Gamechevron-right1276. Number of Burgers with No Waste of Ingredientschevron-right1277. Count Square Submatrices with All Oneschevron-right1278. Palindrome Partitioning IIIchevron-right1279. Traffic Light Controlled Intersectionchevron-right1280. Students and Examinationschevron-right1281. Subtract the Product and Sum of Digits of an Integerchevron-right1282. Group the People Given the Group Size They Belong Tochevron-right1283. Find the Smallest Divisor Given a Thresholdchevron-right1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrixchevron-right1285. Find the Start and End Number of Continuous Rangeschevron-right1286. Iterator for Combinationchevron-right1287. Element Appearing More Than 25% In Sorted Arraychevron-right1288. Remove Covered Intervalschevron-right1289. Minimum Falling Path Sum IIchevron-right1290. Convert Binary Number in a Linked List to Integerchevron-right1291. Sequential Digitschevron-right1292. Maximum Side Length of a Square with Sum Less than or Equal to Thresholdchevron-right1293. Shortest Path in a Grid with Obstacles Eliminationchevron-right1294. Weather Type in Each Countrychevron-right1295. Find Numbers with Even Number of Digitschevron-right1296. Divide Array in Sets of K Consecutive Numberschevron-right1297. Maximum Number of Occurrences of a Substringchevron-right1298. Maximum Candies You Can Get from Boxeschevron-right1299. Replace Elements with Greatest Element on Right Sidechevron-right1300. Sum of Mutated Array Closest to Targetchevron-right1301. Number of Paths with Max Scorechevron-right1302. Deepest Leaves Sumchevron-right1303. Find the Team Sizechevron-right1304. Find N Unique Integers Sum up to Zerochevron-right1305. All Elements in Two Binary Search Treeschevron-right1306. Jump Game IIIchevron-right1307. Verbal Arithmetic Puzzlechevron-right1308. Running Total for Different Genderschevron-right1309. Decrypt String from Alphabet to Integer Mappingchevron-right1310. XOR Queries of a Subarraychevron-right1311. Get Watched Videos by Your Friendschevron-right1312. Minimum Insertion Steps to Make a String Palindromechevron-right1313. Decompress Run-Length Encoded Listchevron-right1314. Matrix Block Sumchevron-right1315. Sum of Nodes with Even-Valued Grandparentchevron-right1316. Distinct Echo Substringschevron-right1317. Convert Integer to the Sum of Two No-Zero Integerschevron-right1318. Minimum Flips to Make a OR b Equal to cchevron-right1319. Number of Operations to Make Network Connectedchevron-right1320. Minimum Distance to Type a Word Using Two Fingerschevron-right1321. Restaurant Growthchevron-right1322. Ads Performancechevron-right1323. Maximum 69 Numberchevron-right1324. Print Words Verticallychevron-right1325. Delete Leaves With a Given Valuechevron-right1326. Minimum Number of Taps to Open to Water a Gardenchevron-right1327. List the Products Ordered in a Periodchevron-right1328. Break a Palindromechevron-right1329. Sort the Matrix Diagonallychevron-right1330. Reverse Subarray To Maximize Array Valuechevron-right1331. Rank Transform of an Arraychevron-right1332. Remove Palindromic Subsequenceschevron-right1333. Filter Restaurants by Vegan-Friendly, Price and Distancechevron-right1334. Find the City With the Smallest Number of Neighbors at a Threshold Distancechevron-right1335. Minimum Difficulty of a Job Schedulechevron-right1336. Number of Transactions per Visitchevron-right1337. The K Weakest Rows in a Matrixchevron-right1338. Reduce Array Size to The Halfchevron-right1339. Maximum Product of Splitted Binary Treechevron-right1340. Jump Game Vchevron-right1341. Movie Ratingchevron-right1342. Number of Steps to Reduce a Number to Zerochevron-right1343. Number of Sub-arrays of Size K and Average Greater than or Equal to Thresholdchevron-right1344. Angle Between Hands of a Clockchevron-right1345. Jump Game IVchevron-right1346. Check If N and Its Double Existchevron-right1347. Minimum Number of Steps to Make Two Strings Anagramchevron-right1348. Tweet Counts Per Frequencychevron-right1349. Maximum Students Taking Examchevron-right1350. Students With Invalid Departmentschevron-right1351. Count Negative Numbers in a Sorted Matrixchevron-right1352. Product of the Last K Numberschevron-right1353. Maximum Number of Events That Can Be Attendedchevron-right1354. Construct Target Array With Multiple Sumschevron-right1355. Activity Participantschevron-right1356. Sort Integers by The Number of 1 Bitschevron-right1357. Apply Discount Every n Orderschevron-right1358. Number of Substrings Containing All Three Characterschevron-right1359. Count All Valid Pickup and Delivery Optionschevron-right1360. Number of Days Between Two Dateschevron-right1361. Validate Binary Tree Nodeschevron-right1362. Closest Divisorschevron-right1363. Largest Multiple of Threechevron-right1364. Number of Trusted Contacts of a Customerchevron-right1365. How Many Numbers Are Smaller Than the Current Numberchevron-right1366. Rank Teams by Voteschevron-right1367. Linked List in Binary Treechevron-right1368. Minimum Cost to Make at Least One Valid Path in a Gridchevron-right1369. Get the Second Most Recent Activitychevron-right1370. Increasing Decreasing Stringchevron-right1371. Find the Longest Substring Containing Vowels in Even Countschevron-right1372. Longest ZigZag Path in a Binary Treechevron-right1373. Maximum Sum BST in Binary Treechevron-right1374. Generate a String With Characters That Have Odd Countschevron-right1375. Bulb Switcher IIIchevron-right1376. Time Needed to Inform All Employeeschevron-right1377. Frog Position After T Secondschevron-right1378. Replace Employee ID With The Unique Identifierchevron-right1379. Find a Corresponding Node of a Binary Tree in a Clone of That Treechevron-right1380. Lucky Numbers in a Matrixchevron-right1381. Design a Stack With Increment Operationchevron-right1382. Balance a Binary Search Treechevron-right1383. Maximum Performance of a Teamchevron-right1384. Total Sales Amount by Yearchevron-right1385. Find the Distance Value Between Two Arrayschevron-right1386. Cinema Seat Allocationchevron-right1387. Sort Integers by The Power Valuechevron-right1388. Pizza With 3n Sliceschevron-right1389. Create Target Array in the Given Orderchevron-right1390. Four Divisorschevron-right1391. Check if There is a Valid Path in a Gridchevron-right1392. Longest Happy Prefixchevron-right1393. Capital Gain/Losschevron-right1394. Find Lucky Integer in an Arraychevron-right1395. Count Number of Teamschevron-right1396. Design Underground Systemchevron-right1397. Find All Good Stringschevron-right1398. Customers Who Bought Products A and B but Not Cchevron-right1399. Count Largest Groupchevron-right1400. Construct K Palindrome Stringschevron-right1401. Circle and Rectangle Overlappingchevron-right1402. Reducing Disheschevron-right1403. Minimum Subsequence in Non-Increasing Orderchevron-right1404. Number of Steps to Reduce a Number in Binary Representation to Onechevron-right1405. Longest Happy Stringchevron-right1406. Stone Game IIIchevron-right1407. Top Travellerschevron-right1408. String Matching in an Arraychevron-right1409. Queries on a Permutation With Keychevron-right1410. HTML Entity Parserchevron-right1411. Number of Ways to Paint N × 3 Gridchevron-right1412. Find the Quiet Students in All Examschevron-right1413. Minimum Value to Get Positive Step by Step Sumchevron-right1414. Find the Minimum Number of Fibonacci Numbers Whose Sum Is Kchevron-right1415. The k-th Lexicographical String of All Happy Strings of Length nchevron-right1416. Restore The Arraychevron-right1417. Reformat The Stringchevron-right1418. Display Table of Food Orders in a Restaurantchevron-right1419. Minimum Number of Frogs Croakingchevron-right1420. Build Array Where You Can Find The Maximum Exactly K Comparisonschevron-right1421. NPV Querieschevron-right1422. Maximum Score After Splitting a Stringchevron-right1423. Maximum Points You Can Obtain from Cardschevron-right1424. Diagonal Traverse IIchevron-right1425. Constrained Subsequence Sumchevron-right1426. Counting Elementschevron-right1427. Perform String Shiftschevron-right1428. Leftmost Column with at Least a Onechevron-right1429. First Unique Numberchevron-right1430. Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Treechevron-right1431. Kids With the Greatest Number of Candieschevron-right1432. Max Difference You Can Get From Changing an Integerchevron-right1433. Check If a String Can Break Another Stringchevron-right1434. Number of Ways to Wear Different Hats to Each Otherchevron-right1435. Create a Session Bar Chartchevron-right1436. Destination Citychevron-right1437. Check If All 1's Are at Least Length K Places Awaychevron-right1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limitchevron-right1439. Find the Kth Smallest Sum of a Matrix With Sorted Rowschevron-right1440. Evaluate Boolean Expressionchevron-right1441. Build an Array With Stack Operationschevron-right1442. Count Triplets That Can Form Two Arrays of Equal XORchevron-right1443. Minimum Time to Collect All Apples in a Treechevron-right1444. Number of Ways of Cutting a Pizzachevron-right1445. Apples & Orangeschevron-right1446. Consecutive Characterschevron-right1447. Simplified Fractionschevron-right1448. Count Good Nodes in Binary Treechevron-right1449. Form Largest Integer With Digits That Add up to Targetchevron-right1450. Number of Students Doing Homework at a Given Timechevron-right1451. Rearrange Words in a Sentencechevron-right1452. People Whose List of Favorite Companies Is Not a Subset of Another Listchevron-right1453. Maximum Number of Darts Inside of a Circular Dartboardchevron-right1454. Active Userschevron-right1455. Check If a Word Occurs As a Prefix of Any Word in a Sentencechevron-right1456. Maximum Number of Vowels in a Substring of Given Lengthchevron-right1457. Pseudo-Palindromic Paths in a Binary Treechevron-right1458. Max Dot Product of Two Subsequenceschevron-right1459. Rectangles Areachevron-right1460. Make Two Arrays Equal by Reversing Sub-arrayschevron-right1461. Check If a String Contains All Binary Codes of Size Kchevron-right1462. Course Schedule IVchevron-right1463. Cherry Pickup IIchevron-right1464. Maximum Product of Two Elements in an Arraychevron-right1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cutschevron-right1466. Reorder Routes to Make All Paths Lead to the City Zerochevron-right1467. Probability of a Two Boxes Having The Same Number of Distinct Ballschevron-right1468. Calculate Salarieschevron-right1469. Find All The Lonely Nodeschevron-right1470. Shuffle the Arraychevron-right1471. The k Strongest Values in an Arraychevron-right1472. Design Browser Historychevron-right1473. Paint House IIIchevron-right1474. Delete N Nodes After M Nodes of a Linked Listchevron-right1475. Final Prices With a Special Discount in a Shopchevron-right1476. Subrectangle Querieschevron-right1477. Find Two Non-overlapping Sub-arrays Each With Target Sumchevron-right1478. Allocate Mailboxeschevron-right1479. Sales by Day of the Weekchevron-right1480. Running Sum of 1d Arraychevron-right1481. Least Number of Unique Integers after K Removalschevron-right1482. Minimum Number of Days to Make m Bouquetschevron-right1483. Kth Ancestor of a Tree Nodechevron-right1484. Group Sold Products By The Datechevron-right1485. Clone Binary Tree With Random Pointerchevron-right1486. XOR Operation in an Arraychevron-right1487. Making File Names Uniquechevron-right1488. Avoid Flood in The Citychevron-right1489. Find Critical and Pseudo-Critical Edges in Minimum Spanning Treechevron-right1490. Clone N-ary Treechevron-right1491. Average Salary Excluding the Minimum and Maximum Salarychevron-right1492. The kth Factor of nchevron-right1493. Longest Subarray of 1's After Deleting One Elementchevron-right1494. Parallel Courses IIchevron-right1495. Friendly Movies Streamed Last Monthchevron-right1496. Path Crossingchevron-right1497. Check If Array Pairs Are Divisible by kchevron-right1498. Number of Subsequences That Satisfy the Given Sum Conditionchevron-right1499. Max Value of Equationchevron-right1500. Design a File Sharing Systemchevron-right1501. Countries You Can Safely Invest Inchevron-right1502. Can Make Arithmetic Progression From Sequencechevron-right1503. Last Moment Before All Ants Fall Out of a Plankchevron-right1504. Count Submatrices With All Oneschevron-right1505. Minimum Possible Integer After at Most K Adjacent Swaps On Digitschevron-right1506. Find Root of N-Ary Treechevron-right1507. Reformat Datechevron-right1508. Range Sum of Sorted Subarray Sumschevron-right1509. Minimum Difference Between Largest and Smallest Value in Three Moveschevron-right1510. Stone Game IVchevron-right1511. Customer Order Frequencychevron-right1512. Number of Good Pairschevron-right1513. Number of Substrings With Only 1schevron-right1514. Path with Maximum Probabilitychevron-right1515. Best Position for a Service Centrechevron-right1516. Move Sub-Tree of N-Ary Treechevron-right1517. Find Users With Valid E-Mailschevron-right1518. Water Bottleschevron-right1519. Number of Nodes in the Sub-Tree With the Same Labelchevron-right1520. Maximum Number of Non-Overlapping Substringschevron-right1521. Find a Value of a Mysterious Function Closest to Targetchevron-right1522. Diameter of N-Ary Treechevron-right1523. Count Odd Numbers in an Interval Rangechevron-right1524. Number of Sub-arrays With Odd Sumchevron-right1525. Number of Good Ways to Split a Stringchevron-right1526. Minimum Number of Increments on Subarrays to Form a Target Arraychevron-right1527. Patients With a Conditionchevron-right1528. Shuffle Stringchevron-right1529. Bulb Switcher IVchevron-right1530. Number of Good Leaf Nodes Pairschevron-right1531. String Compression IIchevron-right1532. The Most Recent Three Orderschevron-right1533. Find the Index of the Large Integerchevron-right1534. Count Good Tripletschevron-right1535. Find the Winner of an Array Gamechevron-right1536. Minimum Swaps to Arrange a Binary Gridchevron-right1537. Get the Maximum Scorechevron-right1538. Guess the Majority in a Hidden Arraychevron-right1539. Kth Missing Positive Numberchevron-right1540. Can Convert String in K Moveschevron-right1541. Minimum Insertions to Balance a Parentheses Stringchevron-right1542. Find Longest Awesome Substringchevron-right1543. Fix Product Name Formatchevron-right1544. Make The String Greatchevron-right1545. Find Kth Bit in Nth Binary Stringchevron-right1546. Maximum Number of Non-Overlapping Subarrays With Sum Equals Targetchevron-right1547. Minimum Cost to Cut a Stickchevron-right1548. The Most Similar Path in a Graphchevron-right1549. The Most Recent Orders for Each Productchevron-right1550. Three Consecutive Oddschevron-right1551. Minimum Operations to Make Array Equalchevron-right1552. Magnetic Force Between Two Ballschevron-right1553. Minimum Number of Days to Eat N Orangeschevron-right1554. Strings Differ by One Characterchevron-right1555. Bank Account Summarychevron-right1556. Thousand Separatorchevron-right1557. Minimum Number of Vertices to Reach All Nodeschevron-right1558. Minimum Numbers of Function Calls to Make Target Arraychevron-right1559. Detect Cycles in 2D Gridchevron-right1560. Most Visited Sector in a Circular Trackchevron-right1561. Maximum Number of Coins You Can Getchevron-right1562. Find Latest Group of Size Mchevron-right1563. Stone Game Vchevron-right1564. Put Boxes Into the Warehouse Ichevron-right1565. Unique Orders and Customers Per Monthchevron-right1566. Detect Pattern of Length M Repeated K or More Timeschevron-right1567. Maximum Length of Subarray With Positive Productchevron-right1568. Minimum Number of Days to Disconnect Islandchevron-right1569. Number of Ways to Reorder Array to Get Same BSTchevron-right1570. Dot Product of Two Sparse Vectorschevron-right1571. Warehouse Managerchevron-right1572. Matrix Diagonal Sumchevron-right1573. Number of Ways to Split a Stringchevron-right1574. Shortest Subarray to be Removed to Make Array Sortedchevron-right1575. Count All Possible Routeschevron-right1576. Replace All ?'s to Avoid Consecutive Repeating Characterschevron-right1577. Number of Ways Where Square of Number Is Equal to Product of Two Numberschevron-right1578. Minimum Deletion Cost to Avoid Repeating Letterschevron-right1579. Remove Max Number of Edges to Keep Graph Fully Traversablechevron-right1580. Put Boxes Into the Warehouse IIchevron-right1581. Customer Who Visited but Did Not Make Any Transactionschevron-right1582. Special Positions in a Binary Matrixchevron-right1583. Count Unhappy Friendschevron-right1584. Min Cost to Connect All Pointschevron-right1585. Check If String Is Transformable With Substring Sort Operationschevron-right1586. Binary Search Tree Iterator IIchevron-right1587. Bank Account Summary IIchevron-right1588. Sum of All Odd Length Subarrayschevron-right1589. Maximum Sum Obtained of Any Permutationchevron-right1590. Make Sum Divisible by Pchevron-right1591. Strange Printer IIchevron-right1592. Rearrange Spaces Between Wordschevron-right1593. Split a String Into the Max Number of Unique Substringschevron-right1594. Maximum Non Negative Product in a Matrixchevron-right1595. Minimum Cost to Connect Two Groups of Pointschevron-right1596. The Most Frequently Ordered Products for Each Customerchevron-right1597. Build Binary Expression Tree From Infix Expressionchevron-right1598. Crawler Log Folderchevron-right1599. Maximum Profit of Operating a Centennial Wheelchevron-right1600. Throne Inheritancechevron-right1601. Maximum Number of Achievable Transfer Requestschevron-right1602. Find Nearest Right Node in Binary Treechevron-right1603. Design Parking Systemchevron-right1604. Alert Using Same Key-Card Three or More Times in a One Hour Periodchevron-right1605. Find Valid Matrix Given Row and Column Sumschevron-right1606. Find Servers That Handled Most Number of Requestschevron-right1607. Sellers With No Saleschevron-right1608. Special Array With X Elements Greater Than or Equal Xchevron-right1609. Even Odd Treechevron-right1610. Maximum Number of Visible Pointschevron-right1611. Minimum One Bit Operations to Make Integers Zerochevron-right1612. Check If Two Expression Trees are Equivalentchevron-right1613. Find the Missing IDschevron-right1614. Maximum Nesting Depth of the Parentheseschevron-right1615. Maximal Network Rankchevron-right1616. Split Two Strings to Make Palindromechevron-right1617. Count Subtrees With Max Distance Between Citieschevron-right1618. Maximum Font to Fit a Sentence in a Screenchevron-right1619. Mean of Array After Removing Some Elementschevron-right1620. Coordinate With Maximum Network Qualitychevron-right1621. Number of Sets of K Non-Overlapping Line Segmentschevron-right1622. Fancy Sequencechevron-right1623. All Valid Triplets That Can Represent a Countrychevron-right1624. Largest Substring Between Two Equal Characterschevron-right1625. Lexicographically Smallest String After Applying Operationschevron-right1626. Best Team With No Conflictschevron-right1627. Graph Connectivity With Thresholdchevron-right1628. Design an Expression Tree With Evaluate Functionchevron-right1629. Slowest Keychevron-right1630. Arithmetic Subarrayschevron-right1631. Path With Minimum Effortchevron-right1632. Rank Transform of a Matrixchevron-right1633. Percentage of Users Attended a Contestchevron-right1634. Add Two Polynomials Represented as Linked Listschevron-right1635. Hopper Company Queries Ichevron-right1636. Sort Array by Increasing Frequencychevron-right1637. Widest Vertical Area Between Two Points Containing No Pointschevron-right1638. Count Substrings That Differ by One Characterchevron-right1639. Number of Ways to Form a Target String Given a Dictionarychevron-right1640. Check Array Formation Through Concatenationchevron-right1641. Count Sorted Vowel Stringschevron-right1642. Furthest Building You Can Reachchevron-right1643. Kth Smallest Instructionschevron-right1644. Lowest Common Ancestor of a Binary Tree IIchevron-right1645. Hopper Company Queries IIchevron-right1646. Get Maximum in Generated Arraychevron-right1647. Minimum Deletions to Make Character Frequencies Uniquechevron-right1648. Sell Diminishing-Valued Colored Ballschevron-right1649. Create Sorted Array through Instructionschevron-right1650. Lowest Common Ancestor of a Binary Tree IIIchevron-right1651. Hopper Company Queries IIIchevron-right1652. Defuse the Bombchevron-right1653. Minimum Deletions to Make String Balancedchevron-right1654. Minimum Jumps to Reach Homechevron-right1655. Distribute Repeating Integerschevron-right1656. Design an Ordered Streamchevron-right1657. Determine if Two Strings Are Closechevron-right1658. Minimum Operations to Reduce X to Zerochevron-right1659. Maximize Grid Happinesschevron-right1660. Correct a Binary Treechevron-right1661. Average Time of Process per Machinechevron-right1662. Check If Two String Arrays are Equivalentchevron-right1663. Smallest String With A Given Numeric Valuechevron-right1664. Ways to Make a Fair Arraychevron-right1665. Minimum Initial Energy to Finish Taskschevron-right1666. Change the Root of a Binary Treechevron-right1667. Fix Names in a Tablechevron-right1668. Maximum Repeating Substringchevron-right1669. Merge In Between Linked Listschevron-right1670. Design Front Middle Back Queuechevron-right1671. Minimum Number of Removals to Make Mountain Arraychevron-right1672. Richest Customer Wealthchevron-right1673. Find the Most Competitive Subsequencechevron-right1674. Minimum Moves to Make Array Complementarychevron-right1675. Minimize Deviation in Arraychevron-right1676. Lowest Common Ancestor of a Binary Tree IVchevron-right1677. Product's Worth Over Invoiceschevron-right1678. Goal Parser Interpretationchevron-right1679. Max Number of K-Sum Pairschevron-right1680. Concatenation of Consecutive Binary Numberschevron-right1681. Minimum Incompatibilitychevron-right1682. Longest Palindromic Subsequence IIchevron-right1683. Invalid Tweetschevron-right1684. Count the Number of Consistent Stringschevron-right1685. Sum of Absolute Differences in a Sorted Arraychevron-right1686. Stone Game VIchevron-right1687. Delivering Boxes from Storage to Portschevron-right1688. Count of Matches in Tournamentchevron-right1689. Partitioning Into Minimum Number Of Deci-Binary Numberschevron-right1690. Stone Game VIIchevron-right1691. Maximum Height by Stacking Cuboidschevron-right1692. Count Ways to Distribute Candieschevron-right1693. Daily Leads and Partnerschevron-right1694. Reformat Phone Numberchevron-right1695. Maximum Erasure Valuechevron-right1696. Jump Game VIchevron-right1697. Checking Existence of Edge Length Limited Pathschevron-right1698. Number of Distinct Substrings in a Stringchevron-right1699. Number of Calls Between Two Personschevron-right1700. Number of Students Unable to Eat Lunchchevron-right1701. Average Waiting Timechevron-right1702. Maximum Binary String After Changechevron-right1703. Minimum Adjacent Swaps for K Consecutive Oneschevron-right1704. Determine if String Halves Are Alikechevron-right1705. Maximum Number of Eaten Appleschevron-right1706. Where Will the Ball Fallchevron-right1707. Maximum XOR With an Element From Arraychevron-right1708. Largest Subarray Length Kchevron-right1709. Biggest Window Between Visitschevron-right1710. Maximum Units on a Truckchevron-right1711. Count Good Mealschevron-right1712. Ways to Split Array Into Three Subarrayschevron-right1713. Minimum Operations to Make a Subsequencechevron-right1714. Sum Of Special Evenly-Spaced Elements In Arraychevron-right1715. Count Apples and Orangeschevron-right1716. Calculate Money in Leetcode Bankchevron-right1717. Maximum Score From Removing Substringschevron-right1718. Construct the Lexicographically Largest Valid Sequencechevron-right1719. Number Of Ways To Reconstruct A Treechevron-right1720. Decode XORed Arraychevron-right1721. Swapping Nodes in a Linked Listchevron-right1722. Minimize Hamming Distance After Swap Operationschevron-right1723. Find Minimum Time to Finish All Jobschevron-right1724. Checking Existence of Edge Length Limited Paths IIchevron-right1725. Number Of Rectangles That Can Form The Largest Squarechevron-right1726. Tuple with Same Productchevron-right1727. Largest Submatrix With Rearrangementschevron-right1728. Cat and Mouse IIchevron-right1729. Find Followers Countchevron-right1730. Shortest Path to Get Foodchevron-right1731. The Number of Employees Which Report to Each Employeechevron-right1732. Find the Highest Altitudechevron-right1733. Minimum Number of People to Teachchevron-right1734. Decode XORed Permutationchevron-right1735. Count Ways to Make Array With Productchevron-right1736. Latest Time by Replacing Hidden Digitschevron-right1737. Change Minimum Characters to Satisfy One of Three Conditionschevron-right1738. Find Kth Largest XOR Coordinate Valuechevron-right1739. Building Boxeschevron-right1740. Find Distance in a Binary Treechevron-right1741. Find Total Time Spent by Each Employeechevron-right1742. Maximum Number of Balls in a Boxchevron-right1743. Restore the Array From Adjacent Pairschevron-right1744. Can You Eat Your Favorite Candy on Your Favorite Day?chevron-right1745. Palindrome Partitioning IVchevron-right1746. Maximum Subarray Sum After One Operationchevron-right1747. Leetflex Banned Accountschevron-right1748. Sum of Unique Elementschevron-right1749. Maximum Absolute Sum of Any Subarraychevron-right1750. Minimum Length of String After Deleting Similar Endschevron-right1751. Maximum Number of Events That Can Be Attended IIchevron-right1752. Check if Array Is Sorted and Rotatedchevron-right1753. Maximum Score From Removing Stoneschevron-right1754. Largest Merge Of Two Stringschevron-right1755. Closest Subsequence Sumchevron-right1756. Design Most Recently Used Queuechevron-right1757. Recyclable and Low Fat Productschevron-right1758. Minimum Changes To Make Alternating Binary Stringchevron-right1759. Count Number of Homogenous Substringschevron-right1760. Minimum Limit of Balls in a Bagchevron-right1761. Minimum Degree of a Connected Trio in a Graphchevron-right1762. Buildings With an Ocean Viewchevron-right1763. Longest Nice Substringchevron-right1764. Form Array by Concatenating Subarrays of Another Arraychevron-right1765. Map of Highest Peakchevron-right1766. Tree of Coprimeschevron-right1767. Find the Subtasks That Did Not Executechevron-right1768. Merge Strings Alternatelychevron-right1769. Minimum Number of Operations to Move All Balls to Each Boxchevron-right1770. Maximum Score from Performing Multiplication Operationschevron-right1771. Maximize Palindrome Length From Subsequenceschevron-right1772. Sort Features by Popularitychevron-right1773. Count Items Matching a Rulechevron-right1774. Closest Dessert Costchevron-right1775. Equal Sum Arrays With Minimum Number of Operationschevron-right1776. Car Fleet IIchevron-right1777. Product's Price for Each Storechevron-right1778. Shortest Path in a Hidden Gridchevron-right1779. Find Nearest Point That Has the Same X or Y Coordinatechevron-right1780. Check if Number is a Sum of Powers of Threechevron-right1781. Sum of Beauty of All Substringschevron-right1782. Count Pairs Of Nodeschevron-right1783. Grand Slam Titleschevron-right1784. Check if Binary String Has at Most One Segment of Oneschevron-right1785. Minimum Elements to Add to Form a Given Sumchevron-right1786. Number of Restricted Paths From First to Last Nodechevron-right1787. Make the XOR of All Segments Equal to Zerochevron-right1788. Maximize the Beauty of the Gardenchevron-right1789. Primary Department for Each Employeechevron-right1790. Check if One String Swap Can Make Strings Equalchevron-right1791. Find Center of Star Graphchevron-right1792. Maximum Average Pass Ratiochevron-right1793. Maximum Score of a Good Subarraychevron-right1794. Count Pairs of Equal Substrings With Minimum Differencechevron-right1795. Rearrange Products Tablechevron-right1796. Second Largest Digit in a Stringchevron-right1797. Design Authentication Managerchevron-right1798. Maximum Number of Consecutive Values You Can Makechevron-right1799. Maximize Score After N Operationschevron-right1800. Maximum Ascending Subarray Sumchevron-right1801. Number of Orders in the Backlogchevron-right1802. Maximum Value at a Given Index in a Bounded Arraychevron-right1803. Count Pairs With XOR in a Rangechevron-right1804. Implement Trie II (solutions/Prefix Tree)chevron-right1805. Number of Different Integers in a Stringchevron-right1806. Minimum Number of Operations to Reinitialize a Permutationchevron-right1807. Evaluate the Bracket Pairs of a Stringchevron-right1808. Maximize Number of Nice Divisorschevron-right1809. Ad-Free Sessionschevron-right1810. Minimum Path Cost in a Hidden Gridchevron-right1811. Find Interview Candidateschevron-right1812. Determine Color of a Chessboard Squarechevron-right1813. Sentence Similarity IIIchevron-right1814. Count Nice Pairs in an Arraychevron-right1815. Maximum Number of Groups Getting Fresh Donutschevron-right1816. Truncate Sentencechevron-right1817. Finding the Users Active Minuteschevron-right1818. Minimum Absolute Sum Differencechevron-right1819. Number of Different Subsequences GCDschevron-right1820. Maximum Number of Accepted Invitationschevron-right1821. Find Customers With Positive Revenue this Yearchevron-right1822. Sign of the Product of an Arraychevron-right1823. Find the Winner of the Circular Gamechevron-right1824. Minimum Sideway Jumpschevron-right1825. Finding MK Averagechevron-right1826. Faulty Sensorchevron-right1827. Minimum Operations to Make the Array Increasingchevron-right1828. Queries on Number of Points Inside a Circlechevron-right1829. Maximum XOR for Each Querychevron-right1830. Minimum Number of Operations to Make String Sortedchevron-right1831. Maximum Transaction Each Daychevron-right1832. Check if the Sentence Is Pangramchevron-right1833. Maximum Ice Cream Barschevron-right1834. Single-Threaded CPUchevron-right1835. Find XOR Sum of All Pairs Bitwise ANDchevron-right1836. Remove Duplicates From an Unsorted Linked Listchevron-right1837. Sum of Digits in Base Kchevron-right1838. Frequency of the Most Frequent Elementchevron-right1839. Longest Substring Of All Vowels in Orderchevron-right1840. Maximum Building Heightchevron-right1841. League Statisticschevron-right1842. Next Palindrome Using Same Digitschevron-right1843. Suspicious Bank Accountschevron-right1844. Replace All Digits with Characterschevron-right1845. Seat Reservation Managerchevron-right1846. Maximum Element After Decreasing and Rearrangingchevron-right1847. Closest Roomchevron-right1848. Minimum Distance to the Target Elementchevron-right1849. Splitting a String Into Descending Consecutive Valueschevron-right1850. Minimum Adjacent Swaps to Reach the Kth Smallest Numberchevron-right1851. Minimum Interval to Include Each Querychevron-right1852. Distinct Numbers in Each Subarraychevron-right1853. Convert Date Formatchevron-right1854. Maximum Population Yearchevron-right1855. Maximum Distance Between a Pair of Valueschevron-right1856. Maximum Subarray Min-Productchevron-right1857. Largest Color Value in a Directed Graphchevron-right1858. Longest Word With All Prefixeschevron-right1859. Sorting the Sentencechevron-right1860. Incremental Memory Leakchevron-right1861. Rotating the Boxchevron-right1862. Sum of Floored Pairschevron-right1863. Sum of All Subset XOR Totalschevron-right1864. Minimum Number of Swaps to Make the Binary String Alternatingchevron-right1865. Finding Pairs With a Certain Sumchevron-right1866. Number of Ways to Rearrange Sticks With K Sticks Visiblechevron-right1867. Orders With Maximum Quantity Above Averagechevron-right1868. Product of Two Run-Length Encoded Arrayschevron-right1869. Longer Contiguous Segments of Ones than Zeroschevron-right1870. Minimum Speed to Arrive on Timechevron-right1871. Jump Game VIIchevron-right1872. Stone Game VIIIchevron-right1873. Calculate Special Bonuschevron-right1874. Minimize Product Sum of Two Arrayschevron-right1875. Group Employees of the Same Salarychevron-right1876. Substrings of Size Three with Distinct Characterschevron-right1877. Minimize Maximum Pair Sum in Arraychevron-right1878. Get Biggest Three Rhombus Sums in a Gridchevron-right1879. Minimum XOR Sum of Two Arrayschevron-right1880. Check if Word Equals Summation of Two Wordschevron-right1881. Maximum Value after Insertionchevron-right1882. Process Tasks Using Serverschevron-right1883. Minimum Skips to Arrive at Meeting On Timechevron-right1884. Egg Drop With 2 Eggs and N Floorschevron-right1885. Count Pairs in Two Arrayschevron-right1886. Determine Whether Matrix Can Be Obtained By Rotationchevron-right1887. Reduction Operations to Make the Array Elements Equalchevron-right1888. Minimum Number of Flips to Make the Binary String Alternatingchevron-right1889. Minimum Space Wasted From Packagingchevron-right1890. The Latest Login in 2020chevron-right1891. Cutting Ribbonschevron-right1892. Page Recommendations IIchevron-right1893. Check if All the Integers in a Range Are Coveredchevron-right1894. Find the Student that Will Replace the Chalkchevron-right1895. Largest Magic Squarechevron-right1896. Minimum Cost to Change the Final Value of Expressionchevron-right1897. Redistribute Characters to Make All Strings Equalchevron-right1898. Maximum Number of Removable Characterschevron-right1899. Merge Triplets to Form Target Tripletchevron-right1900. The Earliest and Latest Rounds Where Players Competechevron-right1901. Find a Peak Element IIchevron-right1902. Depth of BST Given Insertion Orderchevron-right1903. Largest Odd Number in Stringchevron-right1904. The Number of Full Rounds You Have Playedchevron-right1905. Count Sub Islandschevron-right1906. Minimum Absolute Difference Querieschevron-right1907. Count Salary Categorieschevron-right1908. Game of Nimchevron-right1909. Remove One Element to Make the Array Strictly Increasingchevron-right1910. Remove All Occurrences of a Substringchevron-right1911. Maximum Alternating Subsequence Sumchevron-right1912. Design Movie Rental Systemchevron-right1913. Maximum Product Difference Between Two Pairschevron-right1914. Cyclically Rotating a Gridchevron-right1915. Number of Wonderful Substringschevron-right1916. Count Ways to Build Rooms in an Ant Colonychevron-right1917. Leetcodify Friends Recommendationschevron-right1918. Kth Smallest Subarray Sumchevron-right1919. Leetcodify Similar Friendschevron-right1920. Build Array from Permutationchevron-right1921. Eliminate Maximum Number of Monsterschevron-right1922. Count Good Numberschevron-right1923. Longest Common Subpathchevron-right1924. Erect the Fence IIchevron-right1925. Count Square Sum Tripleschevron-right1926. Nearest Exit from Entrance in Mazechevron-right1927. Sum Gamechevron-right1928. Minimum Cost to Reach Destination in Timechevron-right1929. Concatenation of Arraychevron-right1930. Unique Length-3 Palindromic Subsequenceschevron-right1931. Painting a Grid With Three Different Colorschevron-right1932. Merge BSTs to Create Single BSTchevron-right1933. Check if String Is Decomposable Into Value-Equal Substringschevron-right1934. Confirmation Ratechevron-right1935. Maximum Number of Words You Can Typechevron-right1936. Add Minimum Number of Rungschevron-right1937. Maximum Number of Points with Costchevron-right1938. Maximum Genetic Difference Querychevron-right1939. Users That Actively Request Confirmation Messageschevron-right1940. Longest Common Subsequence Between Sorted Arrayschevron-right1941. Check if All Characters Have Equal Number of Occurrenceschevron-right1942. The Number of the Smallest Unoccupied Chairchevron-right1943. Describe the Paintingchevron-right1944. Number of Visible People in a Queuechevron-right1945. Sum of Digits of String After Convertchevron-right1946. Largest Number After Mutating Substringchevron-right1947. Maximum Compatibility Score Sumchevron-right1948. Delete Duplicate Folders in Systemchevron-right1949. Strong Friendshipchevron-right1950. Maximum of Minimum Values in All Subarrayschevron-right1951. All the Pairs With the Maximum Number of Common Followerschevron-right1952. Three Divisorschevron-right1953. Maximum Number of Weeks for Which You Can Workchevron-right1954. Minimum Garden Perimeter to Collect Enough Appleschevron-right1955. Count Number of Special Subsequenceschevron-right1956. Minimum Time For K Virus Variants to Spreadchevron-right1957. Delete Characters to Make Fancy Stringchevron-right1958. Check if Move is Legalchevron-right1959. Minimum Total Space Wasted With K Resizing Operationschevron-right1960. Maximum Product of the Length of Two Palindromic Substringschevron-right1961. Check If String Is a Prefix of Arraychevron-right1962. Remove Stones to Minimize the Totalchevron-right1963. Minimum Number of Swaps to Make the String Balancedchevron-right1964. Find the Longest Valid Obstacle Course at Each Positionchevron-right1965. Employees With Missing Informationchevron-right1966. Binary Searchable Numbers in an Unsorted Arraychevron-right1967. Number of Strings That Appear as Substrings in Wordchevron-right1968. Array With Elements Not Equal to Average of Neighborschevron-right1969. Minimum Non-Zero Product of the Array Elementschevron-right1970. Last Day Where You Can Still Crosschevron-right1971. Find if Path Exists in Graphchevron-right1972. First and Last Call On the Same Daychevron-right1973. Count Nodes Equal to Sum of Descendantschevron-right1974. Minimum Time to Type Word Using Special Typewriterchevron-right1975. Maximum Matrix Sumchevron-right1976. Number of Ways to Arrive at Destinationchevron-right1977. Number of Ways to Separate Numberschevron-right1978. Employees Whose Manager Left the Companychevron-right1979. Find Greatest Common Divisor of Arraychevron-right1980. Find Unique Binary Stringchevron-right1981. Minimize the Difference Between Target and Chosen Elementschevron-right1982. Find Array Given Subset Sumschevron-right1983. Widest Pair of Indices With Equal Range Sumchevron-right1984. Minimum Difference Between Highest and Lowest of K Scoreschevron-right1985. Find the Kth Largest Integer in the Arraychevron-right1986. Minimum Number of Work Sessions to Finish the Taskschevron-right1987. Number of Unique Good Subsequenceschevron-right1988. Find Cutoff Score for Each Schoolchevron-right1989. Maximum Number of People That Can Be Caught in Tagchevron-right1990. Count the Number of Experimentschevron-right1991. Find the Middle Index in Arraychevron-right1992. Find All Groups of Farmlandchevron-right1993. Operations on Treechevron-right1994. The Number of Good Subsetschevron-right1995. Count Special Quadrupletschevron-right1996. The Number of Weak Characters in the Gamechevron-right1997. First Day Where You Have Been in All the Roomschevron-right1998. GCD Sort of an Arraychevron-right1999. Smallest Greater Multiple Made of Two Digitschevron-right2000. Reverse Prefix of Wordchevron-right2001. Number of Pairs of Interchangeable Rectangleschevron-right2002. Maximum Product of the Length of Two Palindromic Subsequenceschevron-right2003. Smallest Missing Genetic Value in Each Subtreechevron-right2004. The Number of Seniors and Juniors to Join the Companychevron-right2005. Subtree Removal Game with Fibonacci Treechevron-right2006. Count Number of Pairs With Absolute Difference Kchevron-right2007. Find Original Array From Doubled Arraychevron-right2008. Maximum Earnings From Taxichevron-right2009. Minimum Number of Operations to Make Array Continuouschevron-right2010. The Number of Seniors and Juniors to Join the Company IIchevron-right2011. Final Value of Variable After Performing Operationschevron-right2012. Sum of Beauty in the Arraychevron-right2013. Detect Squareschevron-right2014. Longest Subsequence Repeated k Timeschevron-right2015. Average Height of Buildings in Each Segmentchevron-right2016. Maximum Difference Between Increasing Elementschevron-right2017. Grid Gamechevron-right2018. Check if Word Can Be Placed In Crosswordchevron-right2019. The Score of Students Solving Math Expressionchevron-right

Last updated