Skip to content

Devanshusp/data-structures

Repository files navigation

data-structures

  • ArrayList
    • int size()
    • void add(E element)
    • E get(int index)
    • void set(int index, E element)
    • void remove(int index)
    • String toString()
  • HashMap
    • int size()
    • void put(K key, V value)
    • V get(K key)
    • void remove(K key)
    • String toString()
  • LinkedList
    • int size()
    • void append(E value)
    • void prepend(E value)
    • E get(int index)
    • void insert(E value, int index)
    • boolean remove(E value)
    • E remove(int index)
    • String toString()
  • Stack
    • int size()
    • void push(E value)
    • E peek()
    • E pop()
    • String toString()
  • Queue
    • int size()
    • void enqueue(E value)
    • E peek()
    • E dequeue()
    • String toString()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages