V2EX linear-time

Linear-time

释义 Definition

“linear-time”(线性时间)指一种算法的运行时间随输入规模 n 按比例增长,通常记作 **O(n)**。也常用来形容“能在一次线性扫描内完成”的处理方式。(在不同语境下还可能涉及更细的复杂度比较,如常数因子、最坏/平均情况等。)

发音 Pronunciation (IPA)

/lnir tam/

例句 Examples

This algorithm finds the maximum in linear-time.
这个算法以线性时间找出最大值。

With a hash set, the program removes duplicates in linear-time with respect to the number of items, even though the original list is unsorted.
借助哈希集合,程序能在与项目数量成线性关系的时间内去重,即使原始列表是无序的。

词源 Etymology

“linear”来自拉丁语 linearis(“线的、成直线的”),强调“按直线比例增长”;“time”在计算机科学中常指运行时间。两者组合为“linear-time”,用于算法分析里表示“时间随输入规模线性增长”的复杂度类别。

相关词 Related Words

文学与著作中的用例 Literary Works

  • Introduction to Algorithms(Cormen, Leiserson, Rivest, Stein)在复杂度分析章节中常用“linear time / linear-time”讨论线性扫描与线性时间算法
  • The Art of Computer Programming(Donald E. Knuth)在算法效率与分析相关内容中使用“linear time”作为对比基准
  • Algorithms(Robert Sedgewick & Kevin Wayne)讲解基本数据结构与遍历时频繁提到线性时间操作
  • The Algorithm Design Manual(Steven S. Skiena)以“linear time”作为实用算法可行性的常见门槛与目标之一
关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     4799 人在线   最高记录 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 49ms UTC 04:02 PVG 12:02 LAX 21:02 JFK 00:02
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86