- Time : O(max(|A|,|B|))
- Space : O(|A|+|B|)
c++
1 | int Solution::compareVersion(string A, string B) { |