循环和子程序不是简单的操作,而是取决于数据输入的大小和子程序的内容.................... [英] Loops and subroutines are not simple operations but depend on size of input of data and the contents of subroutines ....................

查看:75
本文介绍了循环和子程序不是简单的操作,而是取决于数据输入的大小和子程序的内容....................的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

数据剂量大小意味着循环执行4次就像嵌套循环一样?

什么是子程序?及其内容?我如何计算他们两个人的运行时间

i知道大多数循环是= o(n ^ 2)但我不知道为什么



我尝试过:



>>>> ............ ................................................

size of data dose that mean that the loop are execute 4 times like nested loop ?
and what is subroutine ? and its contents ? how can i calculate the run time of both of them
i know that most loop are = o(n^2) but i dont know why

What I have tried:

>>>>...........................................................

推荐答案

问题没有头,没有尾巴。这只是胡说八道。

提出问题是一种技巧 [ ^ ]

在论坛中发布问题的一些指导原则 [ ^ ]



The question have no head, no tail. It is just nonsense.
Asking questions is a skill[^]
Some guidelines for posting questions in the forums[^]

引用:

我知道大多数循环都是= o(n ^ 2)但我不知道为什么

i know that most loop are = o(n^2) but i dont know why



你不知道为什么,因为它是一个错误的知识。


You don't know why because it is a wrong knowledge.


Google Gods : o(n ^ 2) - Google搜索 [ ^ ]有很多答案...
Google Gods: o(n^2) - Google Search[^] have many answers for you...


这篇关于循环和子程序不是简单的操作,而是取决于数据输入的大小和子程序的内容....................的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆