![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 29.08.2021 01:00 leilaelmazry
Time complexity gives a rough idea of how long it will take for an algorithm to execute
based on two things: the size of the input it has and the amount of steps it takes to complete,
whereas space complexity is also the amount of memory required to execute an algorithm based
on the size of input it has or given.
Using mathematical notations or diagrams critically explain the time and space complexity of the
code below. 10 marks
int a = 0;
for (i = 0; i < N; i++) {
for (j = N; j > i; j--) {
a = a + i + j;
}
}
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:30
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is [email protected] -
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 02:30
How to launch an app: steps to be successful? launching an app is a great idea, but it’s not that easy as we supposed to think. the majority of mobile applications don’t generate revenue because companies aren’t ready to be competitive. referring to our experience in successfully building and launching apps we hope to you omit these difficulties. we are going to talk about ideas, marketing, testing your product, its development, distribution and support. you will learn 8 product launch stages to succeed.
Answers: 1
You know the right answer?
Time complexity gives a rough idea of how long it will take for an algorithm to execute
based on t...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/istoriya.png)
History, 17.07.2020 23:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/istoriya.png)
History, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/istoriya.png)
History, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2020 23:01
![question](/tpl/images/cats/biologiya.png)
Biology, 17.07.2020 23:01