Amazon Interview Question

joins, strings and arrays from dsa