diff options
| -rw-r--r-- | pt-br/dynamic-programming-pt.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/pt-br/dynamic-programming-pt.html.markdown b/pt-br/dynamic-programming-pt.html.markdown index 8de9bee6..45b52790 100644 --- a/pt-br/dynamic-programming-pt.html.markdown +++ b/pt-br/dynamic-programming-pt.html.markdown @@ -51,7 +51,7 @@ array antecedente e uma variável como maiorSequenciasAteAgora e seu índice  ajudariam a poupar muito tempo.  Um conceito similar poderia ser aplicado ao procurar o maior caminho em um   grafo acíclico dirigido. ---------------------------------------------------------------------------- +  ```   for i=0 to n-1              LS[i]=1 @@ -62,7 +62,7 @@ grafo acíclico dirigido.              if (largest < LS[i])  ``` -### Alguns Problemas Famosos de Programação Dinâmica +## Alguns Problemas Famosos de Programação Dinâmica  ```  Floyd Warshall Algorithm - Tutorial and C Program source code:http://www.thelearningpoint.net/computer-science/algorithms-all-to-all-shortest-paths-in-graphs---floyd-warshall-algorithm-with-c-program-source-code  | 
