This repository contains my solutions for LeetCode.
Each problem has its own folder containing:
README.mdwith explanation- implementation of the solution
- possible variations or optimizations
The main README only documents the repository structure and the issues resolved.
- Merge Strings Alternately
- Greatest Common Divisor of Strings
- Kids With the Greatest Number of Candies
- Can Place Flowers
- Reverse Vowels of a String
- Reverse Words in a String
- Product of Array Except Self
- Increasing Triplet Subsequence
- String Compression
- Maximum Number of Vowels in a Substring
- Max Consecutive Ones III
- Longest Subarray of 1's After Deleting One Element
- Count Good Nodes in Binary Tree
- Path Sum III
- Longest ZigZag Path in a Binary Tree
- Lowest Common Ancestor of a Binary Tree
- Keys and Rooms
- Number of Provinces
- Reorder Routes to Make All Paths Lead to the City Zero
- Evaluate Division
- Kth Largest Element in an Array
- Smallest Number in Infinite Set
- Maximum Subsequence Score
- Total Cost to Hire K Workers
- Unique Paths
- Longest Common Subsequence
- Best Time to Buy and Sell Stock with Transaction Fee
- Edit Distance
Solved: 0 / 75