Adobe interview question

Time Complexities and Data Structure. Expect Tough Questions from JS also .