Compare Dotted Version Strings

Asked at Nextdoor · Coding Questions · Difficulty: Medium

A version string is a list of revisions written as non-negative integers separated by dots, for example `"7.5.2.4"`. Decide which of two version strings is later.

Loading the problem…