Cisco Interview Question

House robber - dynamic programming Comparing characters in a string