Count Unique Values

Return the count of distinct values in an array.

Topics: tables, loops, algorithms. Solve this Luau challenge inside Luablox with visible examples and hidden tests.

Browse all Luau problems

Read a theory lesson