Sequence Count to Target - Coding problem | OneNoughtOne