Coding-ninjas icon indicating copy to clipboard operation
Coding-ninjas copied to clipboard

condition when string does not contain any character or word in COUNTWORD program

Open Shashanksharmaa opened this issue 2 years ago • 0 comments

// should be implemented before for loop if (str == null || str.isEmpty()) { return 0; }

Shashanksharmaa avatar Mar 06 '22 22:03 Shashanksharmaa