I\'m not exactly sure on how to start this as I\'m only given one parameter to w
ID: 3552614 • Letter: I
Question
I'm not exactly sure on how to start this as I'm only given one parameter to work with in this function that I'm supposed to implement a linear search code.
The instructions ask:
The idea of this function is to search for its parameter in the words array in the most elementary manner.
This means going through all the words from our words list, comparing w to each of them, and returning true as soon as we found a match.
If we go over all elements of words without finding a match, we return false. Make sure that the comparison between something like
Explanation / Answer
http://pastebin.com/HWifSDDr
I recommend reading the comments to help understand the code
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.