Tesla Interview Question

DP programming on string construction