https://github.com/neetcode-gh/leetcode/blob/755a89a60c3b13ddd96c4055279aefac4ac6a66a/java/0450-delete-node-in-a-bst.java#L27 This solution does not work. It should be minimumVal(root.right)