

GitHub - mirahman/PHP-Data-Structure-and-Algorithms: I will try to build popular...
source link: https://github.com/mirahman/PHP-Data-Structure-and-Algorithms
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

PHP Data Structures and Algorithms
Data structure and Algorithm is always important for any programming language. PHP, being one of the most popular language for web development, also requires the pure data structure and algorithm implementations.
In this project, i am trying to cover major data structure and algorithm implementations using PHP 7. For more details discussion about the topics, you can read my book , https://www.amazon.com/PHP-7-Data-Structures-Algorithms/dp/178646389X/
Any feedback, bugs or suggestion will be welcomed.
Topics covered
-
Linked List
- Single Linked list
- Circular Linked list
- Doubly Linked List
-
Stacks
- Stack using Array
- Stack using Linked List
-
Queues
- Queue using Array
- Queue using Linked List
- Priority Queue
- Circular Queue
- Double Ended Queue - DeQueue
-
Trees
- Generic Tree
- Binary Tree
- Binary Search Tree
- Tree Traversal (In-order, pre-order, post-order)
- Trie (Simple insert and search operation)
-
Heaps
- Min Heap
- Max Heap
-
Graph
- Bellman Ford Algorithm
- Dijkstra
- Floyd Warshall
- Kruksal
- Prim Minimum Spanning tree
- Topological Sorting
-
Sorting
- Bubble sort
- Bubble Sort with improvements
- Bucket sort
- Heap Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Radix Sort
- Selection Sort
-
Searching
- Binary Search (Iterative)
- Binary Search (Recursive)
- DFS using Stack
- Exponential Search
- Interpolation Search
- Repetitive Binary Search
-
Dynamic Programming and Others
- Sudoku (Backtracking)
- Collaborative Filtering
- DNA Sequencing (NeedlemanWunsch Algorithm)
- 0/1 KnapSack Dynamic Programming
- Fibonacci (Recursive)
- Fibonacci (Memoized)
- Huffman Encoding (Greedy Algorithm)
- Job Scheduler (Greedy Algorithm)
- KMP String matching algorithm
- Longest Common Subsequences (LCS)
- Pattern Matching
- Sparse Array
-
Numbers and Maths - PHP Big Integer Implementation - Prime number generation - Sieve
I know lots of things are missing in the list? Would you mind to let me know what you wanna see implemented? I will priortize those and add here.
Coming Soon
- AVL tree implemenations
- Project Euler Solutions in PHP for Hackerrank.com
- More algorithms
Recommend
-
72
Hacktoberfest-Data-Structure-and-Algorithms A repository containing data structures and algorithms, regardless of language. No longer active Not Affiliated with Digital Ocean or Hacktoberfest
-
87
Data Structure and Algorithms Problems
-
35
There are a lot of computer science graduates and programmers applying for programming, coding, and software development roles at sta...
-
7
Files Permalink Latest commit message Commit time
-
6
-
11
rafaelpadilla/Object-Detection-Metrics: Most popular metrics used to evaluate object detection algorithms.
-
5
javinpaul Posted on Dec 13...
-
14
Algorithms and How to Choose the Right Data Structure
-
4
Top 100 Data Structure and Algorithms (DSA) Interview Questions Topic-wiseSkip to content
-
5
5 Free Data Structure and Algorithms Books in Java Programming In the last article, I have shared some of...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK