DEV Community

mike dg
mike dg

Posted on

Leetcode and Kotlin complaint

Dear Leetcode,

Stop using val as a field in your tree nodes. If we are going to have to write two extra characters to get around the fact that val is a keyword in Kotlin, then let's just use value.

Alt Text

Am I the only one annoyed by this?

Top comments (0)