two latest facebook interview problems

  1. phone interview, new grad
    print matrix diagonally
    1 2 3
    4 5 6
    print: 3,2,6,1,5,4
  2. implement interface: interface keyValueStore
    4 methods:
    add(key, value), 
    i.e, first 3 methods are similar to hashmap. last one is for the last accessed key.

Related Post

Be the first to comment

Leave a Reply

Your email address will not be published.