Leetcode 1231. Divide Chocolate | Hello Interview