Читать книгу Data Structure and Algorithms Using C++ - Sachi Nandan Mohanty - Страница 14
1.5 Efficiency of an Algorithm
ОглавлениеEfficiency of an algorithm can be determined by measuring the time, space, and amount of resources it uses for executing the program. The amount of time taken by an algorithm can be calculated by finding the number of steps the algorithm executes, while the space refers to the number of units it requires for memory storage.