KonkurStudy
همه کارت‌ها

BFS/DFS Visit Order with Tie-Breaking

Trace BFS (queue) and DFS (stack/recursion) deterministically by breaking every tie in alphabetical order — and read off the first/last vertex visited.

کارت الگوریتم کنکور ارشد علوم کامپیوتر