These were the questions I got for the Amazon OA.
1) Maximum length of subarray with positive product 2) Variant of Length of the longest valid substring