There is a y or multiple y values with a blank on one side


A brief set theory overview as it relates to documentation Java code would be helpful and specific explanation of these issues -

I.
An example is attached of practice problem. Could you explain the post condition step by step? I get the general idea the expression is showing a loop that ends when their is nothing left in the string then returns number of characters in the string, but I bit confused by the symbols and notations.

II.
Could you explain how I could use they same type of notation in the example above to write a complex logic case such as -

Write a function that searches a [n][n] matrix filled with x's,y's or blank to find if a location in the matrix exists that:

I. there is x or multiple x values with a blank on one side (left/right or top bottom) and a y on the other

II. there is a y or multiple y values with a blank on one side (left/right or top bottom) and a x on the other

229_post.png

Solution Preview :

Prepared by a verified Expert
JAVA Programming: There is a y or multiple y values with a blank on one side
Reference No:- TGS01254908

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)