Welcome to Subscribe On Youtube Formatted question description: https://leetcode.ca/all/2252.html Todo All Problems All Solutions