Available question text
Design an object that allows calling any (unknown) method name repeatedly in a chain—each call returns the same object so chaining can continue indefinitely—and that produces a final result (e.g., when coerced or by a terminating call) based on the recorded calls. The core challenge is handling dynamic method names and enabling infinite, chainable invocation.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2690. Infinite Method Object
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source