# C++ Programming Code Examples

## C++ > Data Structures and Algorithm Analysis in C++ Code Examples

### Implementation for deterministic skip list

C++ Codes Check a Number is Palindrome -
C++ sample ask to enter a number to reverse it, then check whether reverse is equal to its "original or not", if "it is equal" then it will be palindrome else it will be not be palindrome:

Connected Components of an UnDirected -
Program to find the connected components of the "undirected graph". This can be done using depth first search. Implementation of "Kosaraju's algorithm" to print all SCCs. Fills

Compare Both the String n Chars strncmp -
C programming String functions "strncmp". It compare both the string till n characters or in other words it 'compares' first n characters of both the strings. Print string1 and string2 are

Code Support Infinite Precision Arithmetic -
C Program code creates a support for Infinite Precision Arithmetic which allows storage of Large Integers which is beyond the Range of the integral limit. C is architecture dependent

C++ Program Find the Mode in a Data Set -
In C++ language, The mode is the maximum of the "count of occurrence" of the different data element. This algorithm is beneficial for large dataset with high repetition frequency

C Code Find Reverse of String by Pointers -
Input a 'string from user', store it in a variable say str. 'Declare another Array' that will store 'reverse of the string', say char reverse[SIZE]. Find Length of the string and store it in some

C Program code Generate Fibonacci Series -
Generates fibonacci series. In fibonacci series the first 2 numbers in the Fibonacci sequence are 0, 1, each Subsequent Number is the sum of the previous two. Example 0, 1, 1, 2, 3, 5, 8,

C++ Finds Convex Hull of A Set of Points -
Program to implement "Jarvis March" to find convex hull. The idea of Jarvis's Algorithm is simple, we start from the 'leftmost point' (or point with minimum x coordinate value) and