Algorithm Peculiarities
Algorithm Peculiarities
- It is necessary to take the peculiarities of an algorithm into account when counting operations
i := 1; Cond := ExternalFunction( );
While (i
a := a + 1;
Cond := ExternalFunction( );
i := i + 1;
End While;
For j := i to n do
a := a + 1;
End For;
Total Operations = n