Pergunta de entrevista da empresa PayPal

Binary search, number of possible combinations, Maximum Product Subarray