1. find the nth node from end in a linked list in single parse 2. wap to check if the tree is BST 3. prove A+BC =(A+B)(A+C) 4. (A023AC5B)-(129B5321) to the base 13 5. prove that no of leaf nodes in any binaryy tree is one more than the no of nodes with degree 2 6. write a prog in assembly lang 2 calculate sum of first n natural nos 7. print values in an array with recurring didits eg a[10]={3,2,5,4,3,4,6,12,4,12,6} the prog shud print {3,3,5,4,4,6,6,12,12} chk the sequence 8. write prefix and postfix notation 9. insert a node in a sorted linked list. 10. draw dfa for b* + b*a(ba)* 11. simplify a boolean expression ~a(a+b) -(b+a)(a+~b)
RE: 1. find the nth node from end in a linked list in ...
maintain 2 pointers:I st ptr---->head(1st node)2 nd ptr--->headtraverse 1 st ptr 'n' nodes from head. now traverse both the nodes till the 1 st reaches theend of list.now position on 2 nd ptr is the ans.
RE: 1. find the nth node from end in a linked list in ...
7-10-2006.Hi i attended Adobe test yesterday.They gave the same paper as previously posted......Shocking indeed!!!!!!!all the questions were the same....was conducted by merit trac.....attempted 22 pgms......only 5 were shortlisted.....only 1 interview.