Skip to content

adityabmv/template-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Data Structure Library

Implements Array, Stack, Queue, Deque, LinkedList, DoublyLinkedList, List(Dynamic Array).

Common functions for each class.

  1. first() Gets the first element.
  2. last() Gets the last element.
  3. add() Adds element to list in the last.
  4. insert(index) Inserts element at a specific index.
  5. indexOf(element) Returns the index of first apprearance of the element.
  6. remove(element) Removes the first appearance of the element.
  7. removeAt(index) Removes the element present at the given index.
  8. sort() Sorts the container.

About

An implementation of common data structures in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages