Birdeye interview question

Replicate the search functionality of Google.