NBCUniversal interview question

whiteboard programming data structures and algorithms