Skip to content

eltonfonseca/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms and Data Structures

Algorithms and Data Structures in Language C, PHP, Java, JavaScript, Ruby and Python!

License

license

Data Structures

Abstract Type Data Implementation

Algorithm C PHP Java JavaScript Ruby Python
Stack (LIFO) ✔️ PHP Java JavaScript ✔️ Python
Queue (FIFO) ✔️ PHP Java JavaScript Ruby Python
Singly Linked List ✔️ PHP Java JavaScript Ruby Python
Singly Linked List (With Ordenation) ✔️ PHP Java JavaScript Ruby Python
Doubly Linked List ✔️ PHP Java JavaScript Ruby Python
Doubly Linked List (With Ordenation) ✔️ PHP Java JavaScript Ruby Python
Singly Circle Linked List ✔️ PHP Java JavaScript Ruby Python
Doubly Circle Linked List ✔️ PHP Java JavaScript Ruby Python
Tree ✔️ PHP Java JavaScript Ruby Python

Search Algorithms

Note: Some algorithms need an ordered array to work correctly

Algorithm C PHP Java JavaScript Ruby Python
Linear Search ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Linear Search Recursive ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Binary Search ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Binary Search Recursive ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Graph Search (DFS adn BFS) ✔️ PHP Java JavaScript Ruby Python
Sentinel Linear Search ✔️ PHP Java JavaScript Ruby Python

Sorting Algorithms

Algorithm C PHP Java JavaScript Ruby Python
Bubble Sort ✔️ PHP Java JavaScript Ruby Python
Quick Sort C PHP Java JavaScript Ruby Python
Selection Sort C PHP Java JavaScript Ruby Python
Merge Sort C PHP Java JavaScript Ruby Python
Insertion Sort C PHP Java JavaScript Ruby Python

Miscellaneous

Some famous algorithms used in studies

Algorithm C PHP Java JavaScript Ruby Python
Dijkstra Algorithm ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Floyd Warshall Algorithm C PHP Java JavaScript Ruby Python
Fibonacci ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Fibonacci Recursive ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Factorial ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Factorial Recursive ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Hanoi Tower ✔️ PHP Java ✔️ ✔️ ✔️
Kings Problems ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Deterministic Finite Automaton C PHP Java JavaScript Ruby Python
Caesar Cipher ✔️ PHP Java JavaScript Ruby Python
Exponentiation ✔️ PHP Java ✔️ ✔️ ✔️
Exponentiation Recursive ✔️ PHP Java ✔️ ✔️ ✔️
Travelling Salesman C PHP Java JavaScript Ruby Python
Hamiltonian Cycle C PHP Java JavaScript Ruby Python
Duplicate Elements in Array C PHP Java JavaScript ✔️ Python
Knight's Tour C PHP Java JavaScript Ruby Python
Maximum Recursive C PHP Java JavaScript Ruby Python
Maximum and Minimum C PHP Java JavaScript Ruby Python
Maximum and Minimum Recursive C PHP Java JavaScript Ruby Python
Dining Philosophers Problem C PHP Java JavaScript Ruby Python
Sleeping Barber Problem C PHP Java JavaScript Ruby Python
Producer and Consumer Problem C PHP Java JavaScript Ruby Python
Linux cp Command C PHP Java JavaScript Ruby Python
Mini-Shell C PHP Java JavaScript Ruby Python

Delevoper

Elton Fonseca

Computer Science - Puc Minas - Brazil

About

Algorithms and Data Structures in different languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published