che algoritmo lineare ad esempio?

grazie