Python starter code recommendation

Right now, for python this is the starter code:

class Solution:
    def problemName(self, *params) -> Any:

What is should be.

class Solution:
	@staticmethod
	def problemName(*params) -> Any:

To access the method you don't need to create an instance:

Solution.problemName(param1, param2)
Comments (0)