The Trade Desk Interview Question

online code challenge was an easy Leetcode problem about string sorting. the onsite interview was about algorithm, have you solved in whiteboard, quite challenging