An algorithm iterates through a list of n elements once, performing a constant amount of work for each element. What is the time complexity of this algorithm?
An algorithm iterates through a list of n elements once, performing a…
Written by
in
Written by
in
An algorithm iterates through a list of n elements once, performing a constant amount of work for each element. What is the time complexity of this algorithm?
Leave a Reply