Mateus Pfeffer da6ae08851
Brazilian Portuguese translation and typos fixes (#943)
* Update README.pt-BR.md

* TRIE README.pt-BR typo

* TREE README.pt-BR typo

* Stack README.pt-BR typo

* Priority Queue README.pt-BR typo

* hash-table README.pt-BR typo

* doubly-linked-list README.pt-BR typo

* disjoint-set README.pt-BR typo

* bloom-filter README.pt-BR typo

* merge-sort pt-BR translation

* merge-sort README added pt-BR option

* insertion sort pt-BR translation

* insertion sort README added pt-br option

* heap-sort pt-BR translation

* heap-sort READMED added pt-BR option

* bubble sort pt-BR typo

* pt-BR translation for sorting algorithms

Fixed typos and translated all the missing algorithms

* Update README.pt-BR.md

* linked list pt-BR translation

* ml pt-BR translation

* fix typo in README

Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
2022-10-10 15:23:32 +02:00

534 B

Travessia de Lista Encadeada Reversa

Leia isso em outros idiomas: 中文, English

A tarefa é percorrer a lista encadeada fornecida em ordem inversa.

Por exemplo, para a seguinte lista vinculada:

A ordem de travessia deve ser:

37 → 99 → 12

A complexidade de tempo é O(n) porque visitamos cada nó apenas uma vez.

Referência