# Confused with meaning of version number, v1.2 < v1.10 ?

• I got a very weird result, which only make sense when I misunderstand the meaning of version number...

Input: "1.2", "1.10"
Output: 1
Expected: -1

So, is v1.2 < v1.10?

• Yes. Here 1.10 means 10th iteration of version 1 whereas 1.2 means 2nd iteration of version 1.
This is not the conventional numbering where 1.10 < 1.2 because 1.2 is not the same as 1.20.

• Thanks for clarification!!

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.