Skip to main content

LeetCode Problems 300 - 399

Start Practicing: https://leetcode.com/study-plan/programming-skills

Problem NameDifficultySolution Link
300. Longest Increasing SubsequenceMediumView Solutions
301. Remove Invalid ParenthesesHardView Solutions
302. Smallest Rectangle Enclosing Black PixelsMediumView Solutions
303. Range Sum Query - ImmutableEasyView Solutions
304. Range Sum Query 2D - ImmutableMediumView Solutions
305. number-of-islands-iiMediumView Solutions
306. Additive NumberMediumView Solutions
307. Range Sum Query - MutableMediumView Solutions
308. range-sum-query-2d-mutableEasyView Solutions
309. Best Time to Buy and Sell Stock with CooldownHardView Solutions
310. Minimum Height TreesMediumView Solutions
311. sparse-matrix-multiplicationMediumView Solutions
312. Burst BalloonsHardView Solutions
313. Super Ugly NumberMediumView Solutions
314. binary-tree-vertical-order-traversalMediumView Solutions
315. Count of Smaller Numbers After SelfHardView Solutions
316. Remove Duplicate LettersMediumView Solutions
317. shortest-distance-from-all-buildingsMediumView Solutions
318. Maximum Product of Word LengthsMediumView Solutions
319. Bulb SwitcherEasyView Solutions
320. generalized-abbreviationMediumView Solutions
321. Create Maximum NumberHardView Solutions
322. Coin ChangeMediumView Solutions
323. number-of-connected-components-in-an-undirected-graphMediumView Solutions
324. Wiggle Sort IIMediumView Solutions
325. maximum-size-subarray-sum-equals-kMediumView Solutions
326. Power of ThreeEasyView Solutions
327. Count of Range SumHardView Solutions
328. Odd Even Linked ListMediumView Solutions
329. Longest Increasing Path in a MatrixHardView Solutions
330. Patching ArrayHardView Solutions
331. Verify Preorder Serialization of a Binary TreeMediumView Solutions
332. Reconstruct ItineraryHardView Solutions
333. largest-bst-subtreeMediumView Solutions
334. Increasing Triplet SubsequenceMediumView Solutions
335. Self CrossingHardView Solutions
336. Palindrome PairsHardView Solutions
337. House Robber IIIMediumView Solutions
338. Counting BitsEasyView Solutions
339. nested-list-weight-sumMediumView Solutions
340. longest-substring-with-at-most-k-distinct-charactersMediumView Solutions
341. Flatten Nested List IteratorMediumView Solutions
342. Power of FourEasyView Solutions
343. Integer BreakMediumView Solutions
344. Reverse StringEasyView Solutions
345. Reverse Vowels of a StringEasyView Solutions
346. moving-average-from-data-streamMediumView Solutions
347. Top K Frequent ElementsMediumView Solutions
348. design-tic-tac-toeMediumView Solutions
349. Intersection of Two ArraysEasyView Solutions
350. Intersection of Two Arrays IIEasyView Solutions
351. android-unlock-patternsHardView Solutions
352. Data Stream as Disjoint IntervalsHardView Solutions
353. design-snake-gameMediumView Solutions
354. Russian Doll EnvelopesHardView Solutions
355. Design TwitterMediumView Solutions
356. line-reflectionHardView Solutions
357. Count Numbers with Unique DigitsMediumView Solutions
358.rearrange-string-k-distance-apartMediumView Solutions
359. logger-rate-limiterMediumView Solutions
360. sort-transformed-arraytMediumView Solutions
361. bomb-enemyMediumView Solutions
362. design-hit-counterMediumView Solutions
363. Max Sum of Rectangle No Larger Than KHardView Solutions
364. nested-list-weight-sum-iiHardView Solutions
365. Water and Jug ProblemMediumView Solutions
366. find-leaves-of-binary-treeMediumView Solutions
367. Valid Perfect SquareEasyView Solutions
368. Largest Divisible SubsetMediumView Solutions
369. plus-one-linked-listMediumView Solutions
370. range-additionMediumView Solutions
371. Sum of Two IntegersMediumView Solutions
372. Super PowMediumView Solutions
373. Find K Pairs with Smallest SumsMediumView Solutions
374. Guess Number Higher or LowerEasyView Solutions
375. Guess Number Higher or Lower IIMediumView Solutions
376. Wiggle SubsequenceMediumView Solutions
377. Combination Sum IVMediumView Solutions
378. Kth Smallest Element in a Sorted MatrixMediumView Solutions
379. design-phone-directoryMediumView Solutions
380. Insert Delete GetRandom O(1)MediumView Solutions
381. Insert Delete GetRandom O(1) - Duplicates allowedHardView Solutions
382. Linked List Random NodeMediumView Solutions
383. Ransom NoteEasyView Solutions
384. Shuffle an ArrayMediumView Solutions
385. Mini ParserMediumView Solutions
386. Lexicographical NumbersMediumView Solutions
387. First Unique Character in a StringEasyView Solutions
388. Longest Absolute File PathMediumView Solutions
389. Find the DifferenceEasyView Solutions
390. Elimination GameMediumView Solutions
391. Perfect RectangleHardView Solutions
392. Is SubsequenceEasyView Solutions
393. UTF-8 ValidationMediumView Solutions
394. Decode StringMediumView Solutions
395. Longest Substring with At Least K Repeating CharactersMediumView Solutions
396. Rotate FunctionMediumView Solutions
397. Integer ReplacementMediumView Solutions
399. Random Pick IndexMediumView Solutions

Now, you can see the list of problems in a table format. You can click on the problem link to view the problem on the LeetCode website. You can also click on the solution link to view the solution of the problem.