Sort Version Numbers
Given two version numbers, version1 and version2, each version number consists of one or more revisions separated by a dot '.'. Each revision consists of numeric strings and is non-negative. Compare v...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
