## Right most non-zero digit in multiplication of array elements

Given an array arr[] of N non-negative integers. The task is to find the right most non zero digit in the product of array elements.… Read More »

- Count pairs in array whose sum is divisible by K
- Nth number whose sum of digit is multiple of 10
- Coin Change | BFS Approach
- Given two arrays count all pairs whose sum is an odd number
- Find maximum xor of k elements in an array
- Partition an array of non-negative integers into two subsets such that average of both the subsets is equal
- Maximum absolute difference in an array
- Count substrings that contain all vowels | SET 2
- Count rotations of N which are Odd and Even
- New Algorithm to Generate Prime Numbers from 1 to Nth Number
- Program to find the last two digits of x^y
- Sum of the series 1^1 + 2^2 + 3^3 + ..... + n^n using recursion
- Check for balanced parentheses in an expression | O(1) space | O(N^2) time complexity
- Count of integers of length N and value less than K such that they contain digits only from the given set
- Find the sum of digits of a number at even and odd places
- Complexity Analysis of Binary Search
- Find the minimum number of operations required to make all array elements equal
- Create new linked list from two given linked list with greater element at each node
- Count number of ways to reach a given score in a Matrix
- XOR of all the elements in the given range [L, R]
- Find the minimum number of elements that should be removed to make an array good
- Find sub-arrays from given two arrays such that they have equal sum
- Count of all possible values of X such that A % X = B
- Append a digit in the end to make the number equal to the length of the remaining string
- Card Shuffle Problem | TCS Digital Advanced Coding Question
- Find a triplet in an array whose sum is closest to a given number
- Find XOR of numbers from the range [L, R]
- Find the smallest positive number missing from an unsorted array | Set 3
- Maximum length of subarray such that sum of the subarray is even
- Print path from root to all nodes in a Complete Binary Tree

Given an array arr[] of N non-negative integers. The task is to find the right most non zero digit in the product of array elements.… Read More »

Given a number N, find the remainder when the first digit of N is divided by its last digit. Examples: Input: N = 1234 Output:… Read More »

Given the initial balance as bal and the amount X to be debited, where X must be a multiple of 10 and rupees 1.50 is… Read More »

Given an array arr[] of N elements. The task is to find the count of positive integers that divide all the array elements. Examples: Input:… Read More »

Given N pairs of numbers. The task is to count ways to choose exactly one number from each pair such that the sum of those… Read More »

Given a cuboid and three integers L, B and H. If the length of the cuboid is increased by L%, breadth is increased by B%… Read More »

Given a number N and a digit D, the task is to count the occurrences of D in N. Examples: Input: N = 25, D… Read More »

Given a and b which represents the location of two factors of N whose product is equal to the number N when the factors are… Read More »

Given two integers L and R (L < = R). The task is to find all square free semiprimes in the range L to R… Read More »

Given an array A[] and positive integer K, the task is to count the total number of pairs in the array whose sum is divisible… Read More »

Given N lines are in the form a*x + b*y = c (a>0 or a==0 & b>0). Find the number of pairs of lines intersecting… Read More »

Given N‘, the number of non-parallel lines. The task is to find the maximum number of regions in which these lines can divide a plane.… Read More »

Given 21 Matchsticks and 2 users, A and B (computer and user respectively). Users can pick matchsticks not more than four at a time. The… Read More »

Given a number N, find the minimum possible sum of digits that can be obtained from a positive Multiple of N. Constraints : 1<=N<=10^5. Examples:… Read More »

Given an array arr[] of size 10 where arr[i] represents the frequency of the digit i. The task is to find the smallest positive number… Read More »