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 →

Entropy In Machine Learning

Entropy is a measure of randomness. In other words, its a measure of unpredictability. Let's take an example of a coin toss. Suppose we tossed a coin 4 times, and the output of the events came as {Head, Tail, Tail, Head}. Based solely on this observation, if you have to guess what will be the... Continue Reading →

A Short Introduction To Disk Storage

Introduction In a modern computer system, data resides and it is transported throughout a hierarchy of storage media. The highest speed  memory is the most expensive and therefore available with least capacity. The lowest speed memory is offline tape storage which is available in indefinite storage capacity. The storage capacity is measured in bytes, kilobytes,... Continue Reading →

Blog at WordPress.com.

Up ↑