Microsoft Interview Question

Given an string, separate the continuous groups of numerical and non-numerical characters