CountIng Search


Premium Content - Free Preview

The previous challenge asked for word occurrences, but this one is about text matches.

How many times does the String "ing" (lowercase) appear in a given text? It can appear as part other words or on its own.


End of Free Content Preview. Please Sign in or Sign up to buy premium content.

Comments

  • a char is not af reference but a value (primitive) so .equal wont work cause it cant be dereferenced.. i learned this doing this example. complicated but we do learn :-)

    a solution:
    my code

Contact Us
Sign in or email us at [email protected]