RBC interview question

Big O notation, problem solving coding questions