"Run Code" missing in some problems

A few problems (https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/ for example) are missing the "run code" in all the languages I've checked. Is this intentional? I know that my first code written is probably not going to compile, most likely due to a typo - and AFAIK, most companies don't really care too much if you misspelled "Insert" when you called a function. That's what an IDE is for.

I'd rather not have to "submit" my code to check if it even compiles - and I usually code part of a solution before doing all of it, so I'd like to know that, for example, my tree traversal algorithm even works before coding the next part.

Comments (8)