Leetcode 1458. Max Dot Product of Two Subsequences | Hello Interview