Data Structures in Java

Data Structures in Java

Data structures in Java is a method of organizing and storing data so that it can be used more efficiently. There are two types of data structures: primitive data structures and non-primitive data structures. The term “primitive data structure” refers to a data structure that only stores one type of data. Non-primitive data structures are more complex data structures and are derived from primitive data structures. Non-primitive data structures are divided into two categories: Linear Data Structures and Non-linear Data Structures.

The most common operations that can be performed on data structures include searching, sorting, inserting, updating, and deletion. This section covers data structure topics such as arrays, linked lists, singly and doubly linked lists, stacks, queues, binary trees, binary search trees, heap, hashing, and, graphs. These Java examples cover a wide range of programming areas in Computer Science. These Java programs are often asked for in the interview. Every example program includes program description, Java code, and program output. All examples have been compiled and tested on Windows and Linux systems.

Here is the listing of Data Structure Topics in Java:

advertisement
advertisement

Java Programs on Doubly Linked List

advertisement

Data Structures in Java: Heap Programs

Data Structures in Java: Hashing Programs

advertisement

Java Programs on Graph

advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.