inderDuMCA hasn't contributed any 'Articles' yet!

- Write a program to reverse digits of a number
- Print squares of first n natural numbers without using *, / and -
- Absolute distinct count in a sorted array
- Find length of loop in linked list
- Sum of all the prime divisors of a number
- Construct a distinct elements array with given size, sum and element upper bound
- Find maximum among x^(y^2) or y^(x^2) where x and y are given
- Modulus of two float or double numbers
- Area of the biggest possible rhombus that can be inscribed in a rectangle
- Find nth number that contains the digit k or divisible by k.
- Maximum of sum and product of digits until number is reduced to a single digit
- Area of the circumcircle of any triangles with sides given
- Program to check if a matrix is Binary matrix or not
- Sum of product of consecutive Binomial Coefficients
- Area of the Largest Triangle inscribed in a Hexagon
- Program to find the Nth term of series -1, 2, 11, 26, 47......
- Probability of rain on N+1th day
- Mirror of a point through a 3 D plane
- Merge Sort with O(1) extra space merge and O(n lg n) time
- Program to find the Interior and Exterior Angle of a Regular Polygon
- Print all the combinations of N elements by changing sign such that their sum is divisible by M
- Perpendicular distance between a point and a Line in 2 D
- Sum of elements in range L-R where first half and second half is filled with odd and even numbers
- Smallest sum contiguous subarray | Set-2
- Sort 3 numbers
- Probability that the pieces of a broken stick form a n sided polygon
- Count pairs with Bitwise OR as Even number
- Count pairs with Bitwise AND as ODD number
- Inserting M into N such that m starts at bit j and ends at bit i | Set-2
- Increment a number without using ++ or +
- Equally divide into two sets such that one set has maximum distinct elements
- Sum of the numbers upto N that are divisible by 2 or 5
- Number of Permutations such that no Three Terms forms Increasing Subsequence
- Check if the characters in a string form a Palindrome in O(1) extra space
- Find the Missing Number in a sorted array
- Program to print Inverse Diamond pattern
- Minimum value of N such that xor from 1 to N is equal to K
- Program to find number of solutions in Quadratic Equation
- Count number of triplets with product equal to given number | Set 2
- Rotate a matrix by 90 degree in clockwise direction without using any extra space
- Check if the first and last digit of the smallest number forms a prime
- Numbers with sum of digits equal to the sum of digits of its all prime factor
- Median of two sorted arrays of different sizes | Set 1 (Linear)
- Check if an array is sorted and rotated
- Find the largest twins in given range
- Subarray of size k with given sum
- Find Nth term of the series 3, 14, 39, 84...
- Minimum time required to fill a cistern using N pipes
- Minimum time required to complete a work by N persons together
- Program to find the Nth term of the series 0, 14, 40, 78, 124, ...
- Triplet with no element divisible by 3 and sum N
- Check if subarray with given product exists in an array
- Replace every element of the array by sum of all other elements
- Program to check whether a number is Proth number or not
- Program to calculate the profit sharing ratio
- Check if a String can be converted to Pangram in K changes
- Program for replacing one digit with other
- For each element in 1st array count elements less than or equal to it in 2nd array | Set 2
- Sum of first n term of Series 3, 5, 9, 17, 33....
- Check if any large number is divisible by 17 or not
- Sum of first n terms of a given series 3, 6, 11, .....
- Area of circle inscribed within rhombus
- Find the sum of series 0.X + 0.XX + 0.XXX +... upto k terms
- Program to find the count of coins of each type from the given ratio
- Area of a largest square fit in a right angle triangle
- Find any pair with given GCD and LCM
- Find bitwise OR of all possible sub-arrays
- Largest triangle that can be inscribed in a semicircle
- Find the sum of series 3, 7, 13, 21, 31....
- Find the sum of n terms of the series 1,8,27,64 ....
- Find sum of the series 1-2+3-4+5-6+7.......
- Find sum of the series 1+22+333+4444+...... upto n terms
- Find Nth term of the series 0, 6, 0, 12, 0, 90...
- Find maximum points which can be obtained by deleting elements from array
- Probability of getting a sum on throwing 2 Dices N times
- Find the sum of infinite series 1^2.x^0 + 2^2.x^1 + 3^2.x^2 + 4^2.x^3 +.......
- Length of longest rod that can fit into a cuboid
- Largest trapezoid that can be inscribed in a semicircle
- Area of Largest rectangle that can be inscribed in an Ellipse
- Count pairs (a, b) whose sum of squares is N (a^2 + b^2 = N)
- Area of the Largest square that can be inscribed in an ellipse
- Divide a number into two parts such that sum of digits is maximum
- Find area of triangle if two vectors of two adjacent sides are given
- Program to find Nth term of the series 3, 6, 18, 24, ...
- Find sum of the series ?3 + ?12 +......... upto N terms
- Ratio of mth and nth term in an Arithmetic Progression (AP)
- Program to find the Hidden Number
- Ratio of mth and nth terms of an A. P. with given ratio of sums
- Area of a circle inscribed in a regular hexagon
- Find other two sides and angles of a right angle triangle
- Program to find Circuit Rank of an Undirected Graph
- Check if two arrays are permutations of each other using Mathematical Operation
- Check if a point is inside, outside or on the ellipse
- Find nth term of a given recurrence relation
- Program to find the diameter, cycles and edges of a Wheel Graph
- Find Nth number of the series 1, 6, 15, 28, 45, .....
- Check if a point is inside, outside or on the parabola
- Count number of integers less than or equal to N which has exactly 9 divisors
- Program to find Nth term of the series 3, 12, 29, 54, 87, ...
- Find the count of maximum contiguous Even numbers
- Program to print Kite Pattern
- Check if any square (with one colored cell) can be divided into two equal parts
- Area of largest triangle that can be inscribed within a rectangle
- Program to find the Discount Percentage
- Area of a square inscribed in a circle which is inscribed in an equilateral triangle
- Sum of the first N terms of the series 2, 6, 12, 20, 30....
- Maximum and minimum isolated vertices in a graph
- Number of values of b such that a = b + (a^b)
- Find the altitude and area of an isosceles triangle
- Program to find the surface area of the square pyramid
- Program to find Nth term of series 0, 10, 30, 60, 99, 150, 210, 280...........
- Program to find Nth term of series 2, 12, 28, 50, 77, 112, 152, 198, .....
- Program to find Nth term of series 0, 11, 28, 51, 79, 115, 156, 203, ....
- Program to find Nth term of series 3, 12, 29, 54, 86, 128, 177, 234, .....
- Program to check if an array is palindrome or not using Recursion
- Check if an array is Wave Array
- Number of different positions where a person can stand
- Program for n-th odd number
- Check n^2 - m^2 is prime or not
- Divide an isosceles triangle in two parts with ratio of areas as n:m
- Find count of Almost Prime numbers from 1 to N
- Check if it is possible to rearrange rectangles in a non-ascending order of breadths
- Check if a number is a Pythagorean Prime or not
- Check if a number is Quartan Prime or not
- Sum of numbers from 1 to N which are divisible by 3 or 4
- Area of a square inscribed in a circle which is inscribed in a hexagon
- Check if it is possible to move from (a, 0) to (b, 0) with given jumps
- Check if it is possible to move from (0, 0) to (x, y) in N steps
- Count all the numbers less than 10^6 whose minimum prime factor is N
- Check whether bitwise AND of a number with any subset of an array is zero or not
- Area of circle which is inscribed in equilateral triangle
- Program to find the Nth term of series 5, 12, 21, 32, 45......
- Program to find N-th term of series 1, 2, 11, 12, 21….
- Maximum removal from array when removal time >= waiting time
- Find the number of boxes to be removed
- Program to find the angles of a quadrilateral
- Minimum and maximum number of N chocolates after distribution among K students
- Check if a cell can be visited more than once in a String
- Number of solutions for x < y, where a <= x <= b and c <= y <= d and x, y are integers
- Radius of the biggest possible circle inscribed in rhombus which in turn is inscribed in a rectangle
- Pair with maximum difference in a Matrix
- Product of all the elements in an array divisible by a given number K
- Check whether the given number is Wagstaff prime or not
- Generate a number such that the frequency of each digit is digit times the frequency in given number
- Sum of Fibonacci Numbers with alternate negatives
- Find normal at a given point on the curve
- Difference between the largest and the smallest primes in an array
- Represent a number as a sum of maximum possible number of Prime Numbers
- Minimum number of segments required such that each segment has distinct elements
- Minimum sum falling path in a NxN grid
- Program to print Even Odd Number Pyramid
- All possible co-prime distinct element pairs within a range [L, R]
- Ways of dividing a group into two halves such that two elements are in different groups
- Calculate Stirling numbers which represents the number of ways to arrange r objects around n different circles
- Length of the Diagonal of the Octagon
- Minimum number of towers required such that every house is in the range of at least one tower
- Program to find the Sum of each Row and each Column of a Matrix
- Count numbers whose XOR with N is equal to OR with N
- Print a number containing K digits with digital root D
- Count subarrays consisting of only 0's and only 1's in a binary array
- Replace every array element by Bitwise Xor of previous and next element
- Count the number of elements in an array which are divisible by k
- Maximum sum and product of the M consecutive digits in a number
- Mode
- Index with Minimum sum of prefix and suffix sums in an Array
- Position after taking N steps to the right and left in an alternate manner
- Find the value of f(n) / f(r) * f(n-r)
- Find two numbers whose sum and GCD are given
- Probability of getting two consecutive heads after choosing a random coin among two different types of coins
- Find the number of primitive roots modulo prime
- Sum of first N natural numbers which are not powers of K
- Largest sub-array whose all elements are perfect squares
- Overall percentage change from successive changes
- Program to find the Break Even Point
- Check if a large number is divisible by 75 or not
- Find a value whose XOR with given number is maximum
- Minimum sum after subtracting multiples of k from the elements of the array
- Program to convert given Matrix to a Diagonal Matrix
- Largest perfect square number in an Array
- Ratio of area of a rectangle with the rectangle inscribed in it
- Largest number in an array that is not a perfect cube
- Print sum of matrix and its mirror image
- Volume of largest right circular cylinder within a Sphere
- Volume of biggest sphere within a right circular cylinder
- Count pairs with Bitwise XOR as EVEN number
- Count pairs with Bitwise-AND as even number
- Minimum number of moves required to reach the destination by the king in a chess board
- Minimum elements to be added in a range so that count of elements is divisible by K
- Lexicographically smallest substring with maximum occurrences containing a's and b's only
- Lexicographically Smallest Permutation of length N such that for exactly K indices, a[i] > a[i] + 1
- Count number of indices such that s[i] = s[i+1] : Range queries
- Find sum of a number and its maximum prime factor
- Find a range that covers all the elements of given N ranges
- Fill missing entries of a magic square
- Find the intersection of two Matrices
- Maximum number with same digit factorial product
- Minimum elements to change so that for an index i all elements on the left are -ve and all elements on the right are +ve
- Length of longest consecutive ones by at most one swap in a Binary String
- Expressing a fraction as a natural number under modulo 'm'
- Smallest Pair Sum in an array
- Minimum moves required to change position with the given operation
- Interchange elements of first and last columns in matrix
- Maximum sum of all elements of array after performing given operations
- Find numbers a and b that satisfy the given conditions
- Integers from the range that are composed of a single distinct digit
- Sum of integers upto N with given unit digit (Set 2)
- Count numbers < = N whose difference with the count of primes upto them is > = K
- Minimum number of consecutive sequences that can be formed in an array
- Sum of elements from an array having even parity
- Side of a regular n-sided polygon circumscribed in a circle
- Number of array elements derivable from D after performing certain operations
- Reach the numbers by making jumps of two given lengths
- Program for converting hours into minutes and seconds
- A Sum Array Puzzle
- Count Subarrays with Consecutive elements differing by 1
- Buy minimum items without change and given coins
- Count common prime factors of two numbers
- Diagonal of a Regular Decagon
- Area of a n-sided regular polygon with given side length
- Print numbers in matrix diagonal pattern
- Print multiples of Unit Digit of Given Number
- Check if the binary representation of a number has equal number of 0s and 1s in blocks
- Source to destination in 2-D path with fixed sized jumps
- Minimum number of moves to make a binary array K periodic
- Count array elements that divide the sum of all other elements
- Count numbers in range 1 to N which are divisible by X but not by Y