I think you could do it at runtime with O(n^2) by examining…

Twetch ·

I think you could do it at runtime with O(n^2) by examining reentry stack