leetcode practice problems by java and javascript
- 704. Binary Search
- 27. Remove Element
- 977. Squares of a Sorted Array
- 209. Minimum Size Subarray Sum
- 59. Spiral Matrix II
- 1365. How Many Numbers Are Smaller Than the Current Number
- 941. Valid Mountain Array
- 1207. Unique Number of Occurrences
- 283. Move Zeroes
- 189. Rotate Array
- 724. Find Pivot Index
- 34. Find First and Last Position of Element in Sorted Array
- 922. Sort Array By Parity II
- 35. Search Insert Position
- 238. Product of Array Except Self
- 2425. Bitwise XOR of All Pairings
- 128. Longest Consecutive Sequence
- 2017. Grid Game
- 203. Remove Linked List Elements
- 707. Design Linked List
- 206. Reverse Linked List
- 24. Swap Nodes in Pairs
- 19. Remove Nth Node From End of List
- 142. Linked List Cycle II
- 234. Palindrome Linked List
- 143. Reorder List
- 141. Linked List Cycle
- 160. Intersection of Two Linked Lists
- 14. Longest Common Prefix
- 13. Roman to Integer
- 242. Valid Anagram
- 1002. Find Common Characters
- 349. Intersection of Two Arrays
- 202. Happy Number
- 1. Two Sum
- 454. 4Sum II
- 383. Ransom Note
- 15. 3Sum
- 205. Isomorphic Strings
- 217. Contains Duplicate
- 242. Valid Anagram
- 49. Group Anagrams
- 347. Top K Frequent Elements
- 2657. Find the Prefix Common Array of Two Arrays
- 36. Valid Sudoku
- 344. Reverse String
- 541. Reverse String II
- 151. Reverse Words in a String
- 459. Repeated Substring Pattern
- 925. Long Pressed Name
- 844. Backspace String Compare
- 2185. Counting Words With a Given Prefix
- 916. Word Subsets
- 1400. Construct K Palindrome Strings
- 3223. Minimum Length of String After Operations
- 232. Implement Queue using Stacks
- 225. Implement Stack using Queues
- 20. Valid Parentheses
- 1047. Remove All Adjacent Duplicates In String
- 150. Evaluate Reverse Polish Notation
- 239. Sliding Window Maximum
- 347. Top K Frequent Elements
- 2116. Check if a Parentheses String Can Be Valid
- 226. Invert Binary Tree
- 101. Symmetric Tree
- 104. Maximum Depth of Binary Tree
- 111. Minimum Depth of Binary Tree
- 222. Count Complete Tree Nodes
- 110. Balanced Binary Tree
- 257. Binary Tree Paths
- 404. Sum of Left Leaves
- 513. Find Bottom Left Tree Value
- 112. Path Sum
- 106. Construct Binary Tree from Inorder and Postorder Traversal
- 654. Maximum Binary Tree
- 617. Merge Two Binary Trees
- 700. Search in a Binary Search Tree
- 98. Validate Binary Search Tree
- 530. Minimum Absolute Difference in BST
- 501. Find Mode in Binary Search Tree
- 236. Lowest Common Ancestor of a Binary Tree
- 235. Lowest Common Ancestor of a Binary Search Tree
- 701. Insert into a Binary Search Tree
- 450. Delete Node in a BST
- 669. Trim a Binary Search Tree
- 108. Convert Sorted Array to Binary Search Tree
- 538. Convert BST to Greater Tree
- 129. Sum Root to Leaf Numbers
- 1382. Balance a Binary Search Tree
- 100. Same Tree
- 116. Populating Next Right Pointers in Each Node
- 77. Combinations
- 216. Combination Sum III
- 17. Letter Combinations of a Phone Number
- 39. Combination Sum
- 40. Combination Sum II
- 131. Palindrome Partitioning
- 93. Restore IP Addresses
- 78. Subsets
- 90. Subsets II
- 491. Non-decreasing Subsequences
- 46. Permutations
- 47. Permutations II
- 332. Reconstruct Itinerary
- 51. N-Queens
- 37. Sudoku Solver
- 52. N-Queens II
- 455. Assign Cookies
- 376. Wiggle Subsequence
- 53. Maximum Subarray
- 122. Best Time to Buy and Sell Stock II
- 55. Jump Game
- 45. Jump Game II
- 1005. Maximize Sum Of Array After K Negations
- 134. Gas Station
- 135. Candy
- 860. Lemonade Change
- 406. Queue Reconstruction by Height
- 452. Minimum Number of Arrows to Burst Balloons
- 435. Non-overlapping Intervals
- 763. Partition Labels
- 56. Merge Intervals
- 738. Monotone Increasing Digits
- 968. Binary Tree Cameras
- 649. Dota2 Senate
- 1221. Split a String in Balanced Strings
- 2429. Minimize XOR
- 509. Fibonacci Number
- 70. Climbing Stairs
- 746. Min Cost Climbing Stairs
- 62. Unique Paths
- 63. Unique Paths II
- 343. Integer Break
- 96. Unique Binary Search Trees
- 416. Partition Equal Subset Sum
- 1049. Last Stone Weight II
- 494. Target Sum
- 474. Ones and Zeroes
- 518. Coin Change II
- 377. Combination Sum IV
- 322. Coin Change
- 279. Perfect Squares
- 139. Word Break
- 198. House Robber
- 213. House Robber II
- 337. House Robber III
- 121. Best Time to Buy and Sell Stock
- 122. Best Time to Buy and Sell Stock II
- 123. Best Time to Buy and Sell Stock III
- 188. Best Time to Buy and Sell Stock IV
- 309. Best Time to Buy and Sell Stock with Cooldown
- 714. Best Time to Buy and Sell Stock with Transaction Fee
- 300. Longest Increasing Subsequence
- 674. Longest Continuous Increasing Subsequence
- 718. Maximum Length of Repeated Subarray
- 1143. Longest Common Subsequence
- 1035. Uncrossed Lines
- 53. Maximum Subarray
- 392. Is Subsequence
- 115. Distinct Subsequences
- 583. Delete Operation for Two Strings
- 72. Edit Distance
- 647. Palindromic Substrings
- 516. Longest Palindromic Subsequence
- 5. Longest Palindromic Substring
- 132. Palindrome Partitioning II
- 673. Number of Longest Increasing Subsequence