Pergunta de entrevista da empresa Amazon

1. Find substrings with k distinct letters. 2. K closest points to origin.