Leetcode contest : publication #878