The input size is a natural number measuring an input: the length of a list, the number of vertices and edges of a graph, the number of bits of an integer. The cost of an algorithm on an input is the number of elementary operations it performs; a cost function gives a cost for each size.
Computer Science · Glosarium
Apa itu Input size, cost function?
Dikenal juga sebagai: input size · cost function