Considera la [[dimensione dell'input]] come il numero di [[bit]] richiesti per rappresentarlo.

## Esempi

$$
f(16) \underset{costo}{\longrightarrow} lg(16) = 4
$$
$$
f(128) \underset{costo}{\longrightarrow} lg(128) = 7
$$
$$
f([1, 2, 3, 4]) \underset{costo}{\longrightarrow} 1 + 2 + 2 + 3 = 8
$$