Problem Statement Given an array containing 0s and 1s, if you are allowed to replace no more than ‘k’ 0s with...
Author: Golibrary
Problem Statement Given a string with lowercase letters only, if you are allowed to replace no more than ‘k’ letters with any...
Problem Statement Given a string, find the length of the longest substring which has no repeating characters. Example 1: Input: String=“aabccbb” Output:...
Problem Statement Given a string, find the length of the longest substring in it with no more than K distinct characters. Example 1: ...
Problem Statement Given an array of characters where each character represents a fruit tree, you are given two baskets and your goal...