Leetcode 1577. Number of Ways Where Square of Number Is Equal to Product of Two Numbers | Hello Interview