`
I know the logic is not right here, but some answers like this one set the data type of the List variable to int, not TreeNode` like I did. : https://leetcode.com/problems/validate-binary-search-tree/solutions/3327674/simple-c-code/?envType=study-plan&id=level-1&languageTags=csharp
