DS Coding Problems By Pattern