Pergunta de entrevista da empresa ZopSmart

Uncrossed lines leetcode question number 1035