example assume the following of codex 4y 3 z z


Example: Assume the following of code:

x = 4y + 3 z = z + 1

p = 1

As we have been seen, x, y, z and p are all scalar variables & the running time is constant irrespective of the value of x,y,z and p. Here, we emphasize that each of line of code might take different time, to execute, however the bottom line is that they will take constant amount of time. Therefore, we will describe run time of each line of code as O(1).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: example assume the following of codex 4y 3 z z
Reference No:- TGS0411939

Expected delivery within 24 Hours