Pilot Flying J interview question

The advanced algorithm, brain teaser, SQL query solve, whiteboard coding.