LinkedIn interview question

2 easy questions. Basic data structures/algorithm.