Many times it happens that while solving mathematical expressions we require to calculate the square root of a number. To solve this issue like other programming… Read More

All Expert Articles

HashMap is the Class which is under Traditional Collection and ConcurrentHashMap is a Class which is under Concurrent Collections, apart from this there are various… Read More

The emotions of images like happy, sad, neutral, surprise, etc. can be extracted using Microsoft emotion API for any development purpose. It is very simple… Read More

When my elder son and I finished writing our Plain English compiler, we decided to test its usefulness by adding a what-you-see-is-what-you-get document editor that… Read More

Given latitude and longitude in degrees find the distance between two points on the earth. Image Source : Wikipedia Examples: Input : Latitude 1: 53.32055555555556… Read More

What is the probability of 3 students sharing a birthday in a class of 30 students is ________ . (A) 0.0300 (B) 0.7029 (C) 0.5604… Read More

Given two polynomials, A(x) and B(x), find the product C(x) = A(x)*B(x). In the previous post we discussed the recursive approach to solve this problem… Read More

You are given an positive integer n as dividend and another number m (form of 2^k), you have to find quotient and remainder without performing… Read More

Server Virtualization is the partitioning of a physical server into number of small virtual servers, each running its own operating system. These operating systems are… Read More

Given a non-negative number n. The problem is to unset the last m bits in the binary representation of n. Constraint: 1 <= m <=… Read More

Given n, find the greatest number which is strictly not more then n and whose binary representation consists of m consecutive ones, then m-1 consecutive… Read More

Given a list of N numbers, Find two numbers such that the product of the two numbers has the maximum number of factors. Formally given… Read More

This function is used to set the base to octal, decimal or hexadecimal. It sets the basefield format flag for the str stream to the… Read More

Kilometer is a unit of length in the metric system equivalent to 1000 meters. Miles is also the unit of length equal to 1760 yards.… Read More

If you are running any python script and want to send regular updates from your script to mobile phone through SMS, you can use SinchSMS… Read More

A number is said to be a Peterson number if the sum of factorials of each digit of the number is equal to the number… Read More

We have to print a pattern where in middle column contains only 1, right side columns contains constant digit which is greater than 1 and… Read More

Insert the characters of the string K R P C S N Y T J M into a hash table of size 10. Use the… Read More

notify() and notifyAll() methods with wait() method are used to for communication between the threads. A thread which goes into waiting state by calling wait()… Read More

A ROM is used to store the table for multiplication of two 8-bit unsigned integers. The size of ROM required is (A) 256 x… Read More