Monthly Archive: December 2014
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...
This is the c program to print statistics of a file system ie:disk usage The function statfs() returns information about a mounted file system. path is the pathname of any file within the mounted...
This is the C Program to Copy Files,we open a file using filedescriptor fd1 and create another file fd2.the contents are copied from one file to another till end of file is met
This is the C Program to implement readers writers problem in C In computer science, the first and second readers-writers problems are examples of a common computing problem in concurrency. The two problems deal...
Recent Comments