Compare Version Numbers
Input: version1 = "0.1", version2 = "1.1"
Output: -1Input: version1 = "1.0.1", version2 = "1"
Output: 1Input: version1 = "7.5.2.4", version2 = "7.5.3"
Output: -1Input: version1 = "1.01", version2 = "1.001"
Output: 0
Explanation: Ignoring leading zeroes, both “01” and “001" represent the same number “1”Last updated