Question: 2. Compare the 2 versions Comparing two version strings (version 1 and version2), supposed that these two strings are not empty and only contain numbers
2. Compare the 2 versions Comparing two version strings (version 1 and version2), supposed that these two strings are not empty and only contain numbers (0-9) and character. if version 1 > version 2, return 1; If version1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
