Number of Subsequences That Satisfy the Given Sum ConditionMedium advanced interview problem in Two Pointers.