nandhini-1402 / Distinct-numbers-in-an-array

Given an array nums of positive integers of size N. Find all distinct digits present in nums. Example 1: Input: nums = [131, 11, 48] Output: 1 3 4 8 Explanation: 1, 3, 4, and 8 are only distinct digits that can be extracted from the numbers of the array.
14Updated 6 months ago

Related projects

Alternatives and complementary repositories for Distinct-numbers-in-an-array