Five Rings Interview Question

C++ programming question involving data structures