Interactive Story Endings Reachability (Choices/Options)
You are given a simplified interactive-story model:
choices: a list of choice records. Each record has the formchoice = [start, op1, op2], meaning that from nodestartyou can pick one of tw...
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:
