Pregunta de entrevista de Meta

1. Search word with . pattern in string array 2. longest continuous zig-zag subarray in an integer array