Interview Question

Senior Software QA Engineer Interview San Jose, CA

1. Read from a huge file say 1tb and write it into a huge

  file and scale it 2. Write a code piece from your previous project(unexpected!) 3. LRU cache 4. BFS with line breaks (not necessarily balanced)

Interview Answer

1 Answer


1. Files.copy is JDK7 way, FileChannel.transferTo is JDK5 way.
3. Using LinkedHashMap

Anonymous on Mar 30, 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.