Skip to content

Latest commit

 

History

History
31 lines (30 loc) · 1.13 KB

README.md

File metadata and controls

31 lines (30 loc) · 1.13 KB

masteringGo

This repo contains implementations of data structures in Go.

Data Structure Description Implementation Tests
Linked list Singly linked list contains the following methods:
  • AddInTail() — adds a node to the tail of the linked list
  • InsertFirst() — adds a node to the head of the linked list
  • Insert() — inserts a new node after the specified one
  • Count() — returns the length of the linked list
  • Find() — searches for a node with the specified value and returns it
  • FindAll — searches all nodes with the specified value and returns them
  • Delete() — deletes one node or all nodes with the specified value
  • Clean() — clears the list (creates an empty list)
link