1. Find the 10 Closest Words in a Vocabulary List
Given a vocabulary list from NLTK, write a Python program to find the 10 words closest to an input string. The interviewer will provide you with the probabilities of these words, which you can assign using numpy random. Then, select the 10 words with the highest probabilities and remember to use the sorted function. Finally, discuss the time complexity of your solution.