← 返回 uber 的题目列表Validate Function Syntax
类型:online_judge
Write a function to validate if the input string is a valid function syntax. A valid string follows the format function_name(a, b), where function_name is a valid identifier and a, b are possibly nested function calls or identifiers. Provide the implementation of the function, and you can assume the string doesn't contain extra spaces.
Example
Input
function_name(a, b)