556. Next Greater Element III (Medium)