Technical Round 1
A coding question which is similar to the below one:
https://leetcode.com/problems/alien-dictionary/solution/
Technical Round 2
Given a paragraph of words, find the minimum window that contains all the keywords in the given order.
Paragraph: I want to work for Airbnb because they provide amazing benefits and career potential to their employees, and their vision and message are stellar examples for other modern companies to follow. The idea of belonging anywhere and championing the mission? That's a great goal.
Keywords: and are for
Minimum window length: 6
Here are the possible windows that contains the given keywords
* and career potential to their employees, and their vision and message are stellar examples for
* and their vision and message are stellar examples for
* and message are stellar examples forWe ignore the below one, as the keywords are not in the given order.
* for Airbnb because they provide amazing benefits and career potential to their employees, and their vision and message areThis is simiar to https://leetcode.com/problems/minimum-window-substring/solution/