Snowflake Interview Question

Find duplicate number in an array