1. Sum of first n terms of a given series 3, 6, 11, .....
  2. 2D and 2.5D Memory organization
  3. Sum of the series 3, 20, 63, 144, ......
  4. Find the sum of n terms of the series 1,8,27,64 ....
  5. Find the sum of the series 2, 5, 13, 35, 97...
  6. Computer Organization | Read and Write operations in memory
  7. Find the missing value from the given equation a + b = c
  8. Program to find the Centroid of the triangle
  9. Find the altitude and area of an isosceles triangle
  10. Program to find the surface area of the square pyramid
  11. Program to find volume and surface area of pentagonal prism
  12. Assembly language program to find the range of bytes
  13. Register content and Flag status after Instructions
  14. Ways of selecting men and women from a group to make a team
  15. Number of ways to arrange a word such that all vowels occur together
  16. Program to evaluate the expression (√X+1)^6 + (√X-1)^6
  17. Python | OpenCV BGR color palette with trackbars
  18. Arrangement of the characters of a word such that all vowels are at odd places
  19. Number of triangles formed from a set of points on three lines
  20. Number of words in a camelcase sequence
  21. Greatest Integer Function
  22. Permutations of n things taken r at a time with k things together
  23. N digit numbers divisible by 5 formed from the M digits
  24. Minimum steps to remove substring 010 from a binary string
  25. Maximums from array when the maximum decrements after every access
  26. Maximum sum and product of the M consecutive digits in a number
  27. Index with Minimum sum of prefix and suffix sums in an Array
  28. Count occurrences of a character in a repeated string
  29. Sum of the alphabetical values of the characters of a string
  30. Software Engineering | Curve Fitting models
  31. Draw a triangle with centroid using OpenCV
  32. Permutations of string such that no two vowels are adjacent
  33. Cost to make a string Panagram
  34. Convert a String into a square matrix grid of characters
  35. Longest Sub-array with maximum average value
  36. Maximum occurrence of prefix in the Array
  37. Replace every consonant sequence with its length in the given string
  38. Deletions of "01" or "10" in binary string to make it free from "01" or "10"
  39. Reduce the fraction to its lowest form
  40. Divide a number into two parts
  41. Number of edges in mirror image of Complete binary tree
  42. Sum of GCDs of each row of the given matrix
  43. Count the nodes whose sum with X is a Fibonacci number
  44. Reduce the array to a single integer with the given operation
  45. Count the nodes of the tree whose weighted string contains a vowel
  46. Count of cells in a matrix which give a Fibonacci number when the count of adjacent cells is added
  47. Find max length odd parity substring
You may use GeeksforGeeks CONTRIBUTE portal to help other geeks. For more info, please refer this.

  1. Program to find whether a no is power of two
  2. Program to find parity
  3. Count digits in given number N which divide N
  4. Find the maximum distance covered using n bikes
  5. Check if binary representation of a number is palindrome
  6. Count number of ways to partition a set into k subsets
  7. Euler's criterion (Check if square root under modulo p exists)
  8. Volume of cube using its space diagonal
  9. Linear Diophantine Equations
  10. Find frequency of each element in a limited range array in less than O(n) time
  11. Number of ways to calculate a target number using only array elements
  12. Find number of subarrays with even sum
  13. Maximum value K such that array has at-least K elements that are >= K
  14. Find profession in a special family
  15. Reverse an array in groups of given size | Set 2 (Variations of Set 1 )
  16. Find Two Missing Numbers | Set 1 (An Interesting Linear Time Solution)
  17. Sort an array according to count of set bits
  18. Swap three variables without using temporary variable
  19. Find minimum elements after considering all possible transformations
  20. Minimum number of increment/decrement operations such that array contains all elements from 1 to N
  21. Minimum steps to reach end of array under constraints
  22. Number of swaps to sort when only adjacent swapping allowed
  23. Convert a number into negative base representation
  24. Find all sides of a right angled triangle from given hypotenuse and area | Set 1
  25. Count number of ways to reach destination in a Maze
  26. Find all distinct subset (or subsequence) sums of an array
  27. Compare two integers without using any Comparison operator
  28. Minimum number of page turns to get to a desired page
  29. Minimum number of equal amount bags to collect at least M money
  30. Largest divisible subset in array
  31. K difference permutation
  32. Find ways an Integer can be expressed as sum of n-th power of unique natural numbers
  33. Number of even substrings in a string of digits
  34. Solving f(n)= (1) + (2*3) + (4*5*6) ... n using Recursion
  35. Generate all binary permutations such that there are more or equal 1's than 0's before every point in all permutations
  36. Remove repeated digits in a given number
  37. Greedy Algorithm to find Minimum number of Coins
  38. Sort an array of strings according to string lengths
  39. Count the number of ways to divide an array into three contiguous parts having equal sum
  40. Rearrange an array such that every odd indexed element is greater than it previous
  41. Fibonacci modulo p
  42. Find the sum of all the terms in the n-th row of the given series
  43. Program for quotient and remainder of big number
  44. Length of the transverse common tangent between the two non intersecting circles
  45. Divide the two given numbers by their common divisors
  46. Queries for decimal values of subarrays of a binary array
  47. Find the Sub-array with sum closest to 0
  48. Round-off a number to a given number of significant digits
  49. Number of substrings divisible by 4 in a string of integers
  50. Ways to remove one element from a binary string so that XOR becomes zero
  51. Longest Prime Subarray after removing one element
  52. Maximum sum subarray having sum less than or equal to given sum
  53. Compute average of two numbers without overflow
  54. Largest number with the given set of N digits that is divisible by 2, 3 and 5
  55. Count subarrays with equal number of occurrences of two given elements
  56. Check whether a given point lies inside a rectangle or not
  57. Binary array after M range toggle operations
  58. All possible binary numbers of length n with equal sum in both halves
  59. Minimum number of Square Free Divisors
  60. Smallest index such that there are no 0 or 1 to its right
  61. A sorting algorithm that slightly improves on selection sort
  62. Find element at given index after given range reversals
  63. Find the winner of a game where scores are given as a binary string
  64. Unique element in an array where all elements occur k times except one
  65. Print N-bit binary numbers having more 1’s than 0’s in all prefixes
  66. Count of substrings of a binary string containing K ones
  67. Longest alternating sub-array starting from every index in a Binary Array
  68. Check whether a number has exactly three distinct factors or not
  69. Longest Repeated Subsequence
  70. Smallest integer with digit sum M and multiple of N
  71. Replace two substrings (of a string) with each other
  72. Maximum length subsequence possible of the form R^N K^N
  73. Lexicographically smallest string whose hamming distance from given string is exactly K
  74. Area of a triangle inscribed in a rectangle which is inscribed in an ellipse
  75. Print digit's position to be removed to make a number divisible by 6
  76. Check if an encoding represents a unique binary string
  77. Longest subarray having count of 1s one more than count of 0s
  78. Longest subsequence with no 0 after 1
  79. Minimum number of elements to add to make median equals x
  80. Divisibility by 64 with removal of bits allowed
  81. Longest subsequence of the form 0*1*0* in a binary string
  82. Longest subarray not having more than K distinct elements
  83. Check whether the given array is perfect or not
  84. Largest in array without using conditionals / bitwise / ternary operators
  85. Count sub-arrays which have elements less than or equal to X
  86. Minimum flips to make all 1s in left and 0s in right | Set 2
  87. Construct a distinct elements array with given size, sum and element upper bound
  88. Find maximum in an array without using Relational Operators
  89. Split the string into substrings using delimiter
  90. Minimum cost to construct a string
  91. Queries for maximum difference between prime numbers in given ranges
  92. Encrypt string with product of number of vowels and consonants in substring of size k
  93. Count of possible hexagonal walks
  94. Partition into two subarrays of lengths k and (N - k) such that the difference of sums is maximum
  95. Longest subarray with sum divisible by k
  96. Minimum number of subsets with distinct elements
  97. Count subsequence of length three in a given string
  98. Program to find the sum of a Series (1*1) + (2*2) + (3*3) + (4*4) + (5*5) + ... + (n*n)
  99. Count of subsequences having maximum distinct elements
  100. Maximum occurring character in an input string | Set-2
  101. Area of the biggest possible rhombus that can be inscribed in a rectangle
  102. Count consonants in a string (Iterative and recursive methods)
  103. Find the position of the last removed element from the array
  104. Find the Number which contain the digit d
  105. Program to implement t-test
  106. HCF of array of fractions (or rational numbers)
  107. Number of unique triplets whose XOR is zero
  108. Sparse Search
  109. Check whether bits are in alternate pattern in the given range | Set-2
  110. Program to check if matrix is singular or not
  111. Sum of columns of a 2-D Matrix where first element is odd
  112. Number of integers with odd number of set bits
  113. Array with GCD of any of its subset belongs to the given array
  114. Find nth term of the Dragon Curve Sequence
  115. Program to find the Nth term of the series 3, 7, 13, 21, 31.....
  116. Cost to Balance the parentheses
  117. Maximum equlibrium sum in an array
  118. Previous number same as 1's complement
  119. Maximum average sum partition of an array
  120. Printing longest Increasing consecutive subsequence
  121. Number of ways to form an array with distinct adjacent elements
  122. Minimum bit changes in Binary Circular array to reach a index
  123. Number whose XOR sum with given array is a given number k
  124. Maximum length of a sub-array with ugly numbers
  125. Minimum value of "max + min" in a subarray
  126. Largest set with bitwise OR equal to n
  127. Subtract 1 without arithmetic operators
  128. Number with set bits only between L-th and R-th index
  129. First X vowels from a string
  130. Find a Symmetric matrix of order N that contain integers from 0 to N-1 and main diagonal should contain only 0's
  131. Sum of multiplication of triplet of divisors of a number
  132. Recursive program to generate power set
  133. Maximum Product Subarray | Set 3
  134. Find the node whose xor with x gives maximum value
  135. Puzzle | Minimum distance for Lizard
  136. Count the number of intervals in which a given value lies
  137. kth smallest/largest in a small range unsorted array
  138. Program to calculate the Surface Area of a Triangular Prism
  139. Modify string by removing vowels in between two consonants
  140. Queries of nCr%p in O(1) time complexity
  141. Program to determine the octant of the axial plane
  142. Absolute difference between the first X and last X Digits of N
  143. Longest substring with count of 1s more than 0s
  144. Weird Number
  145. Convert time from 24 hour clock to 12 hour clock format
  146. First element greater than or equal to X in prefix sum of N numbers using Binary Lifting
  147. Reallocation of elements based on Locality of Reference
  148. Length and Breadth of rectangle such that ratio of Area to diagonal^2 is maximum
  149. Delete array element in given index range [L - R]
  150. Number of Co-prime pairs obtained from the sum of digits of elements in the given range
  151. Count the number of pairs that have column sum greater than row sum
  152. Longest chain of arr[i], arr[arr[i]], .. without repetition
  153. Split array to three subarrays such that sum of first and third subarray is equal and maximum
  154. Modulus of all pairwise consecutive elements in an Array
  155. Print the last occurrence of elements in array in relative order
  156. Maximum profit after buying and selling the stocks
  157. Lowest Common Ancestor in Parent Array Representation
  158. Lexicographically smallest and largest substring of size k
  159. Count no. of ordered subsets having a particular XOR value
  160. Comparing leading zeros in binary representations of two numbers
  161. Find the Next perfect square greater than a given number
  162. Program to find the Nth term of the series 3, 20, 63, 144, 230, ……
  163. Program to find the Nth term of series 5, 10, 17, 26, 37, 50, 65, 82, ...
  164. Program to find the Nth term of series 0, 4, 14, 30, 51, 80, 114, 154, 200, ...
  165. Minimum number of items to be delivered
  166. Program to find the Nth term of the series 0, 14, 40, 78, 124, ...
  167. Program to find the Nth term of the series 0, 5, 14, 27, 44, ........
  168. Count ways to reach a score using 1 and 2 with no consecutive 2s
  169. Maximum length of segments of 0's and 1's
  170. Program to calculate Bitonicity of an Array
  171. Find all angles of a triangle in 3D
  172. Sum of first n term of Series 3, 5, 9, 17, 33....
  173. Generating subarrays using recursion
  174. Find the number after successive division
  175. Sum of first n terms of a given series 3, 6, 11, .....
  176. Sum of first N terms of Quadratic Sequence 3 + 7 + 13 + ...
  177. Rotations of a Binary String with Odd Value
  178. Find the sum of series 3, 7, 13, 21, 31....
  179. Find sum of the series 1-2+3-4+5-6+7.......
  180. Find sum of the series 1+22+333+4444+...... upto n terms
  181. Find the sum of infinite series 1^2.x^0 + 2^2.x^1 + 3^2.x^2 + 4^2.x^3 +.......
  182. Find area of triangle if two vectors of two adjacent sides are given
  183. Area of a circle inscribed in a regular hexagon
  184. Split the number into N parts such that difference between the smallest and the largest part is minimum
  185. Check if a point is inside, outside or on the ellipse
  186. Find nth term of a given recurrence relation
  187. Check if a point is inside, outside or on the parabola
  188. First triangular number whose number of divisors exceeds N
  189. Find the Nth term of the series 2 + 6 + 13 + 23 + . . .
  190. Find the sum of series 3, -6, 12, -24 . . . upto N terms
  191. Program to print the Sum of series -1 + 2 + 11 + 26 + 47 +.....
  192. Program to find Nth term of the series 3, 12, 29, 54, 87, ...
  193. Program to find Nth term of the series 3 , 5 , 21 , 51 , 95 , ...
  194. Program to find the sum of the series 23+ 45+ 75+..... upto N terms
  195. Program to print Hut
  196. Program to find Nth term of series 0, 10, 30, 60, 99, 150, 210, 280...........
  197. Program to find Nth term of series 2, 12, 28, 50, 77, 112, 152, 198, .....
  198. Program to find Nth term of series 4, 14, 28, 46, 68, 94, 124, 158, .....
  199. Find the direction from given string
  200. Sum of all Primes in a given range using Sieve of Eratosthenes
  201. Program to find volume and surface area of pentagonal prism
  202. Count characters with same neighbors
  203. Print a number strictly less than a given number such that all its digits are distinct.
  204. Divide an isosceles triangle in two parts with ratio of areas as n:m
  205. Program to solve the Alligation Problem
  206. Area of a circle inscribed in a rectangle which is inscribed in a semicircle
  207. Area of a square inscribed in a circle which is inscribed in a hexagon
  208. Find the k-th smallest divisor of a natural number N
  209. Radius of the biggest possible circle inscribed in rhombus which in turn is inscribed in a rectangle
  210. Check if a string can be rearranged to form special palindrome
  211. Program to find the maximum element in a Matrix
  212. Maximize number of nodes which are not part of any edge in a Graph
  213. Program to print the pattern with two hollow Triangles
  214. Find normal at a given point on the curve
  215. Product of non-repeating (distinct) elements in an Array
  216. Program to find the side of the Octagon inscribed within the square
  217. Program to replace every space in a string with hyphen
  218. Program to Calculate the Perimeter of a Decagon
  219. Minimum number of nodes in an AVL Tree with given height
  220. Program to Print Mirrored Hollow Parallelogram
  221. Program to find sum of 1 + x/2! + x^2/3! +...+x^n/(n+1)!
  222. Number of squares of side length required to cover an N*M rectangle
  223. Check if the characters of a given string are in alphabetical order
  224. Program to find the Area and Perimeter of a Semicircle
  225. Minimum time to reach a point with +t and -t moves at time t
  226. Maximize the sum of array by multiplying prefix of array with -1
  227. Program to find the Perimeter of a Regular Polygon
  228. Minimum swaps required to make a binary string alternating
  229. Find sum of N-th group of Natural Numbers
  230. Check if a number is a Trojan Number
  231. Rearrange all elements of array which are multiples of x in increasing order
  232. Section formula for 3 D
  233. Check if a number is an Achilles number or not
  234. Equation of circle from centre and radius
  235. Minimum squares to evenly cut a rectangle
  236. Minimum boxes required to carry all gifts
  237. Equation of parabola from its focus and directrix
  238. Round to next smaller multiple of 8
  239. Find the foot of perpendicular of a point in a 3 D plane
  240. Calculate volume and surface area of Torus
  241. Assign other value to a variable from two possible values
  242. Longest subarray with elements divisible by k
  243. Check whether a number has consecutive 0's in the given base or not
  244. Sorting array elements with set bits equal to K
  245. Replace all consonants with nearest vowels in a string
  246. Find middle point segment from given segment lengths
  247. Check whether sum of digits at odd places of a number is divisible by K
  248. Minimum array elements to be changed to make it a Lucas Sequence
  249. Maximum number of contiguous array elements with same number of set bits
  250. Equation of ellipse from its focus, directrix, and eccentricity
  251. Count Number of animals in a zoo from given number of head and legs
  252. Find permutation of n which is divisible by 3 but not divisible by 6
  253. Maximum area of rectangle possible with given perimeter
  254. Area of decagon inscribed within the circle
  255. Count subarrays consisting of only 0's and only 1's in a binary array
  256. Find maximum distance between any city and station
  257. Sum and Product of all Composite numbers which are divisible by k in an array
  258. Program to calculate area and perimeter of a rhombus whose diagonals are given
  259. Program to find Nth term of series 7, 21, 49, 91, 147, 217, ......
  260. Count the number of elements in an array which are divisible by k
  261. Count occurrences of the average of array elements with a given number
  262. Count ordered pairs with product less than N
  263. Count number less than N which are product of perfect squares
  264. Check if the Xor of the frequency of all digits of a number N is zero or not
  265. Find maximum volume of a cuboid from the given perimeter and area
  266. Program to print hollow Triangle pattern
  267. Minimize the value of N by applying the given operations
  268. Count the number of vowels occurring in all the substrings of given string
  269. Find if array has an element whose value is half of array sum
  270. GCD of a number raised to some power and another number
  271. Largest cube that can be inscribed within the sphere
  272. Sum of all the multiples of 3 and 7 below N
  273. Largest sphere that can be inscribed inside a cube
  274. Position after taking N steps to the right and left in an alternate manner
  275. Count pieces of circle after N cuts
  276. Find Selling Price from given Profit Percentage and Cost
  277. Find Maximum side length of square in a Matrix
  278. XOR of all elements of array with set bits equal to K
  279. Count number of bits changed after adding 1 to given N
  280. Different possible marks for n questions and negative marking
  281. Number of strictly increasing Buildings from right with distinct Colors
  282. Find two numbers with sum and product both same as N
  283. Find two numbers whose sum and GCD are given
  284. Maximum litres of water that can be bought with N Rupees
  285. Find the player who rearranges the characters to get a palindrome string first
  286. Find the number of primitive roots modulo prime
  287. Largest sub-array whose all elements are perfect squares
  288. Sum of multiples of A and B less than N
  289. Sum of common divisors of two numbers A and B
  290. Check if a large number is divisible by 75 or not
  291. Minimum number of characters to be replaced to make a given string Palindrome
  292. Count of cyclic permutations having XOR with other binary string as 0
  293. Number of ways to swap two bit of s1 so that bitwise OR of s1 and s2 changes
  294. Check if the array has an element which is equal to product of remaining elements
  295. Maximum number of parallelograms that can be made using the given length of line segments
  296. Minimum sum after subtracting multiples of k from the elements of the array
  297. Minimum steps to convert one binary string to other only using negation
  298. Program to print 'N' alphabet using the number pattern from 1 to n
  299. Ratio of area of a rectangle with the rectangle inscribed in it
  300. Partiton N into M parts such that difference between Max and Min part is smallest
  301. Largest number in an array that is not a perfect cube
  302. Print sum of matrix and its mirror image
  303. Largest perfect cube number in an Array
  304. Minimum number of moves required to reach the destination by the king in a chess board
  305. Minimum elements to be added in a range so that count of elements is divisible by K
  306. Sum of the digits of a number N written in all bases from 2 to N/2
  307. Lexicographically smallest substring with maximum occurrences containing a's and b's only
  308. Sorting rows of matrix in descending order followed by columns in ascending order
  309. Find sum of a number and its maximum prime factor
  310. Distance between two nodes of binary tree with node values from 1 to N
  311. Sum of elements whose square root is present in the array
  312. Range and Coefficient of range of Array
  313. Frequency of each element of an array of small ranged values
  314. Size of the smallest subset with maximum Bitwise OR
  315. Replace every element of the array by its previous element
  316. Sum of first N natural numbers which are divisible by X or Y
  317. Check if a number is Triperfect Number
  318. Length of rope tied around three equal circles touching each other
  319. Maximize the difference between two subsets of a set with negatives
  320. Check if the given decimal number has 0 and 1 digits only
  321. Number of Binary Strings of length N with K adjacent Set Bits
  322. Sum of the multiples of two numbers below N
  323. Sort the array in a given index range
  324. Concatenate suffixes of a String
  325. Minimum absolute difference of a number and its closest prime
  326. Largest palindromic number in an array
  327. Split a number into 3 parts such that none of the parts is divisible by 3
  328. Sum of integers upto N with given unit digit
  329. Closest perfect square and its distance
  330. Count sub-sets that satisfy the given condition
  331. Leftmost and rightmost indices of the maximum and the minimum element of an array
  332. Find nth Hermite number
  333. Longest Subsequence where index of next element is arr[arr[i] + i]
  334. Smallest subarray containing minimum and maximum values
  335. Find minimum x such that (x % k) * (x / k) == n | Set-2
  336. Minimize the maximum minimum difference after one removal from array
  337. Sum of LCM(1, n), LCM(2, n), LCM(3, n), ... , LCM(n, n)
  338. Buy minimum items without change and given coins
  339. Check if all elements of the array are palindrome or not
  340. Count common prime factors of two numbers
  341. Occurrences of a pattern in binary representation of a number
  342. Represent n as the sum of exactly k powers of two | Set 2
  343. Number of ways to remove a sub-string from S such that all remaining characters are same
  344. Count number of pairs (i, j) such that arr[i] * arr[j] > arr[i] + arr[j]
  345. Find probability that a player wins when probabilities of hitting the target are given
  346. Minimum absolute difference between N and a power of 2
  347. Number of subarrays have bitwise OR >= K
  348. Find cost price from given selling price and profit or loss percentage
  349. First and Last Three Bits
  350. Length of the longest substring with consecutive characters
  351. Smallest perfect Cube divisible by all elements of an array
  352. Recursive program to print all numbers less than N which consist of digits 1 or 3 only
  353. Cost to make a string Panagram | Set 2
  354. Print n 0s and m 1s such that no two 0s and no three 1s are together
  355. Biggest Reuleaux Triangle within a Square which is inscribed within a Circle
  356. Print all Proth primes up to N
  357. Count of strings that become equal to one of the two strings after one removal
  358. Count of Numbers such that difference between the number and sum of its digits not less than L
  359. Check if a string can be repeated to make another string
  360. Largest number less than or equal to N/2 which is coprime to N
  361. Sort even and odd placed elements in increasing order
  362. Print all multiplicative primes <= N
  363. Find the resulting Colour Combination
  364. Find the Side of the smallest Square that can contain given 4 Big Squares
  365. Find array using different XORs of elements in groups of size 4
  366. Midpoint ellipse drawing algorithm
  367. Make all elements of an array equal with the given operation
  368. Minimum operations of the given type required to make a complete graph
  369. Count of pairs of (i, j) such that ((n % i) % j) % n is maximized
  370. Array element with minimum sum of absolute differences
  371. Decrypt a string encrypted by repeating i-th character i times
  372. Minimum replacements to make adjacent characters unequal in a ternary string
  373. Program to find LCM of two Fibonnaci Numbers
  374. Minimum operations required to make all the array elements equal
  375. Ways to divide a binary array into sub-arrays such that each sub-array contains exactly one 1
  376. Program to Assign grades to a student using Nested If Else
  377. Maximum number of teams that can be formed with given persons
  378. Maximum count of sub-strings of length K consisting of same characters
  379. Maximize the value of x + y + z such that ax + by + cz = n
  380. Number of sub-strings that contain the given character exactly k times
  381. Find integers that divides maximum number of elements of the array
  382. Maximum size of sub-array that satisfies the given condition
  383. Numbers of Length N having digits A and B and whose sum of digits contain only digits A and B
  384. Maximum sum after repeatedly dividing N by a divisor
  385. Lexicographically largest sub-sequence of the given string
  386. Minimum number of operations to move all uppercase characters before all lower case characters
  387. Number of ways to choose an integer such that there are exactly K elements greater than it in the given array
  388. Find frequency of smallest value in an array
  389. Acronym words
  390. Maximum number of segments that can contain the given points
  391. Modify a binary array to Bitwise AND of all elements as 1
  392. Minimum number of given operations required to convert a string to another string
  393. Minimum replacements to make adjacent characters unequal in a ternary string | Set-2
  394. Pick maximum sum M elements such that contiguous repetitions do not exceed K
  395. Minimize the sum of the squares of the sum of elements of each group the array is divided into
  396. Find a positive number M such that gcd(N^M, N&M) is maximum
  397. Given two binary strings perform operation until B > 0 and print the result
  398. Minimum number of moves to make a binary array K periodic
  399. Iterating over all possible combinations in an Array using Bits
  400. Check whether two strings are equivalent or not according to given condition
  401. Smallest Special Prime which is greater than or equal to a given number
  402. Select numbers in such way to maximize the amount of money
  403. Maximum Bitwise AND pair from given range
  404. Print k different sorted permutations of a given array
  405. Longest sub-sequence of array containing Lucas numbers
  406. Sum of the natural numbers (up to N) whose modulo with K yield R
  407. Find N % 4 (Remainder with 4) for a large value of N
  408. Schedule elevator to reduce the total time taken
  409. Minimum elements to be removed such that sum of adjacent elements is always even
  410. Maximum length subarray with difference between adjacent elements as either 0 or 1
  411. Count numbers in range 1 to N which are divisible by X but not by Y
  412. Number of trailing zeroes in base B representation of N!
  413. Minimum distance to the corner of a grid from source
  414. Pick points from array such that minimum distance is maximized
  415. Minimum cost to make two strings same
  416. Minimum matches the team needs to win to qualify
  417. Maximum length of balanced string after swapping and removal of characters
  418. Print all the sum pairs which occur maximum number of times
  419. Count permutations that are first decreasing then increasing.
  420. Check whether the Average Character of the String is present or not
  421. Series summation if T(n) is given and n is very large
  422. Minimum cost to form a number X by adding up powers of 2
  423. Program to calculate the value of nPr
  424. Check if the given string is K-periodic
  425. Smallest and Largest Palindrome with N Digits
  426. Count how many times the given digital clock shows identical digits
  427. Search an element in given N ranges
  428. Minimum cuts required to convert a palindromic string to a different palindromic string
  429. Check if matrix can be converted to another matrix by transposing square sub-matrices
  430. First string from the given array whose reverse is also present in the same array
  431. Count of pairs from 1 to a and 1 to b whose sum is divisible by N
  432. Check if Matrix remains unchanged after row reversals
  433. Generate all the binary strings of N bits
  434. Maximum trace possible for any sub-matrix of the given matrix
  435. Position of the K-th set bit in a number
  436. Print a number as string of 'A' and 'B' in lexicographic order
  437. Sort elements of the array that occurs in between multiples of K
  438. Print the longest prefix of the given string which is also the suffix of the same string
  439. Minimum cost to reach end of array array when a maximum jump of K index is allowed
  440. Count pairs with bitwise OR less than Max
  441. Queries to return the absolute difference between L-th smallest number and the R-th smallest number
  442. Perform K of Q queries to maximize the sum of the array elements
  443. Programs for printing pyramid patterns using recursion
  444. Maximize the median of the given array after adding K elements to the same array
  445. Replace all elements by difference of sums of positive and negative numbers after that element
  446. Program to find the kth character after decrypting a string
  447. Print all Semi-Prime Numbers less than or equal to N
  448. Minimize the cost to split a number
  449. Program to find the time after K minutes from given time
  450. Minimum number of given operation required to convert n to m
  451. Number of ways in which the substring in range [L, R] can be formed using characters out of the range
  452. Maximum volume of cube for every person when edge of N cubes are given
  453. Minimum number operations required to convert n to m | Set-2
  454. Maximum consecutive one’s (or zeros) in a binary circular array
  455. Find the maximum number of composite summands of a number
  456. Count common characters in two strings
  457. Minimum value to add to arr[i] so that an array can be split at index i with equal sum
  458. Sum of degrees of all nodes of a undirected graph
  459. Find the hypotenuse of a right angled triangle with given two sides
  460. Print last character of each word in a string
  461. Sort ugly numbers in an array at their relative positions
  462. Replace array elements by sum of next two consecutive elements
  463. Maximum array sum that can be obtained after exactly k changes
  464. Given an array and two integers l and r, find the kth largest element in the range [l, r]
  465. Check if factorial of N is divisible by the sum of squares of first N natural numbers
  466. Find the number of jumps to reach X in the number line from zero
  467. Element in a matrix starting from which anti-clockwise traversal ends at the last element
  468. Find the final radiations of each Radiated Stations
  469. Count number of binary strings of length N having only 0's and 1's
  470. Find original numbers from gcd() every pair
  471. Check if a given number divides the sum of the factorials of its digits
  472. Count the number of pairs (i, j) such that either arr[i] is divisible by arr[j] or arr[j] is divisible by arr[i]
  473. Find the sum of the diagonal elements of the given N X N spiral matrix
  474. Find the number of binary strings of length N with at least 3 consecutive 1s
  475. Minimum number of given operations required to convert a permutation into an identity permutation
  476. Find the count of sub-strings whose characters can be rearranged to form the given word
  477. Count all prefixes of the given binary array which are divisible by x
  478. Elements greater than the previous and next element in an Array
  479. Find the number of elements greater than k in a sorted array
  480. Find maximum sum taking every Kth element in the array
  481. Find missing element in a sorted array of consecutive numbers
  482. Find the number of players who roll the dice when the dice output sequence is given
  483. Program to calculate product of digits of a number
  484. Print the first and last character of each word in a String
  485. Minimum possible final health of the last monster in a game
  486. Check if two strings are same ignoring their cases
  487. Find the sum of digits of a number at even and odd places
  488. Count the number of sub-arrays such that the average of elements present in the sub-array is greater than that not present in the sub-array
  489. Check if product of first N natural numbers is divisible by their sum
  490. Check if matrix A can be converted to B by changing parity of corner elements of any submatrix
  491. Maximum sum of cocktail glass in a 2D matrix
  492. Find the maximum possible value of a[i] % a[j] over all pairs of i and j
  493. Sum of elements in 1st array such that number of elements less than or equal to them in 2nd array is maximum
  494. Given a string and an integer k, find the kth sub-string when all the sub-strings are sorted according to the given condition
  495. Check whether the given string is a valid identifier
  496. Find the nth term of the given series
  497. Move all zeros to start and ones to end in an Array of random integers
  498. Queries to update a given index and find gcd in range
  499. Product of all Subsequences of size K except the minimum and maximum Elements
  500. Longest substring of only 4's from the first N characters of the infinite string
  501. Equation of straight line passing through a given point which bisects it into two equal line segments
  502. Largest number not greater than N which can become prime after rearranging its digits
  503. Count arrays of length K whose product of elements is same as that of given array
  504. Remove all occurrences of any element for maximum array sum
  505. Maximum elements which can be crossed using given units of a and b
  506. Minimum value of X to make all array elements equal by either decreasing or increasing by X
  507. Minimum cost to modify a string
  508. Find the minimum sum of distance to A and B from any integer point in a ring of size N
  509. Check if string can be made lexicographically smaller by reversing any substring
  510. Count of quadruplets with given Sum | Set 2
  511. Number of character corrections in the given strings to make them equal
  512. Reorder the position of the words in alphabetical order
  513. Given two arrays count all pairs whose sum is an odd number
  514. Count pairs with average present in the same array
  515. Queries to answer the X-th smallest sub-string lexicographically
  516. Find element with the maximum set bits in an array
  517. Generate an array of K elements such that sum of elements is N and the condition a[i] < a[i+1] <= 2*a[i] is met | Set 2
  518. Calculate score for the given binary string
  519. Count number of 1s in the array after N moves
  520. Find permutation of first N natural numbers that satisfies the given condition
  521. Check if the robot is within the bounds of the grid after given moves
  522. Make lexicographically smallest palindrome by substituting missing characters
  523. Count number of subsets whose median is also present in the same subset
  524. Compare sum of first N-1 elements to Nth element of an array
  525. Choose X such that (A xor X) + (B xor X) is minimized
  526. Program to print an array in Pendulum Arrangement with constant space
  527. Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles
  528. Find a number which give minimum sum when XOR with every number of array of integers
  529. Generate an Array in which count of even and odd sum sub-arrays are E and O respectively
  530. Maximum sum path in a matrix from top to bottom and back
  531. Find prime number K in an array such that (A[i] % K) is maximum
  532. Count Pairs from two arrays with even sum
  533. GCD from root to leaf path in an N-ary tree
  534. Check whether product of integers from a to b is positive , negative or zero
  535. Maximum sum such that no two elements are adjacent | Set 2
  536. Count of distinct rectangles inscribed in an equilateral triangle
  537. Check if the number is even or odd whose digits and base (radix) is given
  538. Check whether a number can be represented as sum of K distinct positive integers
  539. Count index pairs which satisfy the given condition
  540. Minimum number of operations on a binary string such that it gives 10^A as remainder when divided by 10^B
  541. Minimize the number of steps required to reach the end of the array | Set 2
  542. Minimum steps required to reach the end of a matrix | Set 2
  543. Queries for bitwise AND in the given matrix
  544. Queries for bitwise OR in the given matrix
  545. Generate all unique partitions of an integer | Set 2
  546. Check if the given array contains all the divisors of some integer