add new solution without using extra space for the "Compare Version
Numbers"