Adobe Interview Report
- 0of 0 votes
AnswersThere is one linked list having two pointer one as usual next and other is random pointer pointing to any random node in list.
- shani October 19, 2012 in India
write algo to make a duplicate of it.
Note:- Original list is const, Can't be modified.| Report Duplicate | Flag | PURGE
Adobe MTS Algorithm - 0of 0 votes
AnswersGive a Data structure to store Name-value pair like name-age
- shani October 19, 2012 in India
"abc",12
"xyz",34...
such than insert(name,value), value = search(name), name = nthentry(n), delete(name); all can be perfomed in O(1).
Note:- after deletion order should be maintained.Ex.
"ds",12
"df",78
"teu",54
"etr",12
If delete("df") is called then nthentry(2) should return "teu"| Report Duplicate | Flag | PURGE
Adobe MTS Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.