//1. What does the following C Program do? main() { unsigned int num; int i; scanf("%u",&num); ...
Read more »
Monday, 22 December 2014
Monday, 18 August 2014
SQL 101
In this post I will talk about very basics of Oracle SQL 1. Table is made of row and columns. 2. Each row contains exactly one record k...
Read more »
Thursday, 10 April 2014
Difference between throw and throws in Java
Throws: Throws declares that your method is capable of throwing an exception but it does not handle the exception that must be specified b...
Read more »
Labels:
Java
Thursday, 5 December 2013
Finding the missing term of an A.P.
An Arithmetic Progression is defined as one in which there is a constant difference between the consecutive terms of a given series of num...
Read more »
Labels:
C
Tuesday, 19 November 2013
Running Wamp server on on port different than default port 80
You have developed a system that is written using windows-apache-mysql-php. One day you open the system, launches the wamp server an...
Read more »
Saturday, 15 December 2012
Write a Java Program to implement Counting Sort.
Counting Sort assumes that each of the n input elements is an integer range from 0 to k for some integer k. When k is in order of uper boun...
Read more »
Labels:
Data Structure,
Java
Write Java Program to implement Quick Sort.
This Sorting Algorithm is based on Divide and Conquer approach. package quicksort; public class QuickSort { public static void ma...
Read more »
Labels:
Data Structure,
Java
Sunday, 2 December 2012
Write a Java Program to implement heap and heap sort.
I am assuming that actual index of array for purpose of implementing heap starts with 1 and whatever value is in index no. 0 will treated ...
Read more »
Labels:
Data Structure,
Java


