linkedin Skip to Main Content
Just announced: We now support interviewing in spreadsheets!
Back to blog

Code Challenge: Python Longest Subarray

Coding Challenges

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:

More resources

We have made available these extra resources to improve your Python coding skills:

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!