subject

Give a big-O estimate for the number of operations,
where an operation is a comparison or a multiplication,
used in this segment of an algorithm (ignoring comparisons
used to test the conditions in the for loops, where
a1, a2, ..., an are positive real numbers).
m := 0
for i := 1 to n
for j := i + 1 to n
m := max(aiaj, m)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Research data that is presented using descriptive language is said to be
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
You know the right answer?
Give a big-O estimate for the number of operations,
where an operation is a comparison or a mu...
Questions
question
Computers and Technology, 24.09.2021 17:30
question
Mathematics, 24.09.2021 17:30
question
Mathematics, 24.09.2021 17:30
question
Geography, 24.09.2021 17:30
question
Mathematics, 24.09.2021 17:30
question
Mathematics, 24.09.2021 17:30
question
Geography, 24.09.2021 17:30
question
World Languages, 24.09.2021 17:30
question
English, 24.09.2021 17:30