Skip to content

You will find this repo useful for to understand how basic Data Structures and Algorithms can be implemented using Java. Note: this is not containing Java generics features and Java 8, 9, 10 features because main purpose is not to focus in specific language(anyone can use same logic to other languages only the syntax differ)

Notifications You must be signed in to change notification settings

Blasanka/data-structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Data Structures using Java

Note:

This repository updates everyday, check for updates and suggest anything.

How to run:

Download or clone the repository import to your favorite IDE and open any Main classes, then, you can run and check.


Content:

1. Stack

  • Provide Last In First Out(LIFO)
  • Lastly added value will remove first.
  • Example: When you press few keys on keyboard they are adding to a stack and when you press delete key lastly added value will remove first.

2. Queue (Linear Queue and Circular Queue)

  • Provide First In First Out(FIFO)
  • Firstly added value will remove first.
  • Example: This is like a persons in a queue to get meds or something in real life, firstly came person will get meds first.

2. LinkedList

  • Linked objects. Just like a simple class and properties/variables with a special property called --next to hold another Link/object memory address(In Java actually we don't have memory address rather we have hash code(example: #342ff3) for every object to uniquely identify that object.).
  • [more info coming soon.]

How to Contribute:

Star the repo then Fork it and add/change and pull request. Then, I will review and merge it. send a mail to leoshak360@gmail.com

About

You will find this repo useful for to understand how basic Data Structures and Algorithms can be implemented using Java. Note: this is not containing Java generics features and Java 8, 9, 10 features because main purpose is not to focus in specific language(anyone can use same logic to other languages only the syntax differ)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages