This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gene Sequencing | |
# Given an input array and a test array, create a method that takes in | |
# two arrays as inputs, named 'input' and 'test,' respectively. | |
# 'input' is an array of any number of letters | |
# 'test' is an array of 4 letters | |
# The method returns 'match!' if the 'test' array is found inside the | |
# 'input' array and returns 'no match =(' if the 'test' array is not found | |
# Bonus: Try to make the script work even if your test sequence is reversed |
NewerOlder