Skip to content

A header file that as number of pre loaded array operations , just pass the value and see the results

License

Notifications You must be signed in to change notification settings

harshnative/DS_Algo_for_Cplusplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures and Algo in c++ (for reference and pre build algo's)

Array Operations header file

this file contains all the ds and algo on the d simple array

ex -

  1. traverse array
  2. insert at particular position
  3. delete from particular position
  4. delete values by finding them
  5. reverse a array
  6. normal searching
  7. binary search
  8. sort array using bubble short
  9. remove duplicate elements from the array

read full documentation here

Matrix Operations header file

this file contains all the ds and algo on the 2d matrix

ex -

  1. transpose matrix
  2. increasing matrix size
  3. adding two matrix
  4. mutiplying two matrix
  5. taking input from user in vector form
  6. print matrix
  7. print matrix in spiral form
  8. finding saddle point
  9. reducing special matrix like diagonal , tridiagonal , triangular etc

read full documentation here

singlyLinked list header file

this file represent the singly linked list implementation

ex -

  1. creating a singly linked list
  2. get the pointer to a certain position in a linked list
  3. inserting in a singly linked list
  4. traversing a singly list list

And many more

read full documentation here

Circular Linked list Header File -

this file represent the circular linked list implementation

ex -

  1. return the last node of the circular linked list
  2. add to a empty circular linked list
  3. add to the beginning in a circular linked list
  4. add after a certain position in linked list
  5. add to the end of the linked list
  6. check whether a linked list is circular or note
  7. delete a node at a certain position in circular linked list
  8. get a node position of the first apperance of the key
  9. get a node after a certain pos
  10. get the lenght of linked list

read full documentation here

Doubly Linked list Header File -

this file represent the doubly linked list implementation

ex -

  1. add node at the beginning of the linked list
  2. display from head
  3. display from tail
  4. get the lenght of linked list

read full documentation here

Stacks Header File -

this file contains the pre build stacks and its operations

ex -

  1. push
  2. pop
  3. peek
  4. isStackEmpty
  5. isStackFull

etc

read full documentation here

Licensing -

This code is licensed under GPL 3.0 , which means you can use this code in any of your project and also modify it if needed.

But it is recommended that you contribute some of the extra features to the community as well (^_^)

About

A header file that as number of pre loaded array operations , just pass the value and see the results

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages