Leetcode | Video Stitching

I need help in solving Video Stitching problem from leetcode.