This Repository contains my solutions to June LeetCoding Challenge 2022 problems.
- I strongly advise you to try to solve problems on your own before looking at the solutions provided here.
- Solutions and approaches may not be optimal.
- All Solutions here are in C++.
- Checkout my LeetCode profile at michaelehab
- Running Sum of 1d Array
- Transpose Matrix
- Range Sum Query 2D - Immutable
- N-Queens
- N-Queens II
- Intersection of Two Linked Lists
- Merge Sorted Array
- Remove Palindromic Subsequences
- Two Sum II - Input Array Is Sorted
- Longest Substring Without Repeating Characters
- Minimum Operations to Reduce X to Zero
- Maximum Erasure Value
- Triangle
- Delete Operation for Two Strings
- Longest String Chain
- Longest Palindromic Substring
- Binary Tree Cameras
- Prefix and Suffix Search
- Search Suggestions System
- Short Encoding of Words
- Furthest Building You Can Reach
- Kth Largest Element in an Array
- Course Schedule III
- Construct Target Array With Multiple Sums
- Non-decreasing Array
- Maximum Points You Can Obtain from Cards
- Partitioning Into Minimum Number Of Deci-Binary Numbers
- Minimum Deletions to Make Character Frequencies Unique
- Queue Reconstruction by Height
- Minimum Moves to Equal Array Elements II