Hi,

I am trying my best to understand the big 0 concept to no avail. Can anyone put it in easy to understand form please? Is there any tutorial on this? I really would love to learn this myself!

I'm stuck on this problem:

Pattern ( size )
i = 1
while i is less than or equal to size do the following
j = 1
while j is less than or equal to i do the following
output the asterisk character (*)
add one to j
end while


Question: What is the order (big 0 ) of algorithm Pattern? :confused:

The only simple explanation I've found is mine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.