Max function for two array arguments

Here max is comparing [3,5] and [1,6] or [2,5] and [3,3], but comparison for vectors is lexicographic (that is, it compares the first element and each time it needs to break ties, it compares the next one, and so on)

7 Likes