Amazon Interview Question

Return all the string when you type there initial letters