Leetcode weekly contest 182 | Leetcode problem 1395 solution

Published --