All Medium Articles
Mira and Ram can do a piece of work in 6 and 9 days respectively; If they work on alternate days starting with Mira on the first day.… Read More
What is rank of a matrix? Rank of a matrix A of size M x N is defined as  Maximum number of linearly independent column vectors… Read More
Given a number n, check if it is prime or not. We have introduced and discussed School and Fermat methods for primality testing.Primality Test |… Read More
We are given two arrays num[0..k-1] and rem[0..k-1]. In num[0..k-1], every pair is coprime (gcd for every pair is 1). We need to find minimum… Read More
GeeksOfGeeks has helped me a lot, so, thought of making a little contribution from my side. Amazon Interview for Position SDE II Round 1: The… Read More
Given three numbers n, r and p, compute the value of nCr mod p. Examples:  Input: n = 10, r = 2, p = 13… Read More
Internet has a great influence in our lives. We may or may not realize, but it has changed a lot in our lives. We are… Read More
Given a sorted array arr[] of size n and an element x to be searched in it. Return index of x if it is present… Read More
Getting ready for a tech job interview? Algorithms are really important! Companies often ask questions that require problem-solving skills. In this article, we’ll look at… Read More
A Fridge costs R Rs and its cover value is 5,If the discount offered is d% then its new cost will be (A) R-R*d/100- 5… Read More
The ratio between two numbers is 5:7 and their product is 560. What is the difference between these two numbers? (A) 12 (B) 4 (C)… Read More
Given a set of integers, the task is to divide it into two sets S1 and S2 such that the absolute difference between their sums… Read More
Why security is Needed? Blogging now a days has become a hobby of so many people and WordPress is the most opted platform for the same.By… Read More
This article is an extension of Commonly asked DBMS interview questions | Set 1.  Q. There is a table where only one row is fully… Read More
Fibonacci coding encodes an integer into binary number using Fibonacci Representation of the number. The idea is based on Zeckendorf’s Theorem which states that every… Read More
We have an array arr[0 . . . n-1]. We should be able to efficiently find the minimum value from index L (query start) to… Read More
Let us consider the following problem to understand MO’s Algorithm.We are given an array and a set of query ranges, we are required to find… Read More
Philips Came For Campus in our Institute CV Shortlisting. First Round: 1) English :- 25 questions (25 min) 2) Computer Ability :- 25 questions (35… Read More
I recently got placed in Microsoft IDC .Here’s my Interview Experience 🙂 The first two rounds were conducted by Cocubes.com in our campus. The other… Read More
Given a m x n rectangle, how many squares are there in it? Examples :  Input: m = 2, n = 2Output: 5There are 4… Read More