pks
BAN USER- 0of 0 votes
Answersyou are given nos 1,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9 u hav to form a 9 digit no such dat 1st 2 digits are divisible by 2,1st 3 digits are divisible by 3,1st 4 digits are divisible by 4 and so on..... (repetitions not allowed)
- pks in United States| Report Duplicate | Flag | PURGE
Amazon - 0of 0 votes
Answersif the end point of rectangular island is (w,z) and u are at (x,y) and u have to kill an animal which roam in that island , what is the probablity that u will not fall form the island to die , i.e. after the end point , and the possible moves are the 4 direction n/e/s/w (in Clock Wise). u have to code for it.....plz help guys
- pks in India| Report Duplicate | Flag | PURGE
Amazon - 0of 0 votes
Answersvoid Func(tNode **node){
- pks in United States
if(*node!=NULL){
Func(&(*node)->pLeft);
tNode *temp;
temp = (*node)->pLeft;
(*node)->pLeft= (*node)->pRight;
(*node)->pRight = temp;
Func(&(*node)->pRight);
}
}
what does this code do if root node of BST is passed to it? ny idea plz help| Report Duplicate | Flag | PURGE
Amazon
yeah logic is fi9...bt its bit difficult to code... :(
- pks August 11, 2012