Pro-Sequence
LeetCode
CodeChef
CodeForces
HackerEarth
Placement
Tutorial
Blogs
Codes
CPA
Recently visited pages.
×
LeetCode
LeetCode Questions Solution
1. 2144. Minimum Cost of Buying Candies With Discount
226
2. 1503. Last Moment Before All Ants Fall Out of a Plank
229
3. 516. Longest Palindromic Subsequence
233
4. 1881. Maximum Value after Insertion
234
5. 242. Valid Anagram
236
6. 628. Maximum Product of Three Numbers
239
7. 236. Lowest Common Ancestor of a Binary Tree
239
8. 1290. Convert Binary Number in a Linked List to Integer
239
9. 1217. Minimum Cost to Move Chips to The Same Position
239
10. 307. Range Sum Query - Mutable
240
11. 436. Find Right Interval
240
12. 1299. Replace Elements with Greatest Element on Right Side
243
13. 1389. Create Target Array in the Given Order
243
14. 275. H-Index II
243
15. 2409. Count Days Spent Together
244
16. 430. Flatten a Multilevel Doubly Linked List
245
17. 71. Simplify Path
246
18. 494. Target Sum
247
19. 141. Linked List Cycle
249
20. 27. Remove Element
250
21. 561. Array Partition I
250
22. 2151. Maximum Good People Based on Statements
251
23. 83. Remove Duplicates from Sorted List
252
24. 1748. Sum of Unique Elements
252
25. 36. Valid Sudoku
252
26. 328. Odd Even Linked List
253
27. 583. Delete Operation for Two Strings
253
28. 2149. Rearrange Array Elements by Sign
254
29. 589. N-ary Tree Preorder Traversal
254
30. 378. Kth Smallest Element in a Sorted Matrix
254
31. 318. Maximum Product of Word Lengths
255
32. 922. Sort Array By Parity II
255
33. 124. Binary Tree Maximum Path Sum
255
34. 387. First Unique Character in a String
255
35. 97. Interleaving String
255
36. 13. Roman to Integer
255
37. 869. Reordered Power of 2
255
38. 43. Multiply Strings
256
39. 72. Edit Distance
256
40. 821. Shortest Distance to a Character
257
41. 952. Largest Component Size by Common Factor
257
42. 123. Best Time to Buy and Sell Stock III
257
43. 229. Majority Element II
257
44. 34. Find First and Last Position of Element in Sorted Array
258
45. 415. Add Strings
258
46. 2085. Count Common Words With One Occurrence
259
47. 543. Diameter of Binary Tree
259
48. 332. Reconstruct Itinerary
259
49. 1342. Number of Steps to Reduce a Number to Zero
259
50. 739. Daily Temperatures
259
51. 130. Surrounded Regions
259
52. 129. Sum Root to Leaf Numbers
259
53. 102. Binary Tree Level Order Traversal
259
54. 445. Add Two Numbers II
259
55. 74. Search a 2D Matrix
259
56. 566. Reshape the Matrix
260
57. 322. Coin Change
260
58. 85. Maximal Rectangle
260
59. 208. Implement Trie
260
60. 380. Insert Delete GetRandom O(1)
261
61. 1219. Path with Maximum Gold
261
62. 174. Dungeon Game
261
63. 1480. Running Sum of 1d Array
261
64. 902. Numbers At Most N Given Digit Set
261
65. 852. Peak Index in a Mountain Array
261
66. 617. Merge Two Binary Trees
261
67. 137. Single Number II
261
68. 119. Pascal's Triangle II
261
69. 437. Path Sum III
262
70. 1155. Number of Dice Rolls With Target Sum
262
71. 33. Search in Rotated Sorted Array
262
72. 383. Ransom Note
262
73. 416. Partition Equal Subset Sum
262
74. 1268. Search Suggestions System
262
75. 1356. Sort Integers by The Number of 1 Bits
262
76. 147. Insertion Sort List
262
77. 345. Reverse Vowels of a String
262
78. 2410. Maximum Matching of Players With Trainers
262
79. 672. Richest Customer Wealth
262
80. 77. Combinations
262
81. 1704. Determine if String Halves Are Alike
262
82. 101. Symmetric Tree
262
83. 75. Sort Colors
262
84. 62. Unique Paths
263
85. 50. Pow(x, n)
263
86. 1035. Uncrossed Lines
263
87. 1481. Least Number of Unique Integers after K Removals
263
88. 1032. Stream of Characters
263
89. 368. Largest Divisible Subset
263
90. 987. Vertical Order Traversal of a Binary Tree
263
91. 752. Open the Lock
263
92. 84. Largest Rectangle in Histogram
263
93. 1221. Split a String in Balanced Strings
263
94. 1047. Remove All Adjacent Duplicates In String
263
95. 240. Search a 2D Matrix II
263
96. 977. Squares of a Sorted Array
263
97. 347. Top K Frequent Elements
263
98. 785. Is Graph Bipartite
263
99. 797. All Paths From Source to Target
263
100. 136. Single Number
263
1
2
3