1p3a_oj Question

Graph Variant: Endings Reachable Only If Both Options Are Explored (Follow-up)

Question Details

Follow-up to the previous problem: model everything as a directed graph (nodes are story segments; edges are option transitions). Add a constraint: For a node with choice = [start, op1, op2], an en

Full Details

🔒

Unlock all Sofi questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a sofi interview for a swe role during the coding round.

It covers the following topics: Graphs, Ml, Graph .