Merge Sort

Merge Sort is a sorting technique based on divide and conquer technique with comparison. Conceptually, a merge sort works as follows : i) Divide the unsorted list into n sublists, each containing 1 element (a list of 1 element is considered sorted). ii) Repeatedly merge sublists to produce new sublists …

Read More »

How the data represents in a Computer

Information transformation and storing is the basic nature of the computer. Thus, a computer must be able to take input, process it and produce output. Here a question raised in our mind that is, how is the information/data representation in a computer? The data represents in the computer is in …

Read More »

Interview Question-Java Virtual Machine

When a Java program is compiled it is converted to byte code which is then executed by the Java interpreter by translating the byte code into machine instructions. Java interpreter is part of Java runtime environment. Byte code is an intermediate code independent of any machine and any operating system. …

Read More »