 # Php Programming Code Examples

## Php > Algorithms Code Examples

### Show the steps for converting a number from a given base to base 10

C++ Permute All Letters of an Input String - This algorithm takes the input of a string with all distinct characters 'N' Value. It places each character to every index by Swapping Values. A function to 'swap character' values of string

CGI Programs using C++ in Programming - CGI stands for common gateway interface is set of standards that define how information is exchanged from a 'webserver', passing the web user's request to an application program

Checks Cycle in a Graph using Topological - Displaying the "Topological Sort Method" of finding whether a given graph contains cycle or not using Kosaraju's Algorithm. Enter the source and destination. Cycles exist in graph.

Program to Convert Hexadecimal to Octal - There is not any Easy and Direct conversion algorithm from hexadecimal to octal number. Convert the Hex number to Binary. Group the converted binary in groups of 3 bits. Write the

C Program Flip all Bits of a Binary Number - Flipping a bit means toggling or inverting the current bit status. If the current bit is set i.e. 1 than invert it to 0 and vice versa. Flip all bits of a binary number you can run loop from 0...

Implementation TopDown Red Black Tree - Test if the tree is logically empty. Return true if empty, false otherwise. Then print the tree contents in 'sorted order'. Internal method to print a subtree t in sorted order. And Internal

C Codes Size of Structure Sizeof Operator - C structure is collection of elements of the different data types. Size of the structure can be evaluated using "sizeof operator". Sizeof is operator not function. Sizeof operator takes

C++ Bitap Algorithm and String Matching - The algorithm tells whether a text contains a substring which is "approximately equal" to a given pattern, where approximate equality is defined in terms of Levenshtein distance and