Predicate and Expression Tree Evaluator
Implement a predicate and expression-tree evaluator, similar to a SQL WHERE clause.
Given a JSON document document and a predicate expression predicate, implement:
evaluate(predicate...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
