## Minimum number of cuts required to make circle segments equal sized

Given an array of elements where each element in the array represents the degree ( 0 <= a[i] <= 359 ) at which there is… Read More »

- Practice for cracking any coding interview
- How to get rid of Java TLE problem
- How can one become good at Data structures and Algorithms easily?
- Burst Balloon to maximize coins
- Subset array sum by generating all the subsets
- Understanding The Coin Change Problem With Dynamic Programming
- Sum of similarities of string with all of its suffixes
- Reach the numbers by making jumps of two given lengths
- Find triplets in an array whose AND is maximum
- Maximize the total profit of all the persons
- Length of the longest Subarray with only Even Elements
- Print matrix in snake pattern from the last column
- Check if a number is perfect square without finding square root
- Sort the array of strings according to alphabetical order defined by another string
- Number of quadrilaterals possible from the given points
- Introduction to Programming Languages
- How to read Competitive Programming Questions?
- Minimum number of increasing subsequences
- How can competitive programming help you get a job?
- Some useful C++ tricks for beginners in Competitive Programming
- Python in Competitive Programming
- Sum of the first N Prime numbers
- Sum of the multiples of two numbers below N
- Check if any permutation of a large number is divisible by 8
- Number of array elements derivable from D after performing certain operations
- Minimum cost to buy N kilograms of sweet for M persons
- Number of elements greater than K in the range L to R using Fenwick Tree (Offline queries)
- Smallest Pair Sum in an array
- Minimum cost path from source node to destination node via an intermediate node
- Kth Smallest sum of continuous subarrays of positive numbers

Given an array of elements where each element in the array represents the degree ( 0 <= a[i] <= 359 ) at which there is… Read More »

Given a number . Reduce this number to zero by subtracting the number by it’s most significant digit(Left most digit) at every step. The task… Read More »

Given an array of N integers and a number K, the task is to find the length of the smallest subarray in which all the… Read More »

Given a number N, the task is to find the sum of all the multiples of 3 and 7 below N. Note: A number must… Read More »

Given a string str. The task is to count the minimum number of elements to be removed so that pairwise consecutive elements are same Examples:… Read More »

Given a string of length N of lowercase characters containing 0 or more vowels, the task is to find the count of vowels occurred in… Read More »

Given an integer N, below operations can be performed any number of times on N: Multiply N by any positive integer X i.e. N =… Read More »

Given an array arr containing N integer elements, the task is to count the minimum number of elements that need to be changed such that… Read More »

Given a number, N. find the sum of first N odd Fibonacci numbers. Note: The answer can be very large so print the answer modulo… Read More »

Given an integer k and an array of integers arr, the task is to find the sum and product of k smallest and k largest… Read More »

Given two integers x and n, the task is to search for the first consecutive stream of 1s (in the x’s 32-bit binary representation) which… Read More »

Given an integer x, the task is to find if every k-cycle shift on the element produces a number greater than or equal to the… Read More »

Given an integer k and an array of integers arr (less than 10^6), the task is to find the sum of every k’th prime number… Read More »

Given the number of cities n numbered from 0 to n-1 and the cities in which stations are located, the task is to find the… Read More »

Given a binary array consisting of only zeroes and ones. The task is to find: The number of subarrays which has only 1 in it.… Read More »