C Program to Find Mode
The mode is the value that appears most often in a set of data. The mode of a discrete probability distribution is the value x at which its probability mass function takes its maximum...
The mode is the value that appears most often in a set of data. The mode of a discrete probability distribution is the value x at which its probability mass function takes its maximum...
This is the C program to perform matrix operations such as addition,division and inverse #include int mat1[10][10],mat2[10][10],i,j,k,row1,row2,col1,col2,res[10][10]; char ch; main() { printf(“nChoose any Optionn1.Matrix-Additionn2.Matrix-Multiplicationn3.Matrix-Transposen”); scanf(“%c”,&ch); switch(ch) { case ‘1’:matadd(); break; case ‘2’:matmul(); break; case...
This is the C Program to find the determinant of a matrix In linear algebra, the determinant is a value associated with a square matrix. It can be computed from the entries of the...
This is the Implementation of Sorting Algorithm Merge Sort in C merge sort (also commonly spelled mergesort) is an O(n log n) comparison-based sorting algorithm. Most implementations produce a stable sort, which means that...
This is the C Program to find the gcd or hcf of two numbers,there are two methods to find gcd,subtraction method and division method In mathematics, the greatest common divisor (gcd) of two or...
This is the C Program to find the substring in c,it searches the whole string to find the substring and returns the position if it founds one #include #include main() { char string[100]; char...
This is the C Program Implementation of BFS and DFS BFS Order in which the nodes are visited In graph theory, breadth-first search (BFS) is a strategy for searching in a graph when search...
In this tree, the lowest common ancestor of the nodes x and y is marked in dark green. Other common ancestors are shown in light green. This is the java program to find the...
This is the C Program to Implement Binary Search Binary Search can be implemented both recursively and non recursively In computer science, a binary search or half-interval search algorithm finds the position of a...
This is the C Program implementation of sorting algorithm,Bubble Sort Bubble sort has worst-case and average complexity both О(n2), where n is the number of items being sorted. There exist many sorting algorithms with...
Recent Comments