Why do people put so much value in 1 line solutions?

  • 0

    People on this site seem to be all about providing 1 line solutions or "simple solutions"...

    In my opinion, the best submissions are going to be maintainable solutions. Ones where it's obvious what the code is doing. Why so much emphaisis on the one liners?

    Next is execution speed. I realize there is a time and a place for the faster solutions, however in my opinion it's going to be a maintaince nightmare if you focus on code executions rather than maintainability.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.