He who must not be named

Report a typo

Suppose you have a very large text file that contains the entire text of every Harry Potter book. In this file, each sentence of each novel is on a new line.

You want to write a program that splits the sentences into words, and counts the amount of times that the name "Voldemort" is used. What is the optimal way to read this file?

Select one option from the list
___

Create a free account to access the full topic