##
Find all angles of a given triangle
May 21, 2017

Given coordinates of all three vertices of the triangle in the 2D plane, the task is to find all three angles. Example: Input : A… Read More »

May 21, 2017

Given coordinates of all three vertices of the triangle in the 2D plane, the task is to find all three angles. Example: Input : A… Read More »

Wide char is similar to char data type, except that wide char take up twice the space and can take on much larger values as… Read More »

The aim of this project is to develop an application which can detect pedestrians effectively. The problem of motion-based object detection can be divided into… Read More »

Given a number, the task is to check if a number is divisible by 16 or not. The input number may be large and it… Read More »

Given a array of n integers, we need to check whether for every pair of numbers a[i] & a[j] there exists a a[k] such that… Read More »

Given an array, the task is to reverse the array without using subtract sign ‘-‘ anywhere in your code. It is not tough to reverse… Read More »

May 20, 2017

In this article, we’ll explore all the possible combinations of try-catch-finally which may happen whenever an exception is raised and how the control flow occurs… Read More »

Access modifiers are used to implement important feature of Object Oriented Programming known as Data Hiding. Consider a real life example: What happens when a… Read More »

Prerequisite : HashMap and TreeMap in Java TreeMap, HashMap and LinkedHashMap: What’s Similar? All offer a key->value map and a way to iterate through the… Read More »

Prerequisite – Cookies Many websites use small strings of text known as cookies to store persistent client-side state between connections. Cookies are passed from server… Read More »

We are given a Fibonacci number. First few Fibonacci numbers are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, …..… Read More »

Generate all prime numbers between two given numbers. The task is to print prime numbers in that range. The Sieve of Eratosthenes is one of… Read More »

Given an array of numbers where each element represents the max number of jumps that can be made forward from that element. For each array… Read More »

First class objects in a language are handled uniformly throughout. They may be stored in data structures, passed as arguments, or used in control structures.… Read More »

We have an integer array that is sorted in ascending order. We also have 3 integers A, B and C. We need to apply A*x*x… Read More »