leetcoding 151 eager to finish version, more work to understand all this problems