In this video, we will be discussing the problem Subarray from Codechef. We will use concept of Sparse Table and Binary Search to solve this problem. If you are not familiar with these concepts, check out my playlist for them linked below.
Ask any doubts in the comment section.
Problem link: https://www.codechef.com/problems/KMAXMIN
Solution Code: https://ide.geeksforgeeks.org/IREVpyaASP
Sparse Table Playlist: https://youtube.com/playlist?list=PLrpAtK03Nf7RA4fSnKuoGK3RJf116ICL0
Binary Search Playlist: https://youtube.com/playlist?list=PLrpAtK03Nf7Sv1m_iXXldtod538TuC0Yl
THUMBS UP IF YOU LIKE IT
SUBS IF YOU LOVE IT
Download
0 formats
No download links available.
Codechef - KMAXMIN | Sparse Table + Binary Search | Sparse Table (Lecture 06) | Practice Problem 2 | NatokHD