Question: i need this code in java please declare an 2D array of characters and search for a char sequence(creating a word ) in rows only

i need this code in java please declare an 2D array of characters and search for a char sequence(creating a word ) in rows only (horizontaly ) Example 2D array , the word Input:CAT

A B C D E

A C A T N

G H I C T

L M C A T

output:Found Word "CAT" Row 1 col 1 and row 3 col 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!