Problem Statement Given a string with lowercase letters only, if you are allowed to replace no more than ‘k’ letters with any...
Category: Programming
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...
Problem Statement Given an array of positive numbers and a positive number ‘S’, find the length of the smallest contiguous subarray...