MCPcopy Create free account
hub / github.com/ccagml/leetcode-extension / runUserScript

Function runUserScript

resources/debug/entry/python3/problems/1095.py:1–6  ·  view source on GitHub ↗
(func, params, paramTypes)

Source from the content-addressed store, hash-verified

1def runUserScript(func, params, paramTypes):
2 if (len(params) != len(paramTypes)):
3 onParameterError()
4
5 func(parseParameter(0, 'number', params[1]), parseParameter(
6 1, 'MountainArray', params[0]))
7
8
9def parseSpecialParameter(index, paramType, param):

Callers

nothing calls this directly

Calls 2

onParameterErrorFunction · 0.50
parseParameterFunction · 0.50

Tested by

no test coverage detected