Snowflake Interview Question

Trapping rain water. Merge k sorted lists