Skip to content

Everything about data structures and algorithms

Notifications You must be signed in to change notification settings

aryan-mehta/Nobi-Algo-DS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nobi-Algo-DS

Just some Data Structures

1- Linked Lists:

Here, we will see the idea of using linked lists (in JAVA 8) and what they are. The main idea behind using linked list over arrays is that the insertion and deletion, here, has time complexity of O(1). The code of using and coding the linked lists is provided here. Following methods and constructs have been covered and coded using Java 8:

  1. Creating a Node for linked lists.
  2. The method for basic insertion of element
    • Adding elemnent in the start
    • Adding element at the last
    • Adding element anywhere w.r.t. the index provided.
  3. Method for deleteion for element at a given index.
  4. Method for reversing the list
  5. Method for finding length and printing the list. << More To Add >>

2- Graphs:

About

Everything about data structures and algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 55.2%
  • C 44.8%