Algorithm Interview Report
- 0of 0 votes
Answer# Given that, there are 2 linked lists L1 and L2. The algorithm finds the intersection of the two linked lists. i.e' "L1 intersection L2 " ( similar to intersection of 2 sets ). Write all the possible test cases involved in the above given problem.
- sathipkr October 28, 2009| Report Duplicate | Flag | PURGE
Algorithm - 0of 0 votes
Answer# Given a string *Str of ASCII characters, write the pseudo code to remove the duplicate elements present in them. For example, if the given string is "Potato", then, the output has to be "Pota". Additional constraint is, the algorithm has to be in-place( no extra data structures allowed) . Extend your algorithm to remove duplicates in the string which consisted of UNICODE characters.
- sathipkr October 28, 2009| Report Duplicate | Flag | PURGE
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.