Type Of Triangle Ii Leetcode Solutions With Explanation