Snowflake interview question

Trapping rain water. Merge k sorted lists