ByteDance interview question

Merge 2 sorted lists Promises, resolve and reject