Unorthodox opinions on computer science and programming.
Monday, April 9, 2012
20 minute puzzle
You have a list of names and a list of objects. Each object has 1 unique name. Neither list contains duplicates. Write a procedure that determines if every name in the list corresponds to an object.
(Suppose the list never contains more than four names, would you change your program?)