Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote