Code Challenge: Python Longest Subarray
In a street with colored houses, you want to take a picture containing the most houses, but without any duplicate colors. In this code challenge, you are tasked with finding the longest possible sub-array containing only unique values.
Please check the sandbox below for further instructions:
Want to conduct interviews on this platform?
Check out CoderPad : pick any interview question or create your own, then invite your candidate to a shared live-coding session on an IDE like this one. You even get 2 free interviews per month forever using this registration link!