Motorola Solutions Interview Question

A typical string arrangement questions.