Pergunta de entrevista da empresa Audible

1 algorithm problem and 4 questions asking for the time complexity of a code snippet