1. C++ map having key as a user define data type
  2. C++ set for user define data type
  3. Find (a^b)%m where 'b' is very large
  4. Kth smallest element after every insertion
  5. Pair with minimum absolute difference after solving each query
  6. Multi-set for user defined data type
  7. Modulo power for large numbers represented as strings
  8. Program to find sum of the given sequence
  9. Sum of Area of all possible square inside a rectangle
  10. Number of integral solutions of the equation x1 + x2 +.... + xN = k
  11. Maximum number of pieces in N cuts
  12. Find Nth term (A matrix exponentiation example)
  13. Find Multiples of 2 or 3 or 5 less than or equal to N
  14. Find minimum number of Log value needed to calculate Log upto N
  15. Puzzle | Minimum distance for Lizard
  16. Area of squares formed by joining mid points repeatedly
  17. Find sum of the series ?3 + ?12 +......... upto N terms
  18. Ratio of mth and nth term in an Arithmetic Progression (AP)
  19. Program to Find the value of cos(nΘ)
  20. Program to find the value of tan(nΘ)
  21. Program to find the value of sin(nΘ)
  22. Sum of the numbers upto N that are divisible by 2 or 5
  23. Hammered distance between N points in a 2-D plane
  24. Program to find the angles of a quadrilateral
  25. Find the unit place digit of sum of N factorials
  26. Find last two digits of sum of N factorials
  27. Seating arrangement of n boys and girls alternatively around a round table
  28. Arrangement of words without changing the relative position of vowel and consonants
  29. Minimum squares to evenly cut a rectangle
  30. String matching with * (that matches with any) in any of the two strings
  31. Maximum points of intersection n lines
  32. Minimize Cost with Replacement with other allowed
  33. Primality test for the sum of digits at odd places of a number
  34. Array elements with prime frequencies
  35. Number of sub-arrays that have at least one duplicate
  36. Minimize the value of N by applying the given operations
  37. Smallest prime number missing in an array
  38. Game of stones
  39. Find the missing elements from 1 to M in given N ranges
  40. Find the missing elements from 1 to M in given N ranges | Set-2
  41. Check whether the sum of prime elements of the array is prime or not
  42. Element equal to the sum of all the remaining elements
  43. Subtraction in the Array
  44. Average of remaining elements after removing K largest and K smallest elements from array
  45. Find numbers a and b that satisfy the given conditions
  46. Count sub-sets that satisfy the given condition
  47. Largest palindromic prime in an array
  48. Check if the string satisfies the given condition
  49. Maximum number of removals of given subsequence from a string
  50. Program to check if a number is divisible by sum of its digits
You may use GeeksforGeeks CONTRIBUTE portal to help other geeks. For more info, please refer this.

  1. Palindrome Partitioning | DP-17
  2. Word Wrap Problem | DP-19
  3. Subset Sum Problem | DP-25
  4. Optimal Strategy for a Game | DP-31
  5. Remove minimum elements from either side such that 2*min becomes more than max
  6. Boolean Parenthesization Problem | DP-37
  7. How to print maximum number of A's using given four keys
  8. Collect maximum points in a grid using two traversals
  9. Find length of the longest consecutive path from a given starting character
  10. Total number of non-decreasing numbers with n digits
  11. Find maximum of minimum for every window size in a given array
  12. Count even length binary sequences with same sum of first and second half bits
  13. Find the longest path in a matrix with given constraints
  14. Find minimum possible size of array with given rules for removing elements
  15. Count number of ways to divide a number in 4 parts
  16. Count number of subsets having a particular XOR value
  17. Convert from any base to decimal and vice versa
  18. Find minimum adjustment cost of an array
  19. Longest Geometric Progression
  20. Implement rand3() using rand2()
  21. Maximum games played by winner
  22. Minimum Cost To Make Two Strings Identical
  23. A Space Optimized DP solution for 0-1 Knapsack Problem
  24. Non-crossing lines to connect points in a circle
  25. Maximum decimal value path in a binary matrix
  26. The painter's partition problem
  27. Minimum number of elements which are not part of Increasing or decreasing subsequence in array
  28. Minimum operations required to remove an array
  29. Number with maximum number of prime factors
  30. Temple Offerings
  31. Program to add two polynomials
  32. Clustering/Partitioning an array such that sum of square differences is minimum
  33. Minimum number of deletions and insertions to transform one string into another
  34. Matrix Multiplication | Recursive
  35. Sequences of given length where every element is more than or equal to twice of previous
  36. Sum of product of all pairs of array elements
  37. Shuffle a deck of cards
  38. Program to calculate the value of sin(x) and cos(x) using Expansion
  39. Randomized Binary Search Algorithm
  40. Find the Longest Increasing Subsequence in Circular manner
  41. Check if an array represents Inorder of Binary Search tree or not
  42. Paper Cut into Minimum Number of Squares | Set 2
  43. Given a number as a string, find the number of contiguous subsequences which recursively add up to 9 | Set 2
  44. Find length of longest subsequence of one string which is substring of another string
  45. Master Theorem For Subtract and Conquer Recurrences
  46. Print triplets with sum less than or equal to k
  47. Minimum sum of differences with an element in an array
  48. Find any one of the multiple repeating elements in read only array
  49. Queries on XOR of greatest odd divisor of the range
  50. Subarray with XOR less than k
  51. Minimize cost of operation to equalize tower heights
  52. Find if an array contains a string with one mismatch
  53. Count subarrays with equal number of occurrences of two given elements
  54. Count all triplets whose sum is equal to a perfect cube
  55. Maximize the binary matrix by filpping submatrix once
  56. Sort string of characters
  57. Minimum cells required to reach destination with jumps equal to cell values
  58. Longest Increasing Path in Matrix
  59. Count numbers in range such that digits in it and it's product with q are unequal
  60. Length of Longest Balanced Subsequence
  61. Maximum even sum subsequence
  62. Inner reducing pattern printing
  63. Given a large number, check if a subsequence of digits is divisible by 8
  64. Pair formation such that maximum pair sum is minimized
  65. Count number of even and odd elements in an array
  66. Minimum cost to make two strings identical by deleting the digits
  67. Maximum sum path in a matrix from top to bottom
  68. Largest divisible pairs subset
  69. Hosoya's Triangle
  70. Range Query on array whose each element is XOR of index value and previous element
  71. Check for possible path in 2D matrix
  72. Check if the given number K is enough to reach the end of an array
  73. Check if it is possible to transform one string to another
  74. Sum of the alphabetical values of the characters of a string
  75. Balanced expressions such that given positions have opening brackets
  76. Check if two strings are permutation of each other
  77. Minimal moves to form a string by adding characters or appending string itself
  78. Maximum Subarray Sum Excluding Certain Elements
  79. Dynamic Programming | Wildcard Pattern Matching | Linear Time and Constant Space
  80. Maximum sum increasing subsequence from a prefix and a given element after prefix is must
  81. Making elements of two arrays same with minimum increment/decrement
  82. Counting values greater than equal to x after increments
  83. Find Sum of all unique sub-array sum for a given array.
  84. Number of ways to merge two arrays such retaining order
  85. Number of circular tours that visit all petrol pumps
  86. Convert the array such that the GCD of the array becomes 1
  87. Check whether a given number is Polydivisible or Not
  88. Smallest number with given sum of digits and sum of square of digits
  89. Remove leading zeros from an array
  90. Number of Larger Elements on right side in a string
  91. Sum of array elements excluding the elements which lie between a and b
  92. Sort an array where a subarray of a sorted array is in reverse order
  93. Check if two same sub-sequences exist in a string or not
  94. Range product queries in an array
  95. Majority Element | Set-2 (Hashing)
  96. Number of Permutations such that no Three Terms forms Increasing Subsequence
  97. Minimum number of changes required to make the given array an AP
  98. Balanced expressions such that given positions have opening brackets | Set 2
  99. Smallest power of 2 which is greater than or equal to sum of array elements
  100. Matrix Chain Multiplication (A O(N^2) Solution)
  101. Find the sum of the series x(x+y) + x^2(x^2+y^2) +x^3(x^3+y^3)+ ... + x^n(x^n+y^n)
  102. Find sum of the series ?3 + ?12 +......... upto N terms
  103. Ratio of mth and nth term in an Arithmetic Progression (AP)
  104. Program to Find the value of cos(nΘ)
  105. Program to find the value of tan(nΘ)
  106. Program to find the value of sin(nΘ)
  107. Program to find the angles of a quadrilateral
  108. Check if it is possible to return to the starting position after moving in the given directions
  109. Find the unit place digit of sum of N factorials
  110. Find last two digits of sum of N factorials
  111. Seating arrangement of n boys and girls alternatively around a round table
  112. Arrangement of words without changing the relative position of vowel and consonants
  113. Minimum number of Parentheses to be added to make it valid
  114. Remove elements from the array which appear more than k times
  115. Replace every elements in the array by its frequency in the array
  116. Remove elements from the array whose frequency lies in the range [l, r]
  117. Ways of selecting men and women from a group to make a team
  118. Primality test for the sum of digits at odd places of a number
  119. Array elements with prime frequencies
  120. Number of words in a camelcase sequence
  121. Minimum cost to reach a point N from 0 with two different operations allowed
  122. Absolute Difference of even and odd indexed elements in an Array
  123. Count occurrences of a character in a repeated string
  124. Sort elements of array whose modulo with K yields P
  125. Find number of substrings of length k whose sum of ASCII value of characters is divisible by k
  126. Move all Uppercase char to the end of string
  127. Sum of integers upto N with given unit digit
  128. Closest perfect square and its distance
  129. Count of numbers which can be made power of 2 by given operation
  130. Remove exactly one element from the array such that max - min is minimum
  131. Check whether a + b = c or not after removing all zeroes from a,b and c
  132. Apothem of a n-sided regular polygon
  133. Number of ways to remove a sub-string from S such that all remaining characters are same
  134. Replace the maximum element in the array by coefficient of range