Please add a test case for 12.56 and 12.560, thanks
The result of 12.56 and 12.560 should be -1 because 1.1 and 1.10 return -1. Right?
Yup. 12.56 is the 56th revision of the 12th version. 12.560 is the 560th revision of the 12th version. 12.56 < 12.560.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.