Video Solution For SUBSPLAY

Link: https://youtu.be/U4rl99djhyA
The code link can be found in the video description.