Example 1
Input: ver_str_a = 2.0.1, ver_str_b = 2.0.0
Output: 1
Explanation: Third revision: 1 > 0, so ver_str_a > ver_str_b.
Example 2
Input: ver_str_a = 3.4, ver_str_b = 3.4.0.0
Output: 0
Explanation: Missing revisions are treated as 0, so both are equal.
Example 3
Input: ver_str_a = 0.9.9, ver_str_b = 1.0.0
Output: -1
Explanation: First revision: 0 < 1, so ver_str_a < ver_str_b.
Constraints
Case 1
Input: ver_str_a = '10.0.0', ver_str_b = '10.0'
Expected: 0
Case 2
Input: ver_str_a = '1.2.3', ver_str_b = '1.2.4'
Expected: -1
Case 3
Input: ver_str_a = '1.2.3.4', ver_str_b = '1.2.3.4'
Expected: 0
Case 4
Input: ver_str_a = '1.2.3.4', ver_str_b = '1.2.3.3'
Expected: 1
Case 5
Input: ver_str_a = '1.0.0.0.0', ver_str_b = '1'
Expected: 0