OneCard interview question

Estimate big o notation for a given problem