Type Of Triangle Ii Leetcode Two