Pergunta de entrevista da empresa Big Oh Notation

Array based questions: 2 pointer, hashmap. OOPS based question. Lifecycle of react