阅读背景:

如何在SML中找到列表中的最大数字

来源:互联网 

We want to find the largest value in a given nonempty list of integers. Then we have to compare elements in the list. Since data values are given as a sequence, we can do comparisons from the beginning or from the end of the list. Define in both ways. a) comparison from the beginning b) comparison from the end (How can we do this when data values are in a list?)We want to find the largest value in a give




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: