Thursday, 28 July 2011

Interview Questions

Given a file read every word. and give the count of occurances of each word
--- wat is the time and space complexity
==================================

Link list -  2->3->4->5  to make it 2345

==================================

link list  2--3--4--5--6 add

                  1--2--3--4

result:    2--4--6--8--10

==================================


word FREEDOM  sec word DOMFREE
prog to rite if the second can be wrapped to form the first.


=====


    

No comments:

Post a Comment