什么是字典顺序? [英] What is lexicographical order?

查看:1196
本文介绍了什么是字典顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

词典顺序的确切含义是什么?它与字母顺序有何不同?

What is the exact meaning of lexicographical order? How it is different from alphabetical order?

推荐答案

词典顺序字母顺序.另一种类型是数字排序.考虑以下值,

lexicographical order is alphabetical order. The other type is numerical ordering. Consider the following values,

1, 10, 2

这些值按字典顺​​序排列. 10以数字顺序排在2之后,但是10以字母顺序"排在2之后.

Those values are in lexicographical order. 10 comes after 2 in numerical order, but 10 comes before 2 in "alphabetical" order.

这篇关于什么是字典顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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