Ancestry Interview Question

string manipulation