Comparing Objects with PHP
Yesterday, I was working on PHPAlgorithms (again). When trying to implement Graphs (Directed and Undirected), I found out that a node could not be found in the graph although I was sure it was there. After a lot of debugging and reverse engineering, I found out that: the adjacency list, which contains all adjacent nodes … read more …