I was asked to, assuming a database and some code base that could handle this, approach the problem of recording and storing playhead data on a video player. This included play, pause, stop, rewind, scrubbing, etc. This included showing some psuedo-code and some database tables and associations.