Php Programming Code Examples
Php > Content Management Code Examples
Source Veiwer
Find the Number of Permutations of given -
Prints a total number of permutation possible for a given string. The time complexity of this algorithm is "O(n)". Algorithm takes the input of the string. Then it checks for the repetition
Sort Array in Ascending Descending Order -
Program code to read elements in an array and sort elements of the array in ascending order. Read unsorted integer values in array and sort them in ascending order. Numerous
Binary Search Tree non-recursive traversal -
In this, includes the inserting a node, deleting a node, recursive tree traversal, non-recursive Tree Traversal, finding the minimum and the maximum, leftchild, rightchild, copy a tree to
C Matrix of Order M x N and Interchange -
C language program code to accept a matrix of order M x N and store its elements and interchange the main diagonal elements of the matrix with that of secondary diagonal
C Program Code to Sort Array of Structure -
Problem to display the highest literate rate and the highest income of a state using array of structures. Firstly accept total number of states so that we can accept all the details...
C Swapping Two Numbers Using Variable -
C programmers are required to swap values of two variables. Here, we shall learn how to swap values of 2 integer variables, that may lead to swapping of values of any type and...
Whether entered Matrix is Magic Square -
A magic square is a simple mathematical game developed during the 1500. Square is divided into equal number of rows and columns. Start filling each square with the
C Number of Days in a Month Switch Case -
Find number of Days in a Month using switch case - best approach. Lets Observe the above program carefully for a moment. In the above program we are performing same action on...