遍历

遍歷
biànlì
verb

Meanings

  1. 1 to traverse (a data structure)
  2. 2 to travel all over

Examples

HSK 7-9
Zhè duàn dàimǎ huì biànlì shùzǔ lǐ de měi yí ge yuánsù.
This code goes through every element in the array.
HSK 7-9
Tā niánqīng shí biànlì míngshān-dàchuān.
In his youth he traveled to all the famous mountains and great rivers.

Tips

usage
In programming, 遍历 means visiting every item of a list, tree or table once. The older sense, 'to travel all over', is literary; everyday speech says 走遍.

Stroke Order

遍 biàn
历 lì