[139, 140] of leetcode