FindWords
This exercise is for collaborative work during class. Do not fill out early!
Sign in to Google to save your progress. Learn more
Consider the following problem.  Given a string parameter named phrase and string named letter, the function findWords returns a list of all the words from phrase that have letter in them.
For example, findWords("the circus is coming to town with elephants and clowns", "o") would return
    [‘coming’, ‘to’, ‘town’, ‘clowns’]

Consider two possible solutions to findWords. Both of these functions work correctly.

If phrase had N characters and M words in it, about how long would it take to calculate phrase.split()? *
About how many total steps would findWords take? *
Here is another version
About how many total steps would findWords2 take? *
Names and Netids below
Names (comma separated) *
netid *
netid (partner)
netid (partner)
netid (partner)
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy