Disney+ Hotstar interview question

Union of 2 array, k largest elements, flatten array. Implement Promise.all, implement timer