## Count of Numbers in a Range where digit d occurs exactly K times

Given two positive integers L and R which represents a range and two more positive integers d and K. The task is to find the… 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
- Understanding The Coin Change Problem With Dynamic Programming
- Subset array sum by generating all the subsets
- Reach the numbers by making jumps of two given lengths
- Make all numbers of an array equal
- Sum of similarities of string with all of its suffixes
- Some useful C++ tricks for beginners in Competitive Programming
- Maximize the total profit of all the persons
- Find triplets in an array whose AND is maximum
- Check if a number is perfect square without finding square root
- Length of the longest Subarray with only Even Elements
- Python in Competitive Programming
- Sort the array of strings according to alphabetical order defined by another string
- Print matrix in snake pattern from the last column
- Sum of the first N Prime numbers
- How to read Competitive Programming Questions?
- How can competitive programming help you get a job?
- Check if it is possible to reach a number by making jumps of two given length
- C++: Methods of code shortening in competitive programming
- Minimum changes required to make two arrays identical
- Number of array elements derivable from D after performing certain operations
- Sum of the multiples of two numbers below N
- Number of quadrilaterals possible from the given points
- Minimum number of increasing subsequences
- Color N boxes using M colors such that K boxes have different color from the box on its left
- Find two numbers whose divisors are given in a random order
- Minimum number of sets with numbers less than Y

Given two positive integers L and R which represents a range and two more positive integers d and K. The task is to find the… Read More »

Given a string str, the task is to split the string into minimum parts such that each part is of same length and each part… Read More »

Given a string str which contains only the characters x and y, the task is to count all the sub-strings that start and end with… Read More »

Given an array of size and a number . The task is to modify the given array such that: The difference between the sum of… Read More »

Given an array of integers. Find an integer X which is the divisor of all except for exactly one element in the given array. Note:… Read More »

Given a binary string S. Find the minimum number of operations required to be performed on the number zero to convert it to the number… Read More »

Given a range represented by two positive integers L and R. Find the count of numbers in the range where the first digit is equal… Read More »

A string is called a N-copy string when it is formed by N copies of letter ‘G’. ie “GGGG” is a 4-copy string since it… Read More »

Given an array of N integers where array elements form a strictly decreasing and increasing sequence. The task is to find the smallest number in… Read More »

Given a string str and an array of strings strArr[], the task is to sort the array according to the alphabetical order defined by str.… Read More »

Given an array arr[] of integers, the task is to find the LCM of all the elements of the array modulo M where M =… Read More »

Given a range represented by two positive integers L and R. The task is to count the numbers from the range having GCD of powers… Read More »

Given a matrix of 2-Dimensional array of n rows and n columns. Print this matrix in snake fashion starting from column n-1 as shown in… Read More »

Given a matrix of 2-Dimensional array of n rows and n columns. Print this matrix in ZIG-ZAG fashion starting from column n-1 as shown in… Read More »

Given three integer A, B and N. The task is to find the sum of all the elements below N which are multiples of either… Read More »