The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security

      THE unique Spring Security education if you’re working with Java today

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

  • Category upAlgorithms
  • Category upJava Collections
  • Category upJava List
  • Category upGroovy

Tag: Data Structures

Data structures help organize and store data efficiently for access. Learn about the basics of several data structures in Java like maps, lists, stacks, trees, and many more.

>> Quick Guide to the Java Stack

  • reference

>> Maps in Groovy

  • popular

>> Lists in Groovy

  • popular

>> Graphs in Java

  • popular

>> Obtaining a Power Set of a Set in Java

>> Kruskal’s Algorithm for Spanning Trees with a Java Implementation

>> Median of Stream of Integers using Heap in Java

>> How to Print a Binary Tree Diagram

>> Prim’s Algorithm with a Java Implementation

>> Circular Linked List Java Implementation

>> Implementing A* Pathfinding in Java

>> How to Determine if a Binary Tree Is Balanced in Java

>> Breadth-First Search Algorithm in Java

>> Depth First Search in Java

>> Checking if a Java Graph Has a Cycle

>> Reversing a Binary Tree in Java

>> Defining a Char Stack in Java

>> Thread Safe LIFO Data Structure Implementations

>> The Trie Data Structure in Java

>> How to Find the Kth Largest Element in Java

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • Next →
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Spring Tutorial
  • Spring Framework Introduction
  • Learn Spring Boot Series
  • Get Started with Java
  • All About String in Java
  • Java IO Series

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo