# JavaScript Programming

## JavaScript > Code Examples

### A string array variable

Implementing Circular Doubly Linked List -
'Memory allocated' for node dynamically and inserts element at beginning. Inserts elemnet at last. Inserts element at position and delete node at particular position. Update value of a

C++ Performing Edge Coloring of a Graph -
In graph theory, an "edge coloring" of a graph is an assignment of colors to the edges of the graph so that no two adjacent edges have the same color. Any "2 edges" connected to same

Finds Greater Number of Entered Number -
Program 'takes a number' as input and finds a Greater number of the entered number using same digits. Take a number as input. Reverse the number and store it in the array. Using for

Bitwise operators are used in C Language -
C Program Code Bitwise operators During computation, mathematical operations like: addition, subtraction, addition and division are converted to bit-level which makes and

Creating a Function Checks Prime Number -
Function returns true if the number passed to the function is a 'prime number', returns false if the number passed is not a 'prime number'. The appropriate message is printed from the

C++ Language Hello World Program Code -
Simple C++ program to display "Hello, World" on the screen. Since, it's a simple program, it is often used to illustrate the syntax of a c++ programming language. Every C++ program

C++ Code Finds Greatest Common Divisor -
This means a 'greatest number' which divides both numbers. Example: Two numbers are 18 and 24. Numbers which Divides both are 1, 2, 3 and 6 in which greatest number is 6. So 6 is

Code Finds Second Smallest of n Elements -
Linearly traverse the data array. Keep track of the "Smallest Number". Simultaneously keep updating the second smallest number also. A function to calculate second. If array element