Skip to the content.

June 2021 LeetCoding Challenge

Day Question Links Solutions
1. Gray Code cpp
2. Find K Closest Elements cpp
4. Count Vowels Permutation cpp
5. Reshape the Matrix cpp
6. Reduce Array Size to The Half cpp
7. Kth Smallest Element in a Sorted Matrix cpp
8. Maximum Length of Repeated Subarray cpp
9. Longest Increasing Subsequence cpp
10. Decode Ways II cpp
11. Find Median from Data Stream cpp
12. Isomorphic Strings cpp
13. Find Peak Element cpp
14. Custom Sort String cpp
15. Valid Triangle Number cpp
16. 4Sum cpp
18. Reverse Nodes in k-Group cpp
19. Lowest Common Ancestor of a Binary Search Tree cpp
20. Shuffle an Array cpp
21. Push Dominoes cpp
22. Partition Array into Disjoint Intervals cpp
23. Binary Tree Pruning cpp
24. Word Ladder II cpp
26. Convert Sorted Array to Binary Search Tree cpp
27. 3Sum Closest cpp
29. 01 Matrix cpp
30. Map Sum Pairs cpp
31. Trapping Rain Water cpp