V2EX  ›  英汉词典

Inorder

释义 Definition

inorder 常见于计算机语境,等同于 in-order(也常写作 in order)。主要含义:

  1. (计算机)中序的:指二叉树等结构的“中序遍历/中序访问”(in-order traversal),通常顺序为“左子树 → 根节点 → 右子树”。
  2. (更常见拼写:in order)按顺序;井然有序;为了(in order to):日常英语里多写成两个词 in order 或短语 in order to

发音 Pronunciation

/ɪn ˈɔːrdər/

例句 Examples

I visited the files in order, from A to Z.
我按顺序查看了文件,从 A 到 Z。

In order to understand the algorithm, we perform an in-order traversal of the tree and record each node.
为了理解这个算法,我们对这棵树进行中序遍历,并记录每个节点。

词源 Etymology

order 来自拉丁语 ordo(“排列、等级、秩序”),经由古法语进入英语;in order 字面义是“在秩序之中/按秩序”。计算机中的 in-order 则是在此基础上专门化,用来描述一种“按特定顺序访问节点”的方式。

相关词 Related Words

文学作品 Literary Works

  • Pride and Prejudice(Jane Austen)中常见结构 in order to(“为了……”)
  • Great Expectations(Charles Dickens)中常见 in order to / in order 的叙述表达
  • Alice’s Adventures in Wonderland(Lewis Carroll)中亦可见 in order to 这类目的表达
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   702 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 20:40 · PVG 04:40 · LAX 12:40 · JFK 15:40
♥ Do have faith in what you're doing.