Word Count
Problem Description
Given a string A. The string contains some words separated by spaces.Return the number of words in the given string.
Problem Constraints
1 <= |A| <= 105Ai = { lowercase English letters or spaces}
Input Format
The first and only ar...
navnathjadhav.hashnode.dev2 min read