Closed frostming closed 1 year ago
Thanks for your contribution, very impressive (as always)!
One thing left is that we need to do parameter deserialisation before calling the solution function, since there are questions whose input is list, ListNode or TreeNode.
Maybe we need to wait for the determination of #112 first.
One thing left is that we need to do parameter deserialisation before calling the solution function, since there are questions whose input is list, ListNode or TreeNode.
Yeah, it will make the code grow, may be better to extract it to a python package, as go does.
This PR adds support for Python local testing
How it works
unittest
, but I can't implement the test matrix as easy as pytest.conftest.py
once to parametrize the test cases according to the input and output valuesTODO