Problems Difficulty Logic Brute-Force Method
1 Merge String Alternately Easy Even’s in word1 and odd’s in word2 Merge Strings Alternately - LeetCode
2 Increasing Triplets sequence Medium Initialize x,y as int max values and inside loop check condition if greater than i,j Increasing Triplet Subsequence - LeetCode
3 Product of Array except Self Medium Product of Array Except Self - Leetcode 238 - Python (youtube.com) Product of Array Except Self - LeetCode
4 Greatest Common Divisor of Strings Easy Find GCD of Strings and compare Greatest Common Divisor of Strings - LeetCode
5 Kids With the Greatest Number of Candies Easy Find max and place condition Kids With the Greatest Number of Candies - LeetCode
6 Can Place Flowers Easy Checking Boundary conditions Can Place Flowers - LeetCode
7 Reverse Vowels of a String Easy Reverse vowels and iterate Reverse Vowels of a String - LeetCode
8 Reverse Words in a String Medium Replaceall condition Reverse Words in a String - LeetCode
9 Move Zeroes Easy Not zeros add in array first Move Zeroes - LeetCode
10 Max Number of K-Sum Pairs Medium Sort it, if addition is greater then decrement i or increment it. Max Number of K-Sum Pairs - LeetCode
11 Maximum Number of Vowels in a Substring of Given Length Medium slide window check previous conditions of i and make it O(N) Maximum Number of Vowels in a Substring of Given Length - LeetCode