Pergunta de entrevista da empresa PayPal

1. Finding peak element in array 2. Merging two arrays in sorted order