Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在流程图上表示一个递归函数。我的问题是我不知道如何表明该函数可能一次在多个元素上调用自身(例如考虑一个扫描图形的函数)。有人有什么建议吗?
在流程图中,您通常不会为循环之类的内容添加多个调用,您只需指出代码可能会被重复调用,直到满足条件。因此,对于递归函数,它会是相似的——基本情况是常规步骤,递归步骤与循环相同。请参阅此示例。