Given an array nums of distinct positive integers, return the number of tuples (a, b, c, d) such that a b = c d where a, b, c, and d are elements of nums, and a != b != c != d.
1 | class Solution { |
Given an array nums of distinct positive integers, return the number of tuples (a, b, c, d) such that a b = c d where a, b, c, and d are elements of nums, and a != b != c != d.
1 | class Solution { |