Candid Health Interview Question

Runtime and big O notation