hk588853
BAN USER
Questions (3)
Comments (2)
Reputation 70
- 1of 1 vote
AnswersGiven a 2D matrix of characters we have to check whether the given word exist in it or not.
- hk588853 in India
eg
bool function(char[][],char[])
s f t
d a h
r y o
we can find "rat in it
(top down , straight ,diagonal).. even in reverse order. with least complexiety.| Report Duplicate | Flag | PURGE
NVIDIA Arrays
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
heyy can u ealborate
- hk588853 September 07, 2012p=memcpy(p,p+1,last-p)-1;
line am not able co-relate.
plz help with example. :)