OpenGov Interview Question

design Facebook activity log, argmax question taking in two parameters one being argument and other a function. This problem was very confusing and even the interviewer had to look at the solution to answer this problem