DIY: Count a Word in the Comments

Solve the interview question "Count a Word in the Comments" yourself in this lesson.

We'll cover the following...

Problem statement

In this challenge, you are given two arguments: an array of strings containing lines of a C++ source code and a string containing a word. Your task is ...

Access this course and 1400+ top-rated courses and projects.