Skip to content

vladyslav-core/data-structures-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures in Java

A small Java project with custom implementations of core data structures.

Implemented Structures

Linked List

Generic singly linked list implementation with:

  • add element to the end
  • insert element at a specific index
  • get element by index
  • remove element by index
  • size tracking
  • custom string representation

Doubly Linked List

Generic doubly linked list implementation with:

  • head and tail references
  • add element to the end
  • insert element at a specific index
  • get element by index
  • remove element by index
  • forward and reverse string representation
  • optimized node search from both directions

Queue

Generic queue implementation built on top of the doubly linked list with:

  • enqueue
  • dequeue
  • dequeue multiple elements
  • peek
  • size
  • isEmpty

Project Structure

doublelinkedlist/
linkedlist/
queue/

About

Collection of classic data structures and algorithms implemented in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages