Video Solution For SUBSPLAY

Link: Easy Subsequence Selection || SUBSPLAY || CodeChef || December Long Challenge - YouTube
The code link can be found in the video description.