Article of the week

Converting tree to correct HTML list in PHP

Converting tree to correct HTML list in PHP

07 Jul 2017 22:48:43


Converting trees into correct HTML lists using tree traversal in pre-order algorithm.


Read full article »

Recent articles

Two indispensable formulas for percentages

15 Jul 2020 11:21:05

Two indispensable formulas for percentages

In this article I look at two very useful mathematical formulas related to dealing with percentages efficiently. You might know them, but it is likely, you haven't not been shown at least one of them while studying the subject during your school years. I remember my own ...

Read more »

Recursively updating deeply nested arrays in PHP

14 Jul 2020 11:08:06

Recursively updating deeply nested arrays in PHP

Suppose you have a deeply nested array of items, with its members being numbers and arrays. You want to update all the numbers, like 3 and 5 for example, in all of the arrays, no matter how deep nested the numbers are in the structure. In this article I look at two methods of ...

Read more »

Finding Minimum Spanning Tree with Prim's Algorithm and PHP

02 Mar 2020 02:10:42

Finding Minimum Spanning Tree with Prim's Algorithm and PHP

Minimum spanning tree (MST) is an edge subset of edge-weighed undirected graph, that connect all the vertices together with the minimum possible total edge weight. There are a few methods of finding minimum spanning tree of a graph. One such efficient method is called ...

Read more »

Geocoding with HERE APIs and Vue.js

27 Feb 2020 20:06:39

Geocoding with HERE APIs and Vue.js

Geocoding with HERE API and Vue.js Geocoding is a process of finding a geographic location of an object on the Earth's surface. The location is specified using two coordinates. One is latitude, the other longitude. Both are specified in degrees. Latitude's range is 90 ...

Read more »