Aptitude | Compound Interest | Question 3

Ram invests Rs. 10,000 for 1 year at a rate of 10% per annum compounded yearly and Sita invests the same amount for same time… Read More »

Aptitude | Compound Interest | Question 2

Ram deposits Rs.2000 each on 1st January and 1st July of a year at the rate of 8% compound interest calculated on half-yearly basis. At… Read More »

Aptitude | Compound Interest | Question 1

An amount of Rs.9000 is invested for 2 years at interest rate of 15% per annual and compunded annually. At the end of 2nd year… Read More »

New features of JavaScript Arrays with ES2015

In this article we will be discussing the new additions in ES2015 which substantially improves the way we work with Arrays in JavaScript. Array… Read More »

In-place convert matrix in specific order

Write a code to convert a matrix in specific way without using extra space. Input: 1 2 3 4 5 6 7 8 9 Output:… Read More »

GFact 48 | Overloading main() in Java

Consider the below Java program. filter_none edit close play_arrow link brightness_4 code // A Java program with overloaded main() import java.io.*;    public class Test… Read More »

Puzzle 50 | The Boat Wreckage

Let’s make this one easy! Ankur with his friends went to river the bank of river Ganges, as the exams are over for fun and… Read More »

Iterator Pattern

Iterator Pattern is a relatively simple and frequently used design pattern. There are a lot of data structures/collections available in every language. Each collection must… Read More »

The Two Water Jug Puzzle

You are at the side of a river. You are given a m litre jug and a n litre jug where 0 < m <… Read More »

K-ary Heap

Prerequisite – Binary Heap K-ary heaps are a generalization of binary heap(K=2) in which each node have K children instead of 2. Just like binary… Read More »

OpenCV C++ Program to play a video

The following is the explanation to the C++ code to play a video in C++ using the tool OpenCV. Things to know: (1) The code will… Read More »

Opaque Pointer

What is an opaque pointer? Opaque as the name suggests is something we can’t see through. e.g. wood is opaque. Opaque pointer is a pointer… Read More »

Theory of Computation | Decidability and Undecidability

Identifying languages (or problems*) as decidable, undecidable or partially decidable is a very common question in GATE. With correct knowledge and ample experience, this question… Read More »

GE interview experience | Set 1 (For software developer)

Hello friends, I am going to share my interview experience about GE(General Electric) (for computer science candidates) First round(written round): The first round was of… Read More »

Puzzle 49 | King and his Elephants

A king dies after writing an agreement to divide the elephant power to his three sons, the first son has to get 1/2 of elephants,… Read More »