I think my codes are correct,but i get a error when i submit it.this my codes and errors


Log in to reply
 

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