## Applications of Graph Data Structure

A graph is a non-linear data structure, which consists of vertices(or nodes) connected by edges(or arcs) where edges may be directed or undirected. In Computer… Read More »

## Operating System | Process Synchronization | Set 2

Prerequisite – Process Synchronization | Introduction, Critical Section, Semaphores Process Synchronization is a technique which is used to coordinate the process that use shared Data.… Read More »

## Python Variables

Python is not “statically typed”. We do not need to declare variables before using them, or declare their type. A variable is created the moment… Read More »

## How to setup firewall in Linux?

What is a Firewall? Firewall is a network security system that filters and controls the traffic on a predetermined set of rules. This is an… Read More »

## Sort 3 numbers

Given three numbers, how to sort them? Examples: Input : arr[] = {3, 2, 1} Output : arr[] = {1, 2, 3} Input : arr[]… Read More »

## JavaScript | Boolean.prototype with Examples

The Boolean.prototype is an inbuilt property in JavaScript which is used to add a new property to the all Boolean instances. There is constructor prototype… Read More »

## Graph measurements: length, distance, diameter, eccentricity, radius, center

Prerequisite – Graph Theory Basics – Set 1, Set 2 A graph is defined as set of points known as ‘Vertices’ and line joining these… Read More »

## Discrete Mathematics | Hasse Diagrams

A Hasse diagram is a graphical representation of the relation of elements of a partially ordered set (poset) with an implied upward orientation. A point… Read More »

## JavaScript | Boolean

Boolean is a datatype that returns either of two values i.e. true or false. In JavaScript, boolean is used as a function to get the… Read More »

## Mathematics | Walks, Trails, Paths, Cycles and Circuits in Graph

Prerequisite – Graph Theory Basics – Set 1 1. Walk – A walk is a sequence of vertices and edges of a graph i.e. if… Read More »

## Computer Network | Denial of Service DDoS attack

Imagine a scenario where you are visiting some websites and one of them seems to be a little slow. You might blame their servers to… Read More »

## Inverse functions and composition of functions

Inverse Functions – In mathematics a function, a, is said to be an inverse of another, b, if given the output of b a returns… Read More »

## Mathematics | Introduction to Proofs

Mathematical proof is an argument we give logically to validate a mathematical statement. In order to validate a statement, we consider two things: A statement… Read More »

## TreeMap in Java

The TreeMap in Java is used to implement Map interface and NavigableMap along with the Abstract Class. The map is sorted according to the natural… Read More »