Feature #6: Identify a Species
Implement the "Identify a Species" feature for our "Computational Biology" project.
We'll cover the following
Description
The DNA for an alien species consists of a sequence of nucleotides. We can uniquely identify a species by finding the longest substring of nucleotides in the DNA, where no nucleotide appears twice. This substring of DNA is known as a species marker. Given an animal’s DNA, where each nucleotide is represented by a letter, we can find its species marker.
The following examples might clarify the requirements:
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.