HF RL Explorer

Task: Finding Duplicate Values in NumPy Arrays

Task: Finding Duplicate Values in NumPy Arrays: a task in Terminal-Lego-15k (Harbor dataset). Your task is to implement a Python function that efficiently finds duplicate (non-unique) values in a NumPy array. Given an array of integers, you need to identify which values appear more than once.

The task

Your task is to implement a Python function that efficiently finds duplicate (non-unique) values in a NumPy array. Given an array of integers, you need to identify which values appear more than once.

Part of PrimeIntellect/Terminal-Lego-15k.