I'm very curious to know how Leetcode scores submissions. Is there documentation on this anywhere?
Maybe the scoring script looks like this:
- Execute submitted code (including code above solution class).
- Create an instance of the solution class.
- Pass a series of inputs to the required method of the solution class.