Consider an array with n elements and value of all the elements is zero. We can perform following operations on the array. Incremental operations:Choose 1… Read More

If the ages of Jacob, Max and Samuel are in the proportion 3:5:7 and the average of their ages is 25 years, then find the… Read More

The ratio 5:3 represents 16 liters of a mixture containing milk and water. If 4 liters of water is added and 4 liters of milk… Read More

In a library, the ratio of the books on Computer, Physics and Mathematics is 5:7:8. If the collection of books is increased respectively by 40%,… Read More

Mark, Steve and Bill get their salaries in the ratio of 2:3:5. If their salaries are incremented by 15%, 10%, and 20% respectively, the new… Read More

In a box, there are 10p, 25p and 50p coins in the ratio 4:9:5 with the total sum of Rs 206. How many coins of… Read More

Perfect Binary Tree using Specific Level Order Traversal in Set 1. The earlier traversal was from Top to Bottom. In this post, Bottom to Top… Read More

Given a 4×4 board with 15 tiles (every tile has one number from 1 to 15) and one empty space. The objective is to place… Read More

Please note that the title is Functors (Not Functions)!! Consider a function that takes only one argument. However, while calling this function we have a… Read More

Consider the problem of adding contents of two arrays into a third array. It is given that all arrays are of same size. Following is… Read More

Given a number ‘n’ and a prime ‘p’, find square root of n under modulo p if it exists. Examples: Input: n = 2, p =… Read More

External sorting is a term for a class of sorting algorithms that can handle massive amounts of data. External sorting is required when the data… Read More

The interview was mainly resume based no algorithms were asked . My resume consisted mainly of android development so the questions asked were related to… Read More

In data sufficiency questions, we are given a question and a set of statements. We have to find which of the given statements is required… Read More

Featured Articles

View All