AVL Tree

Introduction of AVL Tree The AVL tree is named after its two Soviet Union inventors, Georgy Adelson-Velsky and Evgenii Landis, who published it in their paper “An algorithm for the organization of information” in 1962. The AVL tree is also called a Self-balancing BST. Definition An AVL Tree is a special type of Binary Search Read more…

Loading

Binary Search Tree

Introduction of Binary Search Tree They are also called Ordered Binary Trees, as each node in a BST is placed according to a specific order. Definition A binary search tree is a non-linear, non-cyclic data structure and is an extension/type of binary tree that may be empty or have at Read more…

Loading

Binary Tree

Introduction Binary Tree is considered as the mother tree because most of the trees are derived from this tree. Definition A binary tree is a type of tree in which no node can have more than two children is called a binary tree. A tree is a finite set of nodes storing Read more…

Loading

Super Global Variables in Php

Introduction The concept of Super global variables was introduced in/after PHP 4.1.0. The superglobal variables are also known as Global Variables/Automatic Globals. Definition Super global variables are pre-defined, built-in variables & are of global scopes and hence always accessible from any function, class, file, etc. Features These variables can be used Read more…

Loading

Preprocessor Directives Examples in C

Macro Examples Example : A Preprocessor Directives with Macro Examples for Defining Constants in C to display the message/value. Example : A Preprocessor Directives with Macro Examples for Defining a Function like a Macro in C to find the square value of a given number. Example : A Preprocessor Directives Read more…

Loading

Preprocessor Directives in C

Difference between Preprocessor Directives and Macro Preprocessor Directives Introduction The C pre-processor is not part of the compiler but is a separate step in the compilation process. The syntax of the pre-processor is different from the syntax of the rest of the C program in several respects. Definition Preprocessor directives Read more…

Loading

Introduction & History of Java

Introduction Java is the most popular programming language in the world today. Java offers three flavors of programming –  Java application, Java applets & Servlets. Java servlets are similar to applets programs except they execute on servers side. Servlets are Java programs answer to traditional CGI programming. Servlets are programs Read more…

Loading