Generating All Cases Graph

Правка en1, от issahaddar5, 2015-08-15 13:30:06

I was trying to solve this problem. I solved it using bfs. However, I would like to know how can I generate the whole graph beforehand — before processing it in dfs or any other algorithm- ? Another problem that I would like to employ this technique on is problem A in this contest

Теги graphs, generators

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский issahaddar5 2015-08-15 13:30:06 399 Initial revision (published)