Why NULL instead of nullptr?

  • 1

    In most (if not all) questions, OJ defined struct/class use NULL instead of nullptr. Why is that?

  • 0

    I guess it is for backward compatibility or just for readability. They seldom change the descriptions of the problems.

Log in to reply

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