Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 534 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 534 Bytes

#twitterwhack
video links:
https://youtu.be/oAOG6gWDbls
https://youtu.be/-y759sS-lHE (unit test)

given 2 words- word1 and word2
search only word1 and store the number of results to @scores[0]
search only word2 and store the number of results to @scores[1]
search both word1 and word2 and store the number of results to @scores[2]

index-@scores[2]
score-@scores[0]*@scores[0]

Show index and score and a comment according to index.
Show a random tweet that was found by searching both words.