## Sequences of given length where every element is more than or equal to twice of previous

Given two integers m & n, find the number of possible sequences of length n such that each of the next element is greater than… Read More »

- Largest Square in a Binary Matrix with at most K 1s for multiple Queries
- Check if a string is a scrambled form of another string
- Median of an unsorted array using Quick Select Algorithm
- Minimum cost of reducing Array by merging any adjacent elements repetitively
- Check if a given number is a Perfect square using Binary Search
- Minimum window size containing atleast P primes in every window of given range
- Find Second largest element in an array | Set 2
- Longest subarray having sum K | Set 2
- Queries to check if any non-repeating element exists within range [L, R] of an Array
- Queries to find the Minimum Weight from a Subtree of atmost D-distant Nodes from Node X
- Range Queries for number of Armstrong numbers in an array with updates
- Array Range Queries to find the Maximum Armstrong number with updates
- Count number of pairs with the given Comparator
- Split a Numeric String into Fibonacci Sequence
- Minimum capacity of small arrays needed to contain all element of the given array
- Largest substring where all characters appear at least K times | Set 2
- Frequency of an integer in the given array using Divide and Conquer
- Split a given array into K subarrays minimizing the difference between their maximum and minimum
- Find the element having maximum set bits in the given range for Q queries
- Fast Doubling method to find the Nth Fibonacci number
- Array range queries to find the number of perfect square elements with updates
- Calculate weight of parenthesis based on the given conditions
- Check if given Binary string follows then given condition or not
- How to implement text Auto-complete feature using Ternary Search Tree
- Minimum value of K such that sum of cubes of first K natural number is greater than equal to N
- Quick Sort using Multi-threading
- Range Queries to count the number of even parity values with updates
- Least root of given quadratic equation for value greater than equal to K
- Array range queries to find the maximum Fibonacci number with updates
- Range Update Queries to XOR with 1 in a Binary Array.

Given two integers m & n, find the number of possible sequences of length n such that each of the next element is greater than… Read More »

Given two sorted arrays. There is only 1 difference between the arrays. The first array has one element extra added in between. Find the index… Read More »

A convex hull is the smallest convex polygon containing all the given points. Input is an array of points specified by their x and y… Read More »

Given two sorted arrays of size m and n respectively, you are tasked with finding the element that would be at the k’th position of… Read More »

Given many stacks of coins which are arranged adjacently. We need to collect all these coins in the minimum number of steps where in one… Read More »

An element is a peak element if it is greater than or equal to its four neighbors, left, right, top and bottom. For example neighbors… Read More »

Given a sorted matrix mat[n][m] and an element ‘x’. Find position of x in the matrix if it is present, else print -1. Matrix is… Read More »

Given a set of points, a Convex hull is the smallest convex polygon containing all the given points. Input is an array of points specified… Read More »

Given an array representing n positions along a straight line. Find k (where k <= n) elements from the array such that the maximum distance… Read More »

Given number of pages in n different books and m students. The books are arranged in ascending order of number of pages. Every student is… Read More »

I have applied for Graphics Software Engineer position through LinkedIn. I was called for interview after 2 weeks of applying. Interview took place in Bangalore… Read More »

Strassen’s matrix is a Divide and Conquer method that helps us to multiply two matrices(of size n X n). You can refer to the link,… Read More »

Consider an array of distinct numbers sorted in increasing order. The array has been rotated (clockwise) k number of times. Given such an array, find… Read More »

Given a matrix of N rows and M columns, the task is to find the minimum absolute difference between any of the two adjacent elements… Read More »

You are given a bitonic sequence, the task is to find Bitonic Point in it. A Bitonic Sequence is a sequence of numbers which is… Read More »