Design Pattern – The Singleton Pattern

Definition Sorry about that whisky image. I, too, love click baits 😉 The singleton pattern is a software design pattern that restricts the instantiation of a class to one object. Singleton pattern is a convention for ensuring one and only one object is instantiated for a given class. Usage Places where only one object is... Continue Reading →

Advertisements

Network Flows – Maximum Flow

Network flows is a class of problems dealing with directed graphs and the properties of functions defined on the graph. Flow Flow represents any element which does not disappear while traveling through the edges of the directed graph. Flow can be current in the electric network, data packets in case of the computer network and... Continue Reading →

Binary Heap – Data Structure

Usage In Heapsort In Priority Queue Not the garbage collector storage (as provided by JVM) Definition A binary Heap is an array object. We can view that array object as a near complete binary tree. A binary tree is said to be a complete binary tree when all the nodes except possibly for the leaves... Continue Reading →

A Tutorial on JVM – Run-Time Data Areas

Java code comprise of class and variable. Class and Variable come with different scope(private/public/static). All this takes memory. JVM has been given responsibility to run the java code. JVM gives memory for class/variables. But how does JVM manages memory? Let's imagine JVM memory as big box as it is shown in the picture below. We will... Continue Reading →

An Introduction To Machine Learning

Machine Learning is a kind of buzz words these days; sort of a mysterious new guy in the class whom everyone wants to be friend with. On the onset, I would like to think Machine Learning as a part of tool kit of every Software Engineer. And conceptually it's not different from the Mathematics, Algorithm,... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑