Sliding Window 2-Pointer
Sliding Window 2-Pointer
&
2-Pointer Algorithm
Recent Interview Questions
Easy Problems
Window String
Given two strings 's' and 't' containing characters
from a to z 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 is
no such substring, return the empty
string ""'.
Manas Sir
Easy Problems
Keep Practicing!
Solutions in Discussion Forum
Swapnil Sir
Medium Problem
Painting Wall
Bob is painting a wall. The wall contains N Sections
and he has already painted some sections of the
wall randomly. The wall consists of a string of
length N containing lower-case alphabets 'a' to 'z'
denoting the color of the section. in 1 operation.
Bob can paint a single section of the wall to any
new colour.
He is now tired and does not want to do more than
k operations. So, he decides to create a
continuous segment of the wall which is
completely the same colour (a range [i, j] where all
wallſk] are equal, i <= K <= 1) What
is the maximum length of such a
segment he can Create?
Development curriculum
architect, he simplifies System
design expertise for learners.
Nalin Sir
Hard Problem
1≤L≤R≤N
The maximum value of AL, AL+1, …, AR, +1,…,
is X, and the minimum is Y.
Kushagra Sir
Weekend Oriented
Job Switch Program
Join Now
Register here to get selected