Topic: Array Problem / Level: intermediate

Problem: Given an array of integers, find the longest subarray with all distinct elements.

Run the code to see the output here...