leetcode 278 simple approach

visit shbcf.ru