Lenovo Interview Question

Given a string, count the number of words.

Interview Answer

Anonymous

Apr 28, 2019

I said there were three approaches, the interview is done in 3 party site where I can edit the very document, using a for loop, using the collections package in python and using NLTK.