Feature #4: Identifying Proteins

Implement the "Identifying Proteins" feature for our "Computational Biology" project.


We have an unknown sequence of genomes that is thought to be a new protein. To accept or reject this sequence as a new protein, one method we can use is to identify it as a palindromic sequence. A palindrome is a string that reads the same from the start as the end.

We’ll be provided with a sequence of genomes in the form of a string. Our task is to identify whether these genomes constitute a palindrome to be considered as a potential protein.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.