Files
developer-roadmap/src/data/roadmaps/java/content/100-java-fundamentals/104-datastructures.md
T
2023-03-30 01:23:01 +01:00

898 B

Datastructures

As the name indicates itself, a Data Structure is a way of organizing the data in the memory so that it can be used efficiently. Some common data structures are array, linked list, stack, hashtable, queue, tree, heap, and graph.

  • Array allocates continuous memory for homogeneous data
  • Linked List stores data in nodes with references
  • Stack follows Last In First Out principle
  • Queue follows First In First Out principle

Visit the following resources to learn more: