Teaching Kids Programming – Distinct Prime Factors of Product of Array

Teaching Kids Programming: Videos on Data Structures and Algorithms Given an array of positive integers nums, return the number of distinct prime factors in the product of the elements …