Citadel Interview Question

2 puzzle questions. One about linked lists and C++ implementation. Another question on probability/statistics.