leetcode reverseknodes, exhaustive max line set