Java Programming Code Examples
Java > Learning Code Examples
Arrays and collections
Program Implement Gauss Seidel Method -
This is a "C++ Program" to implement "Gauss Seidel" Method. In numerical Linear Algebra, the Gauss-Seidel method, also known as the Liebmann method or "method of successive"
Checks Leap Year by Conditional Operator -
C Programming Language input a year and check whether year is leap year or not using conditional/ternary operator ?:. How to check leap year using conditional operator in C. If a
C++ Program to Implements the B+ Tree -
A B+ tree is an n-ary tree with a variable but often large number of "children per node". A B+ tree consists of a root, internal nodes and leaves. The root may be either a leaf or node
C Code Remove Spaces Blanks from String -
C program remove extra spaces, blanks from the string. Removes 'extra blank spaces' from the given string and returns a new string with single "blank spaces" and skip all consecutive
Code Designated initializers to Set Values -
C Programming designated initializers to set values of structure members. Two ways to set the values of a struct member. Another way to do the same using designated initializers.
Weakly Connected or Strongly Connected -
Program to find the connected components of the "Undirected Graph". This can be done using depth first search algorithm. Fills stack with vertices (in increasing order of finishing
Assignment Operators in The C Language -
C Programming to assignment operators. An Assignment Operator is used for assigning a value to a variable. C code demonstrate the working of assignment operators. The most
Accept Sorted Array and do Binary Search -
C Program accepts the sorted array and does search using "Binary Search". Binary search is algorithm for locating the position of an item in a 'Sorted Array'. A search of sorted data, in