repeat a third time
precomputation O(n)
calculation O(1)

Reply via email to