tower of hanoi PHP solution omniceps

Solution of Tower Of Hanoi Problem with PHP

The Tower Of Hanoi puzzle is a problem of Recursion which was invented by the French mathematician Edouard Lucas in 1883. Today we will look at its solution algorithm and also solution using PHP. Here is what Wikipedia says about … Continue Reading

Problem Of Binary Gap

The Binary Gap is the number of Consecutive zeros in the binary representation of a decimal number surrounded by 1’s at both ends. The Problem of Binary Gap corresponds to finding the longest Binary Gap in a given Decimal number. … Continue Reading