Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Very clean and beautiful. This should be the highest voted solution!

  • Default User Avatar

    The desired output format seems entirely unreasonable to me:

    1. Why return everything as a single string?!
    2. Why include the queried zip code in the return value?
    3. Why separate street names and numbers so the order matters?!
      I don't see any plausible scenario where anybody would want that, particularly 3).

    Can you give us an explanation why you chose this output format?

    Also: Can a street appear twice in the same city, but with different (or even identical?) numbers? If so, what should the output look like in this case?