NVIDIA Interview Report
- 1of 1 vote
AnswersGiven a 2D matrix of characters we have to check whether the given word exist in it or not.
- hk588853 August 30, 2012 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 - 0of 0 votes
AnswersGiven an integer array find the longest subarray cantaining consequitive nos.
- hk588853 August 30, 2012 in India
eg {4,5,34,33,32,11,10,31}
ans is {31,32,33,34}
int[] function(int[])| Report Duplicate | Flag | PURGE
NVIDIA - 0of 0 votes
AnswersGiven a char array find possible soln like :
- hk588853 August 30, 2012 in India
eg for "abc"
ans: {a,ab,abc.b,bc,c}
char[] function(char[])| Report Duplicate | Flag | PURGE
NVIDIA
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.