OpenGenus/cosmos

Adding code for reversing singly linked list

Open

#6 587 ouverte le 11 oct. 2022

Voir sur GitHub
 (14 commentaires) (0 réactions) (0 assignés)C++ (3 724 forks)batch import
Hacktoberfest

Métriques du dépôt

Stars
 (13 462 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:

This algorith to reverse the singly linked list takes O(n) time and O(1) auxiliary space.

Guide contributeur