OneCard Interview Question

Estimate big o notation for a given problem