Asymptotic Notations

Asymptotic analysis is a measure of efficiency of algorithms that doesn’t depend on machine specific constants, and doesn’t require algorithms to be implemented and time taken by programs to be compared. Asymptotic notations are mathematical tools to represent time complexity of algorithms for asymptotic analysis. The following three asymptotic notations are mostly used to represent … Read more

Circular Double Linked List

A circular double linked list has both successor pointer and predecessor pointer in circular manner. The objective behind considering circular double linked list is to simplify the insertion and deletion operations performed on double linked list. In circular double linked list the right link of the right most node points back to the start node … Read more

Linked List in C

Linked lists have their own strengths and weaknesses, but they happen to be strongwhere arrays are weak. Generally array’s allocates the memory for all its elements inone block whereas linked lists use an entirely different strategy. Linked lists allocatememory for each element separately and only when necessary A linked list is represented by a pointer … Read more

Union in C

Unions are derived data types, the way structures are. Unions and structures look alike, but are engaged in totally different activities Both structures and unions are used to group a number of different variables together. But while a structure enables us treat a number of different variables stored at different places in memory, a union … Read more

Arithmetic Functions list in C

Full list of Arithmetic Functions in C Function Use abs Returns the absolute value of an integer cos Calculates cosine cosh Calculates hyperbolic cosine exp Raises the exponential e to the xth power fabs Finds absolute value floor Finds largest integer less than or equal to argument fmod Finds floating-point remainder hypot Calculates hypotenuse of … Read more