Analyse time complexity using big‑O notation (#734)

Analyse time complexity using big‑O notation (#734)