Microsoft interview question

Build an autocomplete component with this set of data