The code editor has built in keyboard short cuts to quickly Run and Submit the code but if you are too used to some of the combination of these keys, you might see your solution submitted half way through. See this thread for reference - https://leetcode.com/discuss/feedback/4690881/disable-keyboard-shortcuts/2254278
Good thing is you can now disable these shortcuts!!
Click the settings icon in the code editor.

It'll take you to the settings where you can disable them!!
