DEV Community

mike dg
mike dg

Posted on

1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay