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
150
2. 1503. Last Moment Before All Ants Fall Out of a Plank
150
3. 2409. Count Days Spent Together
150
4. 242. Valid Anagram
158
5. 236. Lowest Common Ancestor of a Binary Tree
160
6. 1881. Maximum Value after Insertion
161
7. 1290. Convert Binary Number in a Linked List to Integer
164
8. 275. H-Index II
166
9. 36. Valid Sudoku
166
10. 628. Maximum Product of Three Numbers
166
11. 494. Target Sum
167
12. 378. Kth Smallest Element in a Sorted Matrix
168
13. 561. Array Partition I
169
14. 516. Longest Palindromic Subsequence
170
15. 1299. Replace Elements with Greatest Element on Right Side
170
16. 436. Find Right Interval
172
17. 141. Linked List Cycle
172
18. 1389. Create Target Array in the Given Order
173
19. 387. First Unique Character in a String
173
20. 380. Insert Delete GetRandom O(1)
173
21. 237. Delete Node in a Linked List
173
22. 307. Range Sum Query - Mutable
173
23. 169. Majority Element
174
24. 430. Flatten a Multilevel Doubly Linked List
174
25. 130. Surrounded Regions
175
26. 1481. Least Number of Unique Integers after K Removals
178
27. 328. Odd Even Linked List
178
28. 229. Majority Element II
178
29. 394. Decode String
178
30. 672. Richest Customer Wealth
179
31. 332. Reconstruct Itinerary
180
32. 53. Maximum Subarray
181
33. 1217. Minimum Cost to Move Chips to The Same Position
181
34. 167. Two Sum II - Input array is sorted
181
35. 71. Simplify Path
181
36. 952. Largest Component Size by Common Factor
182
37. 1748. Sum of Unique Elements
182
38. 83. Remove Duplicates from Sorted List
182
39. 62. Unique Paths
183
40. 34. Find First and Last Position of Element in Sorted Array
183
41. 1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
183
42. 1480. Running Sum of 1d Array
183
43. 1268. Search Suggestions System
184
44. 123. Best Time to Buy and Sell Stock III
184
45. 821. Shortest Distance to a Character
184
46. 739. Daily Temperatures
184
47. 33. Search in Rotated Sorted Array
185
48. 2149. Rearrange Array Elements by Sign
185
49. 97. Interleaving String
185
50. 347. Top K Frequent Elements
185
51. 215. Kth Largest Element in an Array
186
52. 1525. Number of Good Ways to Split a String
186
53. 119. Pascal's Triangle II
186
54. 844. Backspace String Compare
186
55. 260. Single Number III
186
56. 461. Hamming Distance
186
57. 785. Is Graph Bipartite
186
58. 137. Single Number II
186
59. 415. Add Strings
186
60. 101. Symmetric Tree
187
61. 925. Long Pressed Name
187
62. 1155. Number of Dice Rolls With Target Sum
187
63. 42. Trapping Rain Water
187
64. 1047. Remove All Adjacent Duplicates In String
187
65. 771. Jewels and Stones
187
66. 144. Binary Tree Preorder Traversal
187
67. 543. Diameter of Binary Tree
188
68. 392. Is Subsequence
188
69. 1200. Minimum Absolute Difference
189
70. 337. House Robber III
189
71. 902. Numbers At Most N Given Digit Set
189
72. 977. Squares of a Sorted Array
189
73. 450. Delete Node in a BST
189
74. 841. Keys and Rooms
190
75. 17. Letter Combinations of a Phone Number
190
76. 1678. Goal Parser Interpretation
190
77. 1512. Number of Good Pairs
190
78. 518. Coin Change 2
190
79. 832. Flipping an Image
191
80. 50. Pow(x, n)
191
81. 733. Flood Fill
191
82. 1365. How Many Numbers Are Smaller Than the Current Number
191
83. 987. Vertical Order Traversal of a Binary Tree
191
84. 515. Find Largest Value in Each Tree Row
191
85. 1832. Check if the Sentence Is Pangram
191
86. 279. Perfect Squares
191
87. 1035. Uncrossed Lines
191
88. 695. Max Area of Island
191
89. 39. Combination Sum
191
90. 1313. Decompress Run-Length Encoded List
191
91. 75. Sort Colors
191
92. 1704. Determine if String Halves Are Alike
192
93. 1768. Merge Strings Alternately
192
94. 174. Dungeon Game
192
95. 797. All Paths From Source to Target
192
96. 240. Search a 2D Matrix II
192
97. 2150. Find All Lonely Numbers in the Array
192
98. 416. Partition Equal Subset Sum
192
99. 1221. Split a String in Balanced Strings
192
100. 153. Find Minimum in Rotated Sorted Array
192
1
2
3