Confluent·Software Engineer·Technical Phone Screen
- You have a registry of functions, each with a name and a parameter list that may include positional types, optional parameters, and a variadic tail. Given a query with a function name and a sequence of argument types, determine whether any registered function can be called with that query. Walk through how you'd handle exact matching, optional arguments, varargs, and multiple candidates with a tie-breaking rule. Also discuss data structures and complexity.
“Started okay with the basic case, just check name and count and types.”