3 lines
107 B
Swift
3 lines
107 B
Swift
let a = [1,2,1,3,2]
|
|
let b = [1,2,0,4,4,0,0,0]
|
|
println(lexicographicalCompare(a, b)) // this is "less than"
|