subject

Give a big-o estimate for the number additions used in this segment of an algorithm.
t : = 0
for i : = 1 to n
for j : = 1 to n
t : = t + i + j
i understand the answer is o(n^2) but how?

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, alexabessin
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print?
Answers: 3
image
Computers and Technology, 22.06.2019 11:00, yentel110306
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, ashleyd198308
Respond to the following in three to five sentences. select the workplace skill, habit, or attitude described in this chapter that you believe is most important for being a successful employee.
Answers: 1
image
Computers and Technology, 23.06.2019 21:00, shawnnoteman1234
Which task uses a simple parameter?
Answers: 1
You know the right answer?
Give a big-o estimate for the number additions used in this segment of an algorithm.
t : = 0

Questions in other subjects:

Konu
Biology, 05.04.2021 14:10
Konu
Mathematics, 05.04.2021 14:10
Konu
Mathematics, 05.04.2021 14:10
Konu
English, 05.04.2021 14:10
Konu
Chemistry, 05.04.2021 14:10
Konu
Biology, 05.04.2021 14:10