Closed iafisher closed 5 years ago
In general dependency resolution can be solved with topological sorting, which might be annoying to implement in practice. However, if I apply certain restrictions, e.g. not allowing transitive dependencies (so if A depends on B then nothing can depend on A nor can B depend on anything), then I think that dependency resolution is as simple as swapping out-of-order questions.
The idea is you could have
so that some questions must be asked before others.