inderDuMCA
inderDuMCA
inderDuMCA hasn't contributed any 'Articles' yet!
You may use GeeksforGeeks CONTRIBUTE portal to help other geeks. For more info, please refer this.

  1. Write a program to reverse digits of a number
  2. Print squares of first n natural numbers without using *, / and -
  3. Absolute distinct count in a sorted array
  4. Find length of loop in linked list
  5. Sum of all the prime divisors of a number
  6. Construct a distinct elements array with given size, sum and element upper bound
  7. Find maximum among x^(y^2) or y^(x^2) where x and y are given
  8. Modulus of two float or double numbers
  9. Area of the biggest possible rhombus that can be inscribed in a rectangle
  10. Find nth number that contains the digit k or divisible by k.
  11. Maximum of sum and product of digits until number is reduced to a single digit
  12. Area of the circumcircle of any triangles with sides given
  13. Program to check if a matrix is Binary matrix or not
  14. Sum of product of consecutive Binomial Coefficients
  15. Area of the Largest Triangle inscribed in a Hexagon
  16. Program to find the Nth term of series -1, 2, 11, 26, 47......
  17. Probability of rain on N+1th day
  18. Mirror of a point through a 3 D plane
  19. Merge Sort with O(1) extra space merge and O(n lg n) time
  20. Program to find the Interior and Exterior Angle of a Regular Polygon
  21. Print all the combinations of N elements by changing sign such that their sum is divisible by M
  22. Perpendicular distance between a point and a Line in 2 D
  23. Sum of elements in range L-R where first half and second half is filled with odd and even numbers
  24. Smallest sum contiguous subarray | Set-2
  25. Sort 3 numbers
  26. Probability that the pieces of a broken stick form a n sided polygon
  27. Count pairs with Bitwise OR as Even number
  28. Count pairs with Bitwise AND as ODD number
  29. Inserting M into N such that m starts at bit j and ends at bit i | Set-2
  30. Increment a number without using ++ or +
  31. Equally divide into two sets such that one set has maximum distinct elements
  32. Sum of the numbers upto N that are divisible by 2 or 5
  33. Number of Permutations such that no Three Terms forms Increasing Subsequence
  34. Check if the characters in a string form a Palindrome in O(1) extra space
  35. Find the Missing Number in a sorted array
  36. Program to print Inverse Diamond pattern
  37. Minimum value of N such that xor from 1 to N is equal to K
  38. Program to find number of solutions in Quadratic Equation
  39. Count number of triplets with product equal to given number | Set 2
  40. Rotate a matrix by 90 degree in clockwise direction without using any extra space
  41. Check if the first and last digit of the smallest number forms a prime
  42. Numbers with sum of digits equal to the sum of digits of its all prime factor
  43. Median of two sorted arrays of different sizes | Set 1 (Linear)
  44. Check if an array is sorted and rotated
  45. Find the largest twins in given range
  46. Subarray of size k with given sum
  47. Find Nth term of the series 3, 14, 39, 84...
  48. Minimum time required to fill a cistern using N pipes
  49. Minimum time required to complete a work by N persons together
  50. Program to find the Nth term of the series 0, 14, 40, 78, 124, ...
  51. Triplet with no element divisible by 3 and sum N
  52. Check if subarray with given product exists in an array
  53. Replace every element of the array by sum of all other elements
  54. Program to check whether a number is Proth number or not
  55. Program to calculate the profit sharing ratio
  56. Check if a String can be converted to Pangram in K changes
  57. Program for replacing one digit with other
  58. For each element in 1st array count elements less than or equal to it in 2nd array | Set 2
  59. Sum of first n term of Series 3, 5, 9, 17, 33....
  60. Check if any large number is divisible by 17 or not
  61. Sum of first n terms of a given series 3, 6, 11, .....
  62. Area of circle inscribed within rhombus
  63. Find the sum of series 0.X + 0.XX + 0.XXX +... upto k terms
  64. Program to find the count of coins of each type from the given ratio
  65. Area of a largest square fit in a right angle triangle
  66. Find any pair with given GCD and LCM
  67. Find bitwise OR of all possible sub-arrays
  68. Largest triangle that can be inscribed in a semicircle
  69. Find the sum of series 3, 7, 13, 21, 31....
  70. Find the sum of n terms of the series 1,8,27,64 ....
  71. Find sum of the series 1-2+3-4+5-6+7.......
  72. Find sum of the series 1+22+333+4444+...... upto n terms
  73. Find Nth term of the series 0, 6, 0, 12, 0, 90...
  74. Find maximum points which can be obtained by deleting elements from array
  75. Probability of getting a sum on throwing 2 Dices N times
  76. Find the sum of infinite series 1^2.x^0 + 2^2.x^1 + 3^2.x^2 + 4^2.x^3 +.......
  77. Length of longest rod that can fit into a cuboid
  78. Largest trapezoid that can be inscribed in a semicircle
  79. Area of Largest rectangle that can be inscribed in an Ellipse
  80. Count pairs (a, b) whose sum of squares is N (a^2 + b^2 = N)
  81. Area of the Largest square that can be inscribed in an ellipse
  82. Divide a number into two parts such that sum of digits is maximum
  83. Find area of triangle if two vectors of two adjacent sides are given
  84. Program to find Nth term of the series 3, 6, 18, 24, ...
  85. Find sum of the series ?3 + ?12 +......... upto N terms
  86. Ratio of mth and nth term in an Arithmetic Progression (AP)
  87. Program to find the Hidden Number
  88. Ratio of mth and nth terms of an A. P. with given ratio of sums
  89. Area of a circle inscribed in a regular hexagon
  90. Find other two sides and angles of a right angle triangle
  91. Program to find Circuit Rank of an Undirected Graph
  92. Check if two arrays are permutations of each other using Mathematical Operation
  93. Check if a point is inside, outside or on the ellipse
  94. Find nth term of a given recurrence relation
  95. Program to find the diameter, cycles and edges of a Wheel Graph
  96. Find Nth number of the series 1, 6, 15, 28, 45, .....
  97. Check if a point is inside, outside or on the parabola
  98. Count number of integers less than or equal to N which has exactly 9 divisors
  99. Program to find Nth term of the series 3, 12, 29, 54, 87, ...
  100. Find the count of maximum contiguous Even numbers
  101. Program to print Kite Pattern
  102. Check if any square (with one colored cell) can be divided into two equal parts
  103. Area of largest triangle that can be inscribed within a rectangle
  104. Program to find the Discount Percentage
  105. Area of a square inscribed in a circle which is inscribed in an equilateral triangle
  106. Sum of the first N terms of the series 2, 6, 12, 20, 30....
  107. Maximum and minimum isolated vertices in a graph
  108. Number of values of b such that a = b + (a^b)
  109. Find the altitude and area of an isosceles triangle
  110. Program to find the surface area of the square pyramid
  111. Program to find Nth term of series 0, 10, 30, 60, 99, 150, 210, 280...........
  112. Program to find Nth term of series 2, 12, 28, 50, 77, 112, 152, 198, .....
  113. Program to find Nth term of series 0, 11, 28, 51, 79, 115, 156, 203, ....
  114. Program to find Nth term of series 3, 12, 29, 54, 86, 128, 177, 234, .....
  115. Program to check if an array is palindrome or not using Recursion
  116. Check if an array is Wave Array
  117. Number of different positions where a person can stand
  118. Program for n-th odd number
  119. Check n^2 - m^2 is prime or not
  120. Divide an isosceles triangle in two parts with ratio of areas as n:m
  121. Find count of Almost Prime numbers from 1 to N
  122. Check if it is possible to rearrange rectangles in a non-ascending order of breadths
  123. Check if a number is a Pythagorean Prime or not
  124. Check if a number is Quartan Prime or not
  125. Sum of numbers from 1 to N which are divisible by 3 or 4
  126. Area of a square inscribed in a circle which is inscribed in a hexagon
  127. Check if it is possible to move from (a, 0) to (b, 0) with given jumps
  128. Check if it is possible to move from (0, 0) to (x, y) in N steps
  129. Count all the numbers less than 10^6 whose minimum prime factor is N
  130. Check whether bitwise AND of a number with any subset of an array is zero or not
  131. Area of circle which is inscribed in equilateral triangle
  132. Program to find the Nth term of series 5, 12, 21, 32, 45......
  133. Program to find N-th term of series 1, 2, 11, 12, 21….
  134. Maximum removal from array when removal time >= waiting time
  135. Find the number of boxes to be removed
  136. Program to find the angles of a quadrilateral
  137. Minimum and maximum number of N chocolates after distribution among K students
  138. Check if a cell can be visited more than once in a String
  139. Number of solutions for x < y, where a <= x <= b and c <= y <= d and x, y are integers
  140. Radius of the biggest possible circle inscribed in rhombus which in turn is inscribed in a rectangle
  141. Pair with maximum difference in a Matrix
  142. Product of all the elements in an array divisible by a given number K
  143. Check whether the given number is Wagstaff prime or not
  144. Generate a number such that the frequency of each digit is digit times the frequency in given number
  145. Sum of Fibonacci Numbers with alternate negatives
  146. Find normal at a given point on the curve
  147. Difference between the largest and the smallest primes in an array
  148. Represent a number as a sum of maximum possible number of Prime Numbers
  149. Minimum number of segments required such that each segment has distinct elements
  150. Minimum sum falling path in a NxN grid
  151. Program to print Even Odd Number Pyramid
  152. All possible co-prime distinct element pairs within a range [L, R]
  153. Ways of dividing a group into two halves such that two elements are in different groups
  154. Calculate Stirling numbers which represents the number of ways to arrange r objects around n different circles
  155. Length of the Diagonal of the Octagon
  156. Minimum number of towers required such that every house is in the range of at least one tower
  157. Program to find the Sum of each Row and each Column of a Matrix
  158. Count numbers whose XOR with N is equal to OR with N
  159. Print a number containing K digits with digital root D
  160. Count subarrays consisting of only 0's and only 1's in a binary array
  161. Replace every array element by Bitwise Xor of previous and next element
  162. Count the number of elements in an array which are divisible by k
  163. Maximum sum and product of the M consecutive digits in a number
  164. Mode
  165. Index with Minimum sum of prefix and suffix sums in an Array
  166. Position after taking N steps to the right and left in an alternate manner
  167. Find the value of f(n) / f(r) * f(n-r)
  168. Find two numbers whose sum and GCD are given
  169. Probability of getting two consecutive heads after choosing a random coin among two different types of coins
  170. Find the number of primitive roots modulo prime
  171. Sum of first N natural numbers which are not powers of K
  172. Largest sub-array whose all elements are perfect squares
  173. Overall percentage change from successive changes
  174. Program to find the Break Even Point
  175. Check if a large number is divisible by 75 or not
  176. Find a value whose XOR with given number is maximum
  177. Minimum sum after subtracting multiples of k from the elements of the array
  178. Program to convert given Matrix to a Diagonal Matrix
  179. Largest perfect square number in an Array
  180. Ratio of area of a rectangle with the rectangle inscribed in it
  181. Largest number in an array that is not a perfect cube
  182. Print sum of matrix and its mirror image
  183. Volume of largest right circular cylinder within a Sphere
  184. Volume of biggest sphere within a right circular cylinder
  185. Count pairs with Bitwise XOR as EVEN number
  186. Count pairs with Bitwise-AND as even number
  187. Minimum number of moves required to reach the destination by the king in a chess board
  188. Minimum elements to be added in a range so that count of elements is divisible by K
  189. Lexicographically smallest substring with maximum occurrences containing a's and b's only
  190. Lexicographically Smallest Permutation of length N such that for exactly K indices, a[i] > a[i] + 1
  191. Count number of indices such that s[i] = s[i+1] : Range queries
  192. Find sum of a number and its maximum prime factor
  193. Find a range that covers all the elements of given N ranges
  194. Fill missing entries of a magic square
  195. Find the intersection of two Matrices
  196. Maximum number with same digit factorial product
  197. 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
  198. Length of longest consecutive ones by at most one swap in a Binary String
  199. Expressing a fraction as a natural number under modulo 'm'
  200. Smallest Pair Sum in an array
  201. Minimum moves required to change position with the given operation
  202. Interchange elements of first and last columns in matrix
  203. Maximum sum of all elements of array after performing given operations
  204. Find numbers a and b that satisfy the given conditions
  205. Integers from the range that are composed of a single distinct digit
  206. Sum of integers upto N with given unit digit (Set 2)
  207. Count numbers < = N whose difference with the count of primes upto them is > = K
  208. Minimum number of consecutive sequences that can be formed in an array
  209. Sum of elements from an array having even parity
  210. Side of a regular n-sided polygon circumscribed in a circle
  211. Number of array elements derivable from D after performing certain operations
  212. Reach the numbers by making jumps of two given lengths
  213. Program for converting hours into minutes and seconds
  214. A Sum Array Puzzle
  215. Count Subarrays with Consecutive elements differing by 1
  216. Buy minimum items without change and given coins
  217. Count common prime factors of two numbers
  218. Diagonal of a Regular Decagon
  219. Area of a n-sided regular polygon with given side length
  220. Print numbers in matrix diagonal pattern
  221. Print multiples of Unit Digit of Given Number
  222. Check if the binary representation of a number has equal number of 0s and 1s in blocks
  223. Source to destination in 2-D path with fixed sized jumps
  224. Minimum number of moves to make a binary array K periodic
  225. Count array elements that divide the sum of all other elements
  226. Count numbers in range 1 to N which are divisible by X but not by Y