Number of Substrings Containing All Three CharactersProblem Given a string s consisting only of characters a, b and c. Return the number of substrings containing at least one occurrence of all these characters a, b and c. link Example 1: Input: s = "ab5 min read·chetan77.hashnode.devNov 9
Minimum Window SubsequenceProblem You are given two strings, s1 and s2. Your task is to find the smallest substring in s1 such that s2 appears as a subsequence within that substring. The characters of s2 must appear in the sa4 min read·chetan77.hashnode.devNov 5
Minimum Window SubstringProblem Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicates) is included in the window. If there is4 min read·chetan77.hashnode.devNov 5
Longest Repeating Character ReplacementProblem You are given a string s and an integer k. You can choose any character of the string and change it to any other uppercase English character. You can perform this operation at most k times. Re5 min read·chetan77.hashnode.devNov 3
Longest Substring with At Most K Distinct CharactersProblem Given a string str and an integer K, return the length of the longest substring containing at most K distinct characters. A substring is a continuous part of the string. You cannot skip chara4 min read·chetan77.hashnode.devNov 2