In this video I'll be discussing the solution of Two Smallests in Every Subarray.
GFG Problem Link : https://www.geeksforgeeks.org/problem...
Code in pinned comment
Timestamps :
0:00 - Problem Statement
0:32 - Explanation
4:36 - Brute Force
6:37 - Optimized
14:08 - Dry Run
17:43 - Code
#dsa #problemsolving #datastructureandalgorithm