Skip to content

Latest commit

 

History

History
36 lines (35 loc) · 752 Bytes

README.md

File metadata and controls

36 lines (35 loc) · 752 Bytes

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()