AnkitRai01
AnkitRai01
  1. Python | Plotting Google Map using gmplot package
  2. Python | Writing to an excel file using openpyxl module
  3. Python | Get a set of places according to search query using Google Places API
  4. Python | Find current weather of any city using openweathermap API
  5. Python | Calculate distance and duration between two places using google distance matrix API
  6. Python | Calculate geographic coordinates of places using google geocoding API
  7. Python | Reading an excel file using openpyxl module
  8. Python | Program to implement Rock paper scissor game
  9. Program to print Collatz Sequence
  10. Python | Play a video in reverse mode using OpenCV
  11. Program to print all the numbers divisible by 3 and 5 for a given number
  12. Python | Get a google map image of specified location using Google Static Maps API
  13. Program to check if a string contains any special character
  14. Python | Django Admin Interface
  15. Python | Plotting Google Map using folium package
  16. Python | Program that matches a word containing 'g' followed by one or more e's using regex
  17. Python | Simple registration form using Tkinter
  18. Python | Simple GUI calculator using Tkinter
  19. Python | Program to accept the strings which contains all vowels
  20. Python | Find Live running status and PNR of any train using Railway API
  21. Python | Plotting Data on Google Map using pygmaps package
  22. Python | Distance-time GUI calculator using Tkinter
  23. Python | ASCII art using pyfiglet module
  24. Python | Arithmetic operations in excel file using openpyxl
  25. Python | Adjusting rows and columns of an excel file using openpyxl module
  26. Python | Plotting charts in excel sheet using openpyxl module | Set - 1
  27. Python | random.sample() function
  28. Python | Plotting charts in excel sheet using openpyxl module | Set – 2
  29. Python | Trigonometric operations in excel file using openpyxl
  30. Python | Plotting charts in excel sheet using openpyxl module | Set 3
  31. Python | Create and write on excel file using xlsxwriter module
  32. Creating a Pandas Series from Dictionary
  33. Generating Word Cloud in Python | Set 2
  34. Python | Plotting Area charts in excel sheet using XlsxWriter module
  35. Python | Getting started with SymPy module
  36. Python | Plotting bar charts in excel sheet using XlsxWriter module
  37. Python | Plotting Radar charts in excel sheet using XlsxWriter module
  38. Python | Program to implement Jumbled word game
  39. Python | Plotting scatter charts in excel sheet using XlsxWriter module
  40. Python | Plotting column charts in excel sheet using XlsxWriter module
  41. Python | Program to implement simple FLAMES game
  42. Python | Program to generate one-time password (OTP)
  43. Python | Plotting Pie charts in excel sheet using XlsxWriter module
  44. Python | Real time currency convertor using Tkinter
  45. Python | Get the real time currency exchange rate
  46. Python | Plotting Doughnut charts in excel sheet using XlsxWriter module
  47. Python | Plotting Stock charts in excel sheet using XlsxWriter module
  48. Python | Plotting Line charts in excel sheet using XlsxWriter module
  49. Python | Plotting Combined charts in excel sheet using XlsxWriter module
  50. Difference of two columns in Pandas dataframe
  51. Python | Real time weather detection using Tkinter
  52. Python | Plotting an Excel chart with pattern fills in column using XlsxWriter module
  53. Python | Plotting Different types of style charts in excel sheet using XlsxWriter module
  54. Python | Working with Pandas and XlsxWriter | Set - 1
  55. Python | Adding a Chartsheet in an excel sheet using XlsxWriter module
  56. Split a text column into two columns in Pandas DataFrame
  57. Python | Plotting an Excel chart with Gradient fills using XlsxWriter module
  58. Python | Plotting column charts in excel sheet with data tables using XlsxWriter module
  59. Python | Plotting charts in excel sheet with Data Tools using XlsxWriter module | Set - 1
  60. Python | Working with Pandas and XlsxWriter | Set – 2
  61. Python | Working with Pandas and XlsxWriter | Set – 3
  62. Python | Plotting charts in excel sheet with data tools using XlsxWriter module | Set – 2
  63. Creating a dataframe using Excel files
  64. Python | Tokenize text using TextBlob
  65. Different ways to iterate over rows in Pandas Dataframe
  66. Python | Simple FLAMES game using Tkinter
  67. Selecting rows in pandas DataFrame based on conditions
  68. Creating a Pandas Series from Lists
  69. Python | Lemmatization with TextBlob
  70. Python | Display images with PyGame
  71. Python | Part of Speech Tagging using TextBlob
  72. Python | Display text to PyGame window
  73. Python | Drawing different shapes on PyGame window
  74. Formatting integer column of Dataframe in Pandas
  75. Python | Sentiment Analysis using VADER
  76. Python program to check if a given string is Keyword or not
  77. Python | Check if string is a valid identifier
  78. Python | Check if given string is numeric or not
  79. Check if email address valid or not in Python
  80. Python program to validate an IP Address
  81. Python regex | Check whether the input is Floating point number or not
  82. Python Regex - Program to accept string starting with vowel
  83. Python Regex | Program to accept string ending with alphanumeric character
  84. Python program to print all Strong numbers in given list
  85. Python: Age Calculator using Tkinter
You may use GeeksforGeeks CONTRIBUTE portal to help other geeks. For more info, please refer this.

  1. Position of rightmost set bit
  2. Largest Sum Contiguous Subarray
  3. Maximum size square sub-matrix with all 1s
  4. Check for balanced parentheses in an expression
  5. Program for Fibonacci numbers
  6. Longest Increasing Subsequence | DP-3
  7. Count total set bits in all numbers from 1 to n
  8. Egg Dropping Puzzle | DP-11
  9. Floyd Warshall Algorithm | DP-16
  10. Bellman–Ford Algorithm | DP-23
  11. Binary representation of a given number
  12. Segment Tree | Set 1 (Sum of given range)
  13. Segment Tree | Set 2 (Range Minimum Query)
  14. Find position of the only set bit
  15. Longest Common Substring | DP-29
  16. Program for nth Catalan Number
  17. Find k closest elements to a given value
  18. Shortest Common Supersequence
  19. Trapping Rain Water
  20. Lazy Propagation in Segment Tree
  21. Count even length binary sequences with same sum of first and second half bits
  22. Count number of squares in a rectangle
  23. Volume of cube using its space diagonal
  24. A Space Optimized Solution of LCS
  25. Dynamic Programming | High-effort vs. Low-effort Tasks Problem
  26. Maximum sum of i*arr[i] among all rotations of a given array
  27. Calculate sum of all numbers present in a string
  28. Minimum cost to fill given weight in a bag
  29. Maximum weight path ending at any element of last row in a matrix
  30. Calculate XOR from 1 to n.
  31. Count All Palindromic Subsequence in a given String
  32. Recursively break a number in 3 parts to get maximum sum
  33. Path with maximum average value
  34. Maximum sum of pairs with specific difference
  35. Maximum sum alternating subsequence
  36. Count All Palindrome Sub-Strings in a String | Set 1
  37. Maximum subsequence sum such that no three are consecutive
  38. Maximum path sum for each position with jumps under divisibility condition
  39. Check if all rows of a matrix are circular rotations of each other
  40. LCS (Longest Common Subsequence) of three strings
  41. Count of acute, obtuse and right triangles with given sides
  42. Friends Pairing Problem
  43. Maximum path sum that starting with any cell of 0-th row and ending with any cell of (N-1)-th row
  44. Gold Mine Problem
  45. Highway Billboard Problem
  46. Convert decimal fraction to binary number
  47. Find number of endless points
  48. Subset with sum divisible by m
  49. Program to find second most frequent character
  50. Minimum steps to minimize n as per given condition
  51. Generate all rotations of a given string
  52. Shortest Uncommon Subsequence
  53. Number of times the largest perfect square number can be subtracted from N
  54. Ways to sum to N using array elements with repetition allowed
  55. Maximum sum in a 2 x n grid such that no two elements are adjacent
  56. Check if two numbers are bit rotations of each other or not
  57. Check whether given string can be generated after concatenating given strings
  58. Random list of M non-negative integers whose sum is N
  59. Minimum time to write characters using insert, delete and copy operation
  60. Regular polygon using only 1s in a binary numbered circle
  61. Number of integral solutions of the equation x1 + x2 +.... + xN = k
  62. Slope of the line parallel to the line with the given slope
  63. Count Balanced Binary Trees of Height h
  64. Painting Fence Algorithm
  65. Length of the transverse common tangent between the two non intersecting circles
  66. To check divisibility of any large number by 999
  67. Printing Items in 0/1 Knapsack
  68. Number of n-digits non-decreasing integers
  69. Remove one bit from a binary number to get maximum value
  70. Divide the two given numbers by their common divisors
  71. Count of Palindromic substrings in an Index range
  72. Program to calculate the number of odd days in given number of years
  73. Quick way to check if all the characters of a string are same
  74. Maximum number of 3-person teams formed from two groups
  75. Program to check if input is an integer or a string
  76. String which when repeated exactly K times gives a permutation of S
  77. Counts Path in an Array
  78. Check if a large number can be divided into two or more segments of equal sum
  79. Print matrix after applying increment operations in M ranges
  80. Subset Sum Problem in O(sum) space
  81. Print the following pyramid pattern
  82. Minimum Number of Manipulations required to make two Strings Anagram Without Deletion of Character
  83. Count of sub-sequences which satisfy the given condition
  84. Count ways to build street under given constraints
  85. Count number of paths whose weight is exactly X and has at-least one edge of weight M
  86. Greatest divisor which divides all natural number in range [L, R]
  87. Count pairs in an array such that LCM(arr[i], arr[j]) > min(arr[i],arr[j])
  88. Find an element in array such that sum of left array is equal to sum of right array
  89. Minimum number of Square Free Divisors
  90. Check if sums of i-th row and i-th column are same in matrix
  91. Check if the string contains consecutive letters and each letter occurs exactly once
  92. Lexicographically smallest permutation of {1, .. n} such that no. and position do not match
  93. Check if it is possible to reach vector B by rotating vector A and adding vector C to it
  94. Remove array end element to maximize the sum of product
  95. Value of continuous floor function : F(x) = F(floor(x/2)) + x
  96. Permutations to arrange N persons around a circular table
  97. Distributing all balls without repetition
  98. To check whether a large number is divisible by 7
  99. Number of ways to arrange N items under given constraints
  100. Number of closing brackets needed to complete a regular bracket sequence
  101. Count all subsequences having product less than K
  102. Find the Majority Element | Set 3 (Bit Magic)
  103. Longest Repeated Subsequence
  104. Check if a two character string can be made using given words
  105. Remove all the palindromic words from the given sentence
  106. Number of triangles that can be formed
  107. Find if it is possible to make a binary string which contanins given number of "0", "1" , "01" and "10" as sub sequences
  108. Smallest integer with digit sum M and multiple of N
  109. Number of subarrays having absolute sum greater than K | Set-2
  110. Replace two substrings (of a string) with each other
  111. Tile Stacking Problem
  112. Segment tree | Efficient implementation
  113. Maximum and Minimum value of a quadratic function
  114. Minimum area of a Polygon with three points given
  115. Print Longest Palindromic Subsequence
  116. Program to find the number of region in Planar Graph
  117. Eulerian Number
  118. Different ways to sum n using numbers greater than or equal to m
  119. Maximum possible elements which are divisible by 2
  120. Convert the ASCII value sentence to its equivalent string
  121. Print first N Mosaic numbers
  122. Check if the given string is the same as its reflection in a mirror
  123. Find the Kth smallest element in the sorted generated array
  124. Evaluation of Prefix Expressions
  125. Distance between two closest minimum
  126. Check if a given string is made up of two alternating characters
  127. Program to print double headed arrow pattern
  128. Count ways to divide circle using N non-intersecting chords
  129. Segment Tree | (XOR of a given range )
  130. Minimum sum of multiplications of n numbers
  131. Compute the maximum power with a given condition
  132. Area of hexagon with given diagonal length
  133. Program to copy the contents of one array into another in the reverse order
  134. Postfix to Prefix Conversion
  135. Calculate area of pentagon with given diagonal
  136. Make all elements zero by decreasing any two elements by one at a time
  137. Count of elements such that difference between sum of left and right sub arrays is equal to a multiple of k
  138. Minimum operations to make two numbers equal
  139. Maximize the sum of selected numbers from an array to make it empty
  140. Sum of columns of a 2-D Matrix where first element is odd
  141. Dyck Words of given length
  142. Longest string in non-decreasing order of ASCII code and in arithmetic progression
  143. Sum of each element raised to (prime-1) % prime
  144. Expressing factorial n as sum of consecutive numbers
  145. Count numbers from range whose prime factors are only 2 and 3
  146. Find frequency of each word in a string in Python
  147. Check if number can be displayed using seven segment led
  148. Check if it possible to partition in k subarrays with equal sum
  149. Longest Common Substring (Space optimized DP solution)
  150. Count pairs in an array which have at least one digit common
  151. Find Nth even length palindromic number formed using digits X and Y
  152. Check if every index i has an index j such that sum of elements in both directions are equal
  153. Print equal sum sets of array (Partition Problem) | Set 2
  154. Find a permutation such that number of indices for which gcd(p[i], i) > 1 is exactly K
  155. Maximum in an array that can make another array sorted
  156. Check if a number can be expressed as a^b | Set 2
  157. Count pairs with set bits sum equal to K
  158. Program to find Nth term of series 1, 3, 12, 60, 360…
  159. Python | Count the Number of matching characters in a pair of string
  160. First X vowels from a string
  161. Find a Symmetric matrix of order N that contain integers from 0 to N-1 and main diagonal should contain only 0's
  162. Sum of multiplication of triplet of divisors of a number
  163. Number of elements with even factors in the given range
  164. Find the lexicographical next balanced bracket sequence
  165. Repeated Character Whose First Appearance is Leftmost
  166. Program to check similarity of given two triangles
  167. Count the number of intervals in which a given value lies
  168. Degree of a Cycle Graph
  169. Minimum number of adjacent swaps for arranging similar elements together
  170. Find a non empty subset in an array of N integers such that sum of elements of subset is divisible by N
  171. Minimum inverting factor in an array
  172. Bitwise OR (or | ) of a range
  173. Make all numbers of an array equal
  174. All pairs whose xor gives unique prime
  175. Area of the Largest Triangle inscribed in a Hexagon
  176. Previous greater element
  177. Count number of steps to cover a distance if steps can be taken in powers of 2
  178. Python program to print even length words in a string
  179. Minimum element left from the array after performing given operations
  180. Find three integers less than or equal to N such that their LCM is maximum
  181. Print all prime numbers less than or equal to N
  182. Python | Plotting charts in excel sheet using openpyxl module | Set - 1
  183. Shortest path on a Square
  184. Probability of rain on N+1th day
  185. Find the sum of non-prime elements in the given array
  186. Absolute difference between the first X and last X Digits of N
  187. Check if it is possible to create a polygon with a given angle
  188. Sum of similarities of string with all of its suffixes
  189. Array Manipulation and Sum
  190. Maximum bishops that can be placed on N*N chessboard
  191. Find the multiple of x which is closest to a^b
  192. Print the corner elements and their sum in a 2-D matrix
  193. Probability that the pieces of a broken stick form a n sided polygon
  194. Remove all occurrences of a character in a string
  195. Number of ways to reach Nth floor by taking at-most K leaps
  196. Probability of a key K present in array
  197. Surd number
  198. Count pairs with Bitwise OR as Even number
  199. Minimize the difference between minimum and maximum elements
  200. Check if a key is present in every segment of size k in an array
  201. Delete array element in given index range [L - R]
  202. Check if a point lies on or inside a rectangle | Set-2
  203. Check if max occurring character of one string appears same no. of times in other
  204. Find First element in AP which is multiple of given prime
  205. Count the number of pairs that have column sum greater than row sum
  206. Cut all the rods with some length such that the sum of cut-off length is maximized
  207. Number of possible pairs of Hypotenuse and Area to form right angled triangle
  208. Subtraction of two numbers using 2's Complement
  209. Count strings with consonants and vowels at alternate position
  210. Maximum number of dots after throwing a dice N times
  211. Minimum multiplications with {2, 3, 7} to make two numbers equal
  212. Find N in the given matrix that follows a pattern
  213. Count permutation such that sequence is non decreasing
  214. Printing frequency of each character just after its consecutive occurrences
  215. Alternate Primes till N
  216. Program to print the initials of a name with the surname
  217. Find the largest number that can be formed with the given digits
  218. Count no. of ordered subsets having a particular XOR value
  219. N-th term in the series 1, 11, 55, 239, 991,....
  220. Count elements in the given range which have maximum number of divisors
  221. Minimum element in a max heap
  222. Program to find number of solutions in Quadratic Equation
  223. Length of longest consecutive zeroes in the binary representation of a number.
  224. Sum of decimal equivalent of all possible pairs of Binary representation of a Number
  225. Fascinating Number
  226. Program to print half diamond Number-Star pattern
  227. Program to find Nth term in the series 0, 2, 1, 3, 1, 5, 2, 7, 3,…
  228. Complement of a number with any base b
  229. Minimize ASCII values sum after removing all occurrences of one character
  230. Minimum number of square tiles required to fill the rectangular floor
  231. Maximize the profit by selling at-most M products
  232. Program to check if an array is bitonic or not
  233. Find Nth term of series 1, 4, 15, 72, 420...
  234. Program to check whether 4 points in a 3-D plane are Coplanar
  235. Count number of triplets with product equal to given number with duplicates allowed
  236. Pairs with GCD equal to one in the given range
  237. Find Nth term of the series 0, 2, 4, 8, 12, 18...
  238. Find Nth term of the series 5, 13, 25, 41, 61...
  239. Check whether a given point lies on or inside the rectangle | Set 3
  240. Program to find the percentage of difference between two numbers
  241. Program to find the Nth term of the series 3, 20, 63, 144, 230, ……
  242. Program to find the Nth term of series 5, 10, 17, 26, 37, 50, 65, 82, ...
  243. Program to find the Nth term of series 0, 4, 14, 30, 51, 80, 114, 154, 200, ...
  244. Number of divisors of a given number N which are divisible by K
  245. Number of substrings of one string present in other
  246. Program to count number of distinct Squares and Cubes upto N
  247. Coin game of two corners (Greedy Approach)
  248. Find Nth term of the series 3, 14, 39, 84...
  249. Check if a number with even number of digits is palindrome or not
  250. Find area of parallelogram if vectors of two adjacent sides are given
  251. Print elements that can be added to form a given sum
  252. Calculate the total fine to be collected
  253. Find out the correct position of the ball after shuffling
  254. Find Nth term of the series 1, 1, 2, 6, 24...
  255. Replace every element of the array by sum of all other elements
  256. Program to calculate Profit Or Loss
  257. Check if a String can be converted to Pangram in K changes
  258. Check if a number is divisible by 23 or not
  259. Concatenate strings in any order to get Maximum Number of "AB"
  260. Check if a number is divisible by 41 or not
  261. Total character pairs from two strings, with equal number of set bits in their ascii value
  262. Program to find Length of Bridge using Speed and Length of Train
  263. Find four factors of N with maximum product and sum equal to N
  264. Minimum number of elements to be removed to make XOR maximum
  265. Check if the given chessboard is valid or not
  266. Check if any large number is divisible by 19 or not
  267. Check if any large number is divisible by 17 or not
  268. Sum of Factors of a Number using Prime Factorization
  269. Largest rectangle that can be inscribed in a semicircle
  270. Find the number after successive division
  271. Area of circle inscribed within rhombus
  272. Program to calculate Root Mean Square
  273. Find the sum of series 0.X + 0.XX + 0.XXX +... upto k terms
  274. Area of a largest square fit in a right angle triangle
  275. Minimum Players required to win the game
  276. Program to find total number of edges in a Complete Graph
  277. Check if given string can be formed by two other strings or their permutations
  278. Sum of Digits in a^n till a single digit
  279. Find bitwise AND (&) of all possible sub-arrays
  280. Minimum length of string having all permutation of given string.
  281. Find bitwise OR of all possible sub-arrays
  282. Product of 2 numbers using recursion | Set 2
  283. Largest triangle that can be inscribed in a semicircle
  284. Minimize the length of string by removing occurrence of only one character
  285. Find the sum of n terms of the series 1,8,27,64 ....
  286. Find the sum of the series 2, 5, 13, 35, 97...
  287. Find Nth term of the series 0, 6, 0, 12, 0, 90...
  288. Find maximum points which can be obtained by deleting elements from array
  289. Probability of getting a sum on throwing 2 Dices N times
  290. Length of longest rod that can fit into a cuboid
  291. Minimum no. of operations required to make all Array Elements Zero
  292. Largest trapezoid that can be inscribed in a semicircle
  293. Area of Largest rectangle that can be inscribed in an Ellipse
  294. Count common subsequence in two strings
  295. Perfect cube greater than a given number
  296. Count pairs (a, b) whose sum of squares is N (a^2 + b^2 = N)
  297. Count the number of ways to traverse a Matrix
  298. Check if lowercase and uppercase characters are in same order
  299. Largest triangle that can be inscribed in an ellipse
  300. Program to print elements of a Matrix row-wise skipping alternate elements
  301. Program to find the Volume of an irregular tetrahedron
  302. Divide a number into two parts such that sum of digits is maximum
  303. Find sum of product of number in given series
  304. Find area of triangle if two vectors of two adjacent sides are given
  305. 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)
  306. Program to find Nth term of the series 2, 4, 3, 4, 15...
  307. Ratio of mth and nth term in an Arithmetic Progression (AP)
  308. Area of a circle inscribed in a regular hexagon
  309. Replace every character of a string by a different character
  310. Program to find Circuit Rank of an Undirected Graph
  311. Check if two arrays are permutations of each other using Mathematical Operation
  312. Program to find the value of tan(nΘ)
  313. Program to find N-th term of series 3, 5, 33, 35, 53....
  314. Program to find the value of sin(nΘ)
  315. First triangular number whose number of divisors exceeds N
  316. Find an element in an array such that elements form a strictly decreasing and increasing sequence
  317. Program to convert KiloBytes to Bytes and Bits
  318. Minimum cost to buy N kilograms of sweet for M persons
  319. Program to find the N-th term of series 3, 5, 33, 35, 53…. | Set-2
  320. Maximum Sum of Products of Two Arrays
  321. Minimum odd cost path in a matrix
  322. Divide an array into K subarray with the given condition
  323. Find the winner of the Game to Win by erasing any two consecutive similar alphabets
  324. Maximize the value of A by replacing some of its digits with digits of B
  325. Find number of magical pairs of string of length L
  326. Check if any square (with one colored cell) can be divided into two equal parts
  327. Set the rightmost off bit
  328. Generating numbers that are divisor of their right-rotations
  329. Area of a square inscribed in a circle which is inscribed in an equilateral triangle
  330. Program to find the Centroid of the triangle
  331. Number of Co-prime pairs from 1 to N with product equals to N
  332. Sum of the first N terms of the series 5,12, 23, 38....
  333. Find the GCD of N Fibonacci Numbers with given Indices
  334. Sum of the first N terms of the series 2,10, 30, 68,....
  335. Number of unique permutations starting with 1 of a Binary String
  336. Minimum increment in the sides required to get non-negative area of a triangle
  337. Find two distinct prime numbers with given product
  338. Program to find the Nth Harmonic Number
  339. Program to find Nth term of series 0, 9, 22, 39, 60, 85, 114, 147, .....
  340. Program to find Nth term of series 1, 6, 17, 34, 56, 86, 121, 162, .......
  341. Program to find Nth term of series 3, 12, 29, 54, 86, 128, 177, 234, .....
  342. Program to find the Radius of the incircle of the triangle
  343. Check if an array is Wave Array
  344. Rearrange the string to maximize the number of palindromic substrings
  345. Number of solutions of n = x + n ⊕ x
  346. Find count of Almost Prime numbers from 1 to N
  347. Absolute difference between sum and product of roots of a quartic equation
  348. Program to print the Cot Bed Pattern
  349. Sum of nth terms of Modified Fibonacci series made by every pair of two arrays
  350. Number of ways to choose a pair containing an even and an odd number from 1 to N
  351. Program to find the Circumcircle of any regular polygon
  352. Program to find the angles of a quadrilateral
  353. Minimum and maximum number of N chocolates after distribution among K students
  354. Sum of the first N Prime numbers
  355. Check if a cell can be visited more than once in a String
  356. Minimize the total number of teddies to be distributed
  357. Next greater Number than N with the same quantity of digits A and B
  358. Number of solutions for x < y, where a <= x <= b and c <= y <= d and x, y are integers
  359. Check if it is possible to return to the starting position after moving in the given directions
  360. Find the number of rectangles of size 2*1 which can be placed inside a rectangle of size n*m
  361. Sum of all the prime numbers in a given range
  362. Number of solutions for the equation x + y + z <= n
  363. Check if a string can be rearranged to form special palindrome
  364. Sum of all the elements in an array divisible by a given number K
  365. Program to find the maximum element in a Matrix
  366. Count all the numbers in a range with smallest factor as K
  367. Program to print the pattern with two hollow Triangles
  368. Count pairs (i,j) such that (i+j) is divisible by A and B both
  369. Value of the series (1^3 + 2^3 + 3^3 + ... + n^3) mod 4 for a given n
  370. Print N lines of 4 numbers such that every pair among 4 numbers has a GCD K
  371. Minimum increment operations to make the array in increasing order
  372. Sum of squares of Fibonacci numbers
  373. Check whether product of 'n' numbers is even or odd
  374. Sum of Fibonacci Numbers with alternate negatives
  375. Program to print Hut Star pattern
  376. Find Sum of Series 1^2 - 2^2 + 3^2 - 4^2 ..... upto n terms
  377. Minimum number of Parentheses to be added to make it valid
  378. Check if a number is Primorial Prime or not
  379. Print all Prime Quadruplet of a number less than it
  380. Minimum sum falling path in a NxN grid
  381. Check if at least half array is reducible to zero by performing some operations
  382. Number of groups of magnets formed from N magnets
  383. All possible co-prime distinct element pairs within a range [L, R]
  384. Check if a string is the typed name of the given name
  385. Ways of dividing a group into two halves such that two elements are in different groups
  386. Count of common multiples of two numbers in a range
  387. Find Tangent at a given point on the curve
  388. Calculate Stirling numbers which represents the number of ways to arrange r objects around n different circles
  389. Sort only non-prime numbers of an array in increasing order
  390. Minimum number of towers required such that every house is in the range of at least one tower
  391. Find the longest common prefix between two strings after performing swaps on second string
  392. Number of permutations of a string in which all the occurrences of a given character occurs together
  393. Program to calculate area of inner circle which passes through center of outer circle and touches its circumference
  394. Program to find sum of 1 + x/2! + x^2/3! +...+x^n/(n+1)!
  395. Minimum swaps required to convert one binary string to another
  396. Number of squares of side length required to cover an N*M rectangle
  397. Maximum count of equal numbers in an array after performing given operations
  398. Check if the characters of a given string are in alphabetical order
  399. Maximum number of fixed points using atmost 1 swap
  400. Maximum difference elements that can added to a set
  401. Largest element in the array that is repeated exactly k times
  402. Check if the given vectors are at equilibrium or not
  403. Program to find the Sum of each Row and each Column of a Matrix
  404. Sub-strings of length K containing same character
  405. Sum of Fibonacci numbers at even indexes upto N terms
  406. K- Fibonacci series
  407. Count numbers whose difference with N is equal to XOR with N
  408. Count unordered pairs (i,j) such that product of a[i] and a[j] is power of two
  409. Minimum sum possible of any bracket sequence of length N
  410. Check whether the vowels in a string are in alphabetical order or not
  411. Largest number divisible by 90 that can be made using 0 and 5
  412. Count numbers whose XOR with N is equal to OR with N
  413. Count number of ordered pairs with Even and Odd Product
  414. Check if the frequency of all the digits in a number is same
  415. Program to find the Area and Perimeter of a Semicircle
  416. Program to Convert Hexadecimal Number to Binary
  417. Print a number containing K digits with digital root D
  418. Minimum time to reach a point with +t and -t moves at time t
  419. Program to find the Perimeter of a Regular Polygon
  420. Count the numbers < N which have equal number of divisors as K
  421. Minimum swaps required to make a binary string alternating
  422. Number of anomalies in an array
  423. Equation of parabola from its focus and directrix
  424. Find the foot of perpendicular of a point in a 3 D plane
  425. Find amount to be added to achieve target ratio in a given mixture
  426. Find time taken for signal to reach all positions in a string
  427. Maximum points of intersection n lines
  428. Problem of 8 Neighbours of an element in a 2-D Matrix
  429. Equation of ellipse from its focus, directrix, and eccentricity
  430. Find single Movement in a Matrix
  431. Number of cells in the right and left diagonals passing through (x, y) in a matrix
  432. Lexicographically smallest permutation with no digits at Original Index
  433. Maximum difference of indices (i, j) such that A[i][j] = 0 in the given matrix
  434. Smallest odd digits number not less than N
  435. Largest number smaller than or equal to N divisible by K
  436. Minimum Cuts can be made in the Chessboard such that it is not divided into 2 parts
  437. Smallest number greater than or equal to N divisible by K
  438. Minimize the value of N by applying the given operations
  439. Absolute Difference of even and odd indexed elements in an Array
  440. Largest N digit number divisible by given three numbers
  441. Largest number not greater than N all the digits of which are odd
  442. Check if any permutation of a number is divisible by 3 and is Palindromic
  443. Maximum sum and product of the M consecutive digits in a number
  444. Mode
  445. Index with Minimum sum of prefix and suffix sums in an Array
  446. Partition an array such into maximum increasing segments
  447. Find if array has an element whose value is half of array sum
  448. GCD of a number raised to some power and another number
  449. Minimum cuts required to divide the Circle into equal parts
  450. Find the count of Strictly decreasing Subarrays
  451. Program to find the profit or loss when CP of N items is equal to SP of M items
  452. Find minimum operations needed to make an Array beautiful
  453. Minimum number of cuts required to make circle segments equal sized
  454. Minimum deletions from string to reduce it to string with at most 2 unique characters
  455. Game of stones
  456. Steps to reduce N to zero by subtracting its most significant digit at every step
  457. Find two numbers with sum and product both same as N
  458. Number of matches required to find the winner
  459. Maximum no. of apples that can be kept in a single basket
  460. In-Place Merge Sort
  461. Check whether count of distinct characters in a string is Prime or not
  462. Check if a prime number can be expressed as sum of two Prime Numbers
  463. Sum of the elements from index L to R in an array when arr[i] = i * (-1)^i
  464. Check if a large number is divisible by 75 or not
  465. Probability of getting more value in third dice throw
  466. Count of cyclic permutations having XOR with other binary string as 0
  467. Check whether the sum of prime elements of the array is prime or not
  468. Sort perfect squares in an array at their relative positions
  469. Split N^2 numbers into N groups of equal sum
  470. Common prime factors of two numbers
  471. Total number of subsets in which the product of the elements is even
  472. Minimum cost to cover the given positions in a N*M grid
  473. Minimum steps to convert one binary string to other only using negation
  474. Element equal to the sum of all the remaining elements
  475. Number of ways to reach the end of matrix with non-zero AND value
  476. Check whether an Array is Subarray of another Array
  477. Indexed Sequential Search
  478. Program to convert given Matrix to a Diagonal Matrix
  479. Largest perfect square number in an Array
  480. Number of pairs with Bitwise OR as Odd number
  481. Count number of triplets (a, b, c) such that a^2 + b^2 = c^2 and 1 <= a <= b <= c <= n
  482. Minimum sum of the elements of an array after subtracting smaller elements from larger
  483. Nth number made up of odd digits only
  484. Find a point that lies inside exactly K given squares
  485. Find sum of a number and its maximum prime factor
  486. Find minimum steps required to reach the end of a matrix | Set - 1
  487. Find position of left most dis-similar bit for two numbers
  488. Add N digits to A such that it is divisible by B after each addition
  489. Number of moves required to guess a permutation.
  490. Sum of elements whose square root is present in the array
  491. Find element position in given monotonic sequence
  492. Find the intersection of two Matrices
  493. Program to find first N Iccanobif Numbers
  494. Find smallest and largest element from square matrix diagonals
  495. Frequency of each element of an array of small ranged values
  496. Minimum range increment operations to Sort an array
  497. Print numbers with digits 0 and 1 only such that their sum is N
  498. Minimum number of moves to make all elements equal
  499. Size of the smallest subset with maximum Bitwise OR
  500. Find number of substrings of length k whose sum of ASCII value of characters is divisible by k
  501. Find alphabet in a Matrix which has maximum number of stars around it
  502. Largest number less than N with digit sum greater than the digit sum of N
  503. Time taken by two persons to meet on a circular track
  504. Number of comparisons in each direction for m queries in linear search
  505. Replace every element of the array by its previous element
  506. Replace every element of the array by its next element
  507. Print numbers in descending order along with their frequencies
  508. Replace the middle element of matrix with sum of surrounding elements
  509. Length of longest consecutive ones by at most one swap in a Binary String
  510. Check If every group of a's is followed by a group of b's of same length
  511. Rearrange all elements of array which are multiples of x in decreasing order
  512. Sum of Bitwise-OR of all subarrays of a given Array | Set 2
  513. Sum of first N natural numbers which are divisible by X or Y
  514. Floor of every element in same array
  515. Smallest Pair Sum in an array
  516. Number of Paths of Weight W in a K-ary tree
  517. Check if a number is Triperfect Number
  518. Largest right circular cylinder within a frustum
  519. Largest right circular cylinder within a cube
  520. Larger of a^b or b^a (a raised to power b or b raised to power a)
  521. Minimum and Maximum number of pairs in m teams of n people
  522. Maximize the difference between two subsets of a set with negatives
  523. Find the only different element in an array
  524. Reverse middle words of a string
  525. Move all Uppercase char to the end of string
  526. Puzzle | 1000 light bulbs switched on/off by 1000 persons passing by
  527. Minimum moves required to change position with the given operation
  528. Interchange elements of first and last columns in matrix
  529. Reduce the array to a single element with the given operation
  530. Maximum sum of all elements of array after performing given operations
  531. Check if the given decimal number has 0 and 1 digits only
  532. Sum of elements in an array with frequencies greater than or equal to that element
  533. Largest Divisor of a Number not divisible by a perfect square
  534. Count all sub-sequences having product <= K - Recursive approach
  535. Sum of the multiples of two numbers below N
  536. Sort the array in a given index range
  537. Check if the sum of perfect squares in an array is divisible by x
  538. Permutations of string such that no two vowels are adjacent
  539. Color N boxes using M colors such that K boxes have different color from the box on its left
  540. Concatenate suffixes of a String
  541. Minimum absolute difference of a number and its closest prime
  542. Remove all continuous occurrences of 'a' and all occurrences of 'b'
  543. Count characters in a string whose ASCII values are prime
  544. Largest palindromic number in an array
  545. Minimum removals in a number to be divisible by 10 power raised to K
  546. Split a number into 3 parts such that none of the parts is divisible by 3
  547. Minimum Distance Between Words of a String
  548. Binary Search a String
  549. Sum of integers upto N with given unit digit
  550. Count numbers upto N which are both perfect square and perfect cube
  551. Check if the sum of primes is divisible by any prime from the array
  552. Average of remaining elements after removing K largest and K smallest elements from array
  553. Find numbers a and b that satisfy the given conditions
  554. Count the number of special permutations
  555. Count sub-sets that satisfy the given condition
  556. Integers from the range that are composed of a single distinct digit
  557. Sub-strings of a string that are prefix of the same string
  558. Sum of integers upto N with given unit digit (Set 2)
  559. Count numbers < = N whose difference with the count of primes upto them is > = K
  560. Leftmost and rightmost indices of the maximum and the minimum element of an array
  561. Program to generate all possible valid IP addresses from given string | Set 2
  562. Lower Insertion Point
  563. Minimum number of consecutive sequences that can be formed in an array
  564. Sum of element whose prime factors are present in array
  565. Minimum value that divides one number and divisible by other
  566. Largest palindromic prime in an array
  567. Sum of elements from an array having even parity
  568. Smallest subarray containing minimum and maximum values
  569. Check if moves in a stack or queue are possible or not
  570. Minimum steps to reach any of the boundary edges of a matrix | Set 1
  571. Side of a regular n-sided polygon circumscribed in a circle
  572. Number of pairs whose sum is a power of 2
  573. Check if the sum of distinct digits of two integers are equal
  574. Ways to fill N positions using M colors such that there are exactly K pairs of adjacent different colors
  575. Maximum GCD of N integers with given product
  576. Find minimum x such that (x % k) * (x / k) == n
  577. Generate elements of the array following given conditions
  578. Minimum K such that every substring of length atleast K contains a character c
  579. Find minimum x such that (x % k) * (x / k) == n | Set-2
  580. Minimum number of operations required to sum to binary string S
  581. Sum of kth powers of first n natural numbers
  582. Find elements of array using XOR of consecutive elements
  583. Find an integer X which is divisor of all except exactly one element in an array
  584. Program to multiply two Matrix by taking data from user
  585. Program to check the number is Palindrome or not
  586. Split a string in equal parts such that all parts are palindromes
  587. Find the maximum possible value of the minimum value of modified array
  588. Sub-strings that start and end with one character and have at least one other
  589. Area of Reuleaux Triangle
  590. Diagonal of a Regular Pentagon
  591. Diagonal of a Regular Hexagon
  592. Number of array elements derivable from D after performing certain operations
  593. Maximum number of removals of given subsequence from a string
  594. Biggest Reuleaux Triangle within A Square
  595. Count pairs in an array that hold i+j= arr[i]+arr[j]
  596. Largest hexagon that can be inscribed within a square
  597. Reach the numbers by making jumps of two given lengths
  598. Largest hexagon that can be inscribed within an equilateral triangle
  599. Minimize the maximum minimum difference after one removal from array
  600. Program for converting hours into minutes and seconds
  601. Distinct palindromic sub-strings of the given string using Dynamic Programming
  602. Count of Numbers in a Range divisible by m and having digit d in even positions
  603. A Sum Array Puzzle
  604. Count Subarrays with Consecutive elements differing by 1
  605. Buy minimum items without change and given coins
  606. Check if all elements of the array are palindrome or not
  607. Count numbers in a range that are divisible by all array elements
  608. Count common prime factors of two numbers
  609. Recursive program to insert a star between pair of identical characters
  610. Product of N with its largest odd digit
  611. Cost to make a string Panagram
  612. Remove consecutive alphabets which are in same case
  613. Diagonal of a Regular Heptagon
  614. Diagonal of a Regular Decagon
  615. Convert a String into a square matrix grid of characters
  616. Count number of step required to reduce N to 1 by following certain rule
  617. Check if N is a Factorial Prime
  618. Find the number in a range having maximum product of the digits
  619. Area of a n-sided regular polygon with given side length
  620. Area of a n-sided regular polygon with given Radius
  621. Recursive Program for Binary to Decimal
  622. Generate number with given operation and check if it is palindrome
  623. Print numbers in matrix diagonal pattern
  624. Find the sums for which an array can be divided into sub-arrays of equal sum
  625. Minimum Numbers of cells that are connected with the smallest path between 3 given cells
  626. Check if a number is perfect square without finding square root
  627. Remove exactly one element from the array such that max - min is minimum
  628. Choose n elements such that their mean is maximum
  629. Occurrences of a pattern in binary representation of a number
  630. Count distinct substrings that contain some characters at most k times
  631. Check whether a + b = c or not after removing all zeroes from a,b and c
  632. Represent n as the sum of exactly k powers of two | Set 2
  633. Apothem of a n-sided regular polygon
  634. Print all subsequences of a string using ArrayList
  635. Generate all rotations of a number
  636. Count number of pairs (i, j) such that arr[i] * arr[j] > arr[i] + arr[j]
  637. Replace all occurrences of a string with space
  638. Find probability that a player wins when probabilities of hitting the target are given
  639. Find the n-th binary string in sorted order
  640. Minimum absolute difference between N and a power of 2
  641. Minimum prime number operations to convert A to B
  642. Maximum value of arr[i] % arr[j] for a given array
  643. Check whether a number is Non-hypotenuse number
  644. Find the repeating and the missing number using two equations
  645. Replace the maximum element in the array by coefficient of range
  646. Check if a word exists in a grid or not
  647. Generate permutation of 1 to N such that absolute difference of consecutive numbers give K distinct integers
  648. Count rows in a matrix that consist of same element
  649. Probability that a N digit number is palindrome
  650. Number of subarrays have bitwise OR >= K
  651. Check if all the elements can be made of same parity by inverting adjacent elements
  652. Smallest multiple of 3 which consists of three given non-zero digits
  653. Largest number less than X having at most K set bits
  654. Minimum number of sets with numbers less than Y
  655. Check if it is possible to draw a straight line with the given direction cosines
  656. Minimum number N such that total set bits of all numbers from 1 to N is at-least X
  657. Find cost price from given selling price and profit or loss percentage
  658. Count of matrices (of different orders) with given number of elements
  659. Minimum elements to be added so that two matrices can be multiplied
  660. Minimum steps required to convert X to Y where a binary matrix represents the possible conversions
  661. Distribute N candies among K people
  662. Program to find nth term of the series 1 4 15 24 45 60 92
  663. Print all integers that are sum of powers of two given numbers
  664. Possible cuts of a number such that maximum parts are divisible by 3
  665. Program to delete Nth digit of a Number
  666. First and Last Three Bits
  667. K length words that can be formed from given characters without repetition
  668. Program to print Step Pattern
  669. Smallest perfect square divisible by all elements of an array
  670. Length of the longest substring with consecutive characters
  671. Largest sub-set possible for an array satisfying the given condition
  672. Smallest perfect Cube divisible by all elements of an array
  673. Weighted sum of the characters of a string in an array | Set 2
  674. Count the number of holes in an integer
  675. Recursive program to print all numbers less than N which consist of digits 1 or 3 only
  676. Cost to make a string Panagram | Set 2
  677. Convert given string so that it holds only distinct characters
  678. Find probability of selecting element from kth column after N iterations
  679. Program to check if two strings are same or not
  680. Check if a number can be expressed as sum two abundant numbers
  681. Sum of P terms of an AP if Mth and Nth terms are given
  682. Ternary Search
  683. Find nth term of the series 5 2 13 41
  684. Program to find sum of harmonic series
  685. Count number of set bits in a range using bitset
  686. Print n 0s and m 1s such that no two 0s and no three 1s are together
  687. Print all Proth primes up to N
  688. Find Pth term of a GP if Mth and Nth terms are given
  689. Count of strings that become equal to one of the two strings after one removal
  690. Largest subset where absolute difference of any two element is a power of 2
  691. Print all safe primes below N
  692. Check if it is possible to get back to 12'0 clock only by adding or subtracting given seconds
  693. Difference between Sum of Cubes and Sum of First N Natural Numbers
  694. Minimum cost of choosing 3 increasing elements in an array of size N
  695. Count pairs in an array such that at least one element is prime
  696. Check whether two straight lines are orthogonal or not
  697. Program for Area Of Square after N-th fold
  698. Minimize the number of replacements to get a string with same number of 'a', 'b' and 'c' in it
  699. Rearrange Odd and Even values in Alternate Fashion in Ascending Order
  700. Count of Numbers such that difference between the number and sum of its digits not less than L
  701. Count number of sub-sequences with GCD 1
  702. Print prime numbers with prime sum of digits in an array
  703. Check if a string can be repeated to make another string
  704. Largest number less than or equal to N/2 which is coprime to N
  705. Find the area of largest circle inscribed in ellipse
  706. Print multiples of Unit Digit of Given Number
  707. Check if the binary representation of a number has equal number of 0s and 1s in blocks
  708. Check whether the given character is in upper case, lower case or non alphabetic character
  709. Sort even and odd placed elements in increasing order
  710. Rectangle with minimum possible difference between the length and the width
  711. Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle
  712. Count of values of x <= n for which (n XOR x) = (n - x)
  713. Count the numbers that can be reduced to zero or less in a game
  714. Print all multiplicative primes <= N
  715. Program to check if a number is divisible by any of its digits
  716. Find the resulting Colour Combination
  717. Generate lexicographically smallest string of 0, 1 and 2 with adjacent swaps allowed
  718. Find the final X and Y when they are Altering under given condition
  719. Remove first X rows and columns from a matrix
  720. Find array using different XORs of elements in groups of size 4
  721. Count the number of survivors
  722. Program to implement Linear Extrapolation
  723. Remove characters from a numeric string such that string becomes divisible by 8
  724. Remove any corner X rows and columns from a matrix
  725. Biggest Reuleaux Triangle inscribed within a square which is inscribed within an ellipse
  726. Largest right circular cone that can be inscribed within a sphere which is inscribed within a cube
  727. Biggest Reuleaux Triangle inscribed within a square which is inscribed within a hexagon
  728. Minimum operations of given type to make all elements of a matrix equal
  729. Count of sub-strings that are divisible by K
  730. Program to check if a number is divisible by sum of its digits
  731. Composite XOR and Coprime AND
  732. Maximum given sized rectangles that can be cut out of a sheet of paper
  733. Midpoint ellipse drawing algorithm
  734. Check if a binary string has two consecutive occurrences of one everywhere
  735. Generate a random permutation of 1 to N
  736. Check if possible to shuffle a matrix with adjacent movements
  737. Make all elements of an array equal with the given operation
  738. Check if a number can be represented as a sum of 2 triangular numbers
  739. Minimum operations of the given type required to make a complete graph
  740. Count of pairs of (i, j) such that ((n % i) % j) % n is maximized
  741. Count number of trailing zeros in (1^1)*(2^2)*(3^3)*(4^4)*..
  742. Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
  743. Check whether XOR of all numbers in a given range is even or odd
  744. Minimum positive integer divisible by C and is not in range [A, B]
  745. Number of unique pairs in an array
  746. Count all Prime Length Palindromic Substrings
  747. Array element with minimum sum of absolute differences
  748. Maximum GCD from Given Product of Unknowns
  749. Count operations of the given type required to reduce N to 0
  750. Check if a + b = c is valid after removing all zeroes from a, b and c
  751. Decrypt a string encrypted by repeating i-th character i times
  752. Arrange first N natural numbers such that absolute difference between all adjacent elements > 1
  753. Increasing sequence with given GCD
  754. Minimum replacements to make adjacent characters unequal in a ternary string
  755. Filling diagonal to make the sum of every row, column and diagonal equal of 3x3 matrix
  756. Program to find LCM of two Fibonnaci Numbers
  757. Maximum subarray sum in array formed by repeating the given array k times
  758. Closest sum partition (into two subsets) of numbers from 1 to n
  759. Find two numbers whose divisors are given in a random order
  760. Number of Simple Graph with N Vertices and M Edges
  761. Smallest integer greater than n such that it consists of digit m exactly k times
  762. Minimum operations required to make all the array elements equal
  763. Check if a binary string contains consecutive same or not
  764. Cost of painting n * m grid
  765. Count Odd and Even numbers in a range from L to R
  766. Generate minimum sum sequence of integers with even elements greater
  767. Find the lexicographically largest palindromic Subsequence of a String
  768. Validation of Equation Given as String
  769. Count of sub-sets of size n with total element sum divisible by 3
  770. Count occurrences of a string that can be constructed from another given string
  771. Split the array into equal sum parts according to given conditions
  772. Form lexicographically smallest string with minimum replacements having equal number of 0s, 1s and 2s
  773. Modify the string by swapping continuous vowels or consonants
  774. Ways to divide a binary array into sub-arrays such that each sub-array contains exactly one 1
  775. Program to Assign grades to a student using Nested If Else
  776. Count of alphabets whose ASCII values can be formed with the digits of N
  777. Make palindromic string non-palindromic by rearranging its letters
  778. Minimum spanning tree cost of given Graphs
  779. Find the winner by adding Pairwise difference of elements in the array until Possible
  780. Maximum number of teams that can be formed with given persons
  781. Maximum count of sub-strings of length K consisting of same characters
  782. Minimum operations required to modify the array such that parity of adjacent elements is different
  783. Maximize the subarray sum after multiplying all elements of any subarray with X
  784. Maximize the value of x + y + z such that ax + by + cz = n
  785. Maximum money that can be withdrawn in two steps
  786. Number of sub-strings that contain the given character exactly k times
  787. Find integers that divides maximum number of elements of the array
  788. Find M-th number whose repeated sum of digits of a number is N
  789. Total position where king can reach on a chessboard in exactly M moves
  790. Maximum size of sub-array that satisfies the given condition
  791. Find minimum difference between any two elements | Set 2
  792. Maximum sum after repeatedly dividing N by a divisor
  793. Minimum steps to make the product of the array equal to 1
  794. Find the cordinates of the fourth vertex of a rectangle with given 3 vertices
  795. Minimum number of operations to move all uppercase characters before all lower case characters
  796. Count triplet pairs (A, B, C) of points in 2-D space that satisfy the given condition
  797. Find the integers that doesnot ends with T1 or T2 when squared and added X
  798. Minimum value to be added to X such that it is at least Y percent of N
  799. Choose points from two ranges such that no point lies in both the ranges
  800. Number of ways to choose an integer such that there are exactly K elements greater than it in the given array
  801. Find maximum operations to reduce N to 1
  802. Find frequency of smallest value in an array
  803. Find Intersection of all Intervals
  804. Count of unique pairs (arr[i], arr[j]) such that i < j
  805. Minimum number of operations on an array to make all elements 0
  806. Count the number of rhombi possible inside a rectangle of given size
  807. Acronym words
  808. Maximize the sum of products of the degrees between any two vertices of the tree
  809. Maximum number of segments that can contain the given points
  810. Maximum length subsequence such that adjacent elements in the subsequence have a common factor
  811. Find sub-matrix with the given sum
  812. Modify a binary array to Bitwise AND of all elements as 1
  813. Count all possible N digit numbers that satisfy the given condition
  814. Minimum elements to be removed such that sum of adjacent elements is always odd
  815. Count possible moves in the given direction in a grid
  816. Minimum number of given operations required to convert a string to another string
  817. Program for power of a complex number in O(log n)
  818. Total number of days taken to complete the task if after certain days one person leaves
  819. Composite numbers with digit sum 1
  820. Generate a string consisting of characters 'a' and 'b' that satisfy the given conditions
  821. Length of the longest alternating subarray
  822. Check if a string can be converted to another string by replacing vowels and consonants
  823. Minimum replacements to make adjacent characters unequal in a ternary string | Set-2
  824. Numbers less than N that are perfect cubes and the sum of their digits reduced to a single digit is 1
  825. Minimize the sum of squares of sum of N/2 paired formed by N numbers
  826. Check whether the point (x, y) lies on a given line
  827. Count of pairs (x, y) in an array such that x < y
  828. Maximize the maximum among minimum of K consecutive sub-arrays
  829. Sum of XOR of all subarrays
  830. Sum of bitwise AND of all subarrays
  831. Merge K sorted arrays | Set 3 ( Using Divide and Conquer Approach )
  832. Find index i such that prefix of S1 and suffix of S2 till i form a palindrome when concatenated
  833. Find a positive number M such that gcd(N^M, N&M) is maximum
  834. Minimum index i such that all the elements from index i to given index are equal
  835. Find the longest Fibonacci-like subarray of the given array
  836. Find a permutation of 2N numbers such that the result of given expression is exactly 2K
  837. Queries for number of distinct integers in Suffix
  838. Given two binary strings perform operation until B > 0 and print the result
  839. Count primes that can be expressed as sum of two consecutive primes and 1
  840. Iterating over all possible combinations in an Array using Bits
  841. Check whether two strings are equivalent or not according to given condition
  842. Longest subsequence having greater corner values
  843. Smallest Special Prime which is greater than or equal to a given number
  844. Ways to form an array having integers in given range such that total sum is divisible by 2
  845. Minimum number of elements that should be removed to make the array good
  846. Select numbers in such way to maximize the amount of money
  847. Minimum removals to make array sum odd
  848. Check whether the number can be made perfect square after adding 1
  849. Number of Hamiltonian cycle
  850. Split the array into odd number of segments of odd lengths
  851. Maximum Bitwise AND pair from given range
  852. Sum of all Submatrices of a Given Matrix
  853. Find whether only two parallel lines contain all coordinates points or not
  854. Longest sub-sequence of array containing Lucas numbers
  855. XOR of a submatrix queries
  856. Find the minimum number of preprocess moves required to make two strings equal
  857. Minimum LCM and GCD possible among all possible sub-arrays
  858. Find the Nth term of the series where each term f[i] = f[i - 1] - f[i - 2]
  859. Maximum product from array such that frequency sum of all repeating elements in product is less than or equal to 2 * k
  860. Sort the numbers according to their sum of digits
  861. Minimum possible sum of array elements after performing the given operation
  862. XOR of XORs of all sub-matrices
  863. Schedule elevator to reduce the total time taken
  864. Maximum length subarray with difference between adjacent elements as either 0 or 1
  865. Find Nth positive number whose digital root is X
  866. Number of subarrays such that XOR of one half is equal to the other
  867. Bitwise AND of N binary strings
  868. Maximum length of the sub-array whose first and last elements are same
  869. Longest Sub-array with maximum average value
  870. k-th missing element in an unsorted array
  871. Maximum occurrence of prefix in the Array
  872. Count pairs (p, q) such that p occurs in array at least q times and q occurs at least p times
  873. Number of connected components in a 2-D matrix of strings
  874. Sum of even values and update queries on an array
  875. Longest subsequence such that adjacent elements have at least one common digit
  876. Minimum changes required to make a Catalan Sequence
  877. Count all elements in the array which appears at least K times after their first occurrence
  878. Numbers in a Range with given Digital Root
  879. Count of all even numbers in the range [L, R] whose sum of digits is divisible by 3
  880. Check if frequency of characters are in Recaman Series
  881. Replace every consonant sequence with its length in the given string
  882. Equation of circle when three points on the circle are given
  883. Count Hexadecimal Number
  884. Check if product of digits of a number at even and odd places is equal
  885. Character pairs from two strings with even sum
  886. Given number of matches played, find number of teams in tournament
  887. Minimize sum of adjacent difference with removal of one element from array
  888. Missing even and odd elements from the given arrays
  889. Maximum subarray sum by flipping signs of at most K array elements
  890. Group consecutive characters of same type in a string
  891. Probability of A winning the match when individual probabilities of hitting the target given
  892. Number of quadruples where the first three terms are in AP and last three terms are in GP
  893. Deletions of "01" or "10" in binary string to make it free from "01" or "10"
  894. Minimum length substring with exactly K distinct characters
  895. Find the first maximum length even word from a string
  896. Minimum number of letters needed to make a total of n
  897. Smallest integer > 1 which divides every element of the given array
  898. Print the balanced bracket expression using given brackets
  899. Series summation if T(n) is given and n is very large
  900. Maximize profit when divisibility by two numbers have associated profits
  901. Encrypt a string by repeating i-th character i times
  902. Maximum number that can be display on Seven Segment Display using N segments
  903. Number of ways to remove elements to maximize arithmetic mean
  904. Maximum average of a subarray of size of atleast X and atmost Y
  905. Sum of i * countDigits(i)^2 for all i in range [L, R]
  906. Program to calculate the value of nPr
  907. Find the modified array after performing k operations of given type
  908. Check if the given array is mirror-inverse
  909. Maximize the number of sum pairs which are divisible by K
  910. Find d to maximize the number of zeros in array c[] created as c[i] = d*a[i] + b[i]
  911. Sum of elements in an array whose difference with the mean of another array is less than k
  912. Remove first adjacent pairs of similar characters until possible
  913. Program to Encrypt a String using ! and @
  914. Number of pairs from the first N natural numbers whose sum is divisible by K
  915. Generate all the binary strings of N bits
  916. Position of the K-th set bit in a number
  917. Maximum count of pairs which generate the same sum
  918. Count integers in a range which are divisible by their euler totient value
  919. Number of ways to make binary string of length N such that 0s always occur together in groups of size K
  920. Count sub-arrays whose product is divisible by k
  921. Find foot of perpendicular from a point in 2 D plane to a Line
  922. Minimum steps to delete a string by deleting substring comprising of same characters
  923. Print a number as string of 'A' and 'B' in lexicographic order
  924. Maximum sum from three arrays such that picking elements consecutively from same is not allowed
  925. Count of buttons pressed in a keypad mobile
  926. Find a distinct pair (x, y) in given range such that x divides y
  927. Largest number N which can be reduced to 0 in K steps
  928. Sort elements of the array that occurs in between multiples of K
  929. Find the value of XXXX.....(N times) % M where N is large
  930. Find the smallest number X such that X! contains at least Y trailing zeros.
  931. Find 2^(2^A) % B
  932. Smallest index in the given array that satisfies the given condition
  933. Print the longest prefix of the given string which is also the suffix of the same string
  934. Minimum cost to reach end of array array when a maximum jump of K index is allowed
  935. Minimize the cost to split a number
  936. Maximum number of continuous Automorphic numbers
  937. Compute maximum of the function efficiently over all sub-arrays
  938. Find the maximum number of composite summands of a number
  939. Given count of digits 1, 2, 3, 4, find the maximum sum possible
  940. Determine the number of squares of unit area that a given line will pass through.
  941. Check if product of array containing prime numbers is a perfect square
  942. Count common characters in two strings
  943. Minimum value to add to arr[i] so that an array can be split at index i with equal sum
  944. Uniform Binary Search
  945. Sum of degrees of all nodes of a undirected graph
  946. Number of ways to go from one point to another in a grid
  947. Print last character of each word in a string
  948. Distinct pairs from given arrays (a[i], b[j]) such that (a[i] + b[j]) is a Fibonacci number
  949. Maximum number of candies that can be bought
  950. Total distinct pairs from two arrays such that second number can be obtained by inverting bits of first
  951. Pairs of strings which on concatenating contains each character of "string"
  952. Maximum sum possible for a sub-sequence such that no two elements appear at a distance < K in the array
  953. Total position where king can reach on a chessboard in exactly M moves | Set 2
  954. Count number of ways to reach a given score in a Matrix
  955. Find the area of the shaded region formed by the intersection of four semicircles in a square
  956. Find the original matrix when largest element in a row and a column are given
  957. Find the number of different numbers in the array after applying the given operation q times
  958. Length of the longest substring that do not contain any palindrome
  959. XOR of all the elements in the given range [L, R]
  960. Arrange given numbers to form the smallest number
  961. Area of largest Circle inscribe in N-sided Regular polygon
  962. Maximum Subarray Sum after inverting at most two elements
  963. Find the number of integers from 1 to n which contains digits 0's and 1's only
  964. Find the number of jumps to reach X in the number line from zero
  965. Compare two strings considering only alphanumeric characters
  966. Element in a matrix starting from which anti-clockwise traversal ends at the last element
  967. Maximum element in a sorted and rotated array
  968. Count the number of operations required to reduce the given number
  969. Find the longest subsequence of an array having LCM at most K
  970. Sum of two numbers where one number is represented as array of digits
  971. Count number of binary strings of length N having only 0's and 1's
  972. Find original numbers from gcd() every pair
  973. Check if a given number divides the sum of the factorials of its digits
  974. 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]
  975. Maximum number of people that can be killed with strength P
  976. Sum of the series Kn + ( K(n-1) * (K-1)1 ) + ( K(n-2) * (K-1)2 ) + ....... (K-1)n
  977. Length of the smallest number which is divisible by K and formed by using 1's only
  978. Remove elements to make array sorted
  979. Find the number of binary strings of length N with at least 3 consecutive 1s
  980. Find the number of integers x in range (1,N) for which x and x+1 have same number of divisors
  981. Total number of triangles formed when there are H horizontal and V vertical lines
  982. Minimum number of given operations required to convert a permutation into an identity permutation
  983. Count distinct points visited on the number line
  984. Find the count of sub-strings whose characters can be rearranged to form the given word
  985. Count all prefixes of the given binary array which are divisible by x
  986. Reduce the fraction to its lowest form
  987. Length of the longest increasing subsequence such that no two adjacent elements are coprime
  988. Find n positive integers that satisfy the given equations
  989. Maximize the happiness of the groups on the Trip
  990. Delete odd and even numbers at alternate step such that sum of remaining elements is minimized
  991. Lazy Propagation in Segment Tree | Set 2
  992. Minimum sub-array such that number of 1's in concatenation of binary representation of its elements is at least K
  993. Shell-Metzner Sort
  994. Find the longest sub-string which is prefix, suffix and also present inside the string
  995. Find the minimum number of operations required to make all array elements equal
  996. Find missing element in a sorted array of consecutive numbers
  997. Minimum number of changes such that elements are first Negative and then Positive
  998. Length of the longest substring with no consecutive same letters
  999. Find the number of players who roll the dice when the dice output sequence is given
  1000. Predict the winner of the game on the basis of absolute difference of sum by selecting numbers
  1001. Divide a number into two parts
  1002. Program to calculate product of digits of a number
  1003. Print the first and last character of each word in a String
  1004. Divide array into increasing and decreasing subsequence without changing the order
  1005. Queries to answer the number of ones and zero to the left of given index
  1006. Program to find the maximum difference between the index of any two different numbers
  1007. Divide array into two parts with equal sum according to the given constraints
  1008. Remove the first and last character of each word in a string
  1009. Capitalize the first and last character of each word in a string
  1010. Check if two strings are same ignoring their cases
  1011. Find the sum of the number of divisors
  1012. Split the array elements into strictly increasing and decreasing sequence
  1013. Find the sum of digits of a number at even and odd places
  1014. Find the value at kth position in the generated array
  1015. 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
  1016. Largest ellipse that can be inscribed within a rectangle which in turn is inscribed within a semicircle
  1017. Find the lexicographically smallest string which satisfies the given condition
  1018. Find the number of sub arrays in the permutation of first N natural numbers such that their median is M
  1019. Find the number of divisors of all numbers in the range [1, n]
  1020. Queries to check if substring[L...R] is palindrome or not
  1021. Count pairs of non-overlapping palindromic sub-strings of the given string
  1022. Check if matrix A can be converted to B by changing parity of corner elements of any submatrix
  1023. Maximum sum of cocktail glass in a 2D matrix
  1024. Number of triangles possible with given lengths of sticks which are powers of 2
  1025. Count of elements whose absolute difference with the sum of all the other elements is greater than k
  1026. Minimum length of the sub-string whose characters can be used to form a palindrome of length K
  1027. Check whether N is a Dihedral Prime Number or not
  1028. Find minimum positive integer x such that a(x^2) + b(x) + c >= k
  1029. Length of the normal from origin on a straight line whose intercepts are given
  1030. Number of subsequences with zero sum
  1031. Count of sub-strings that do not consist of the given character
  1032. Find the maximum possible value of a[i] % a[j] over all pairs of i and j
  1033. Maximize the maximum subarray sum after removing atmost one element
  1034. Count the pairs of vowels in the given string
  1035. 3-digit Osiris number
  1036. Dudeney Numbers
  1037. Insertion and Deletion in Heaps
  1038. Building Heap from Array
  1039. Sum of elements in 1st array such that number of elements less than or equal to them in 2nd array is maximum
  1040. Calculate the loss incurred in selling the given items at discounted price
  1041. Given a string and an integer k, find the kth sub-string when all the sub-strings are sorted according to the given condition
  1042. Find the kth element in the series generated by the given N ranges
  1043. Check whether the given string is a valid identifier
  1044. Find the nth term of the given series
  1045. Count of sub-strings of length n possible from the given string
  1046. Maximum absolute difference in an array
  1047. Move all zeros to start and ones to end in an Array of random integers
  1048. Find out the minimum number of coins required to pay total amount
  1049. Longest substring of only 4's from the first N characters of the infinite string
  1050. Equation of straight line passing through a given point which bisects it into two equal line segments
  1051. Count different numbers possible using all the digits their frequency times
  1052. Find the minimum of maximum length of a jump required to reach the last island in exactly k jumps
  1053. Print all numbers whose set of prime factors is a subset of the set of the prime factors of X
  1054. Highest power of a number that divides other number
  1055. Count of sub-strings that contain character X at least once
  1056. Area of triangle formed by the axes of co-ordinates and a given straight line
  1057. Distance between two parallel lines
  1058. Check if given two straight lines are identical or not
  1059. Check if a directed graph is connected or not
  1060. Minimum cost to modify a string
  1061. Highest power of 2 that divides a number represented in binary
  1062. Minimum time required to transport all the boxes from source to the destination under the given constraints
  1063. Find sum of factorials in an array
  1064. Count of quadruplets with given Sum | Set 2
  1065. Find the Diameter or Longest chord of a Circle
  1066. Determine the position of the third person on regular N sided polygon
  1067. Length of the chord of the circle whose radius and the angle subtended at the center by the chord is given
  1068. Number of character corrections in the given strings to make them equal
  1069. Reorder the position of the words in alphabetical order
  1070. Given two arrays count all pairs whose sum is an odd number
  1071. Print steps to make a number in form of 2^X - 1
  1072. Length of the direct common tangent between two externally touching circles
  1073. Shortest distance from the centre of a circle to a chord
  1074. Radius of the circle when the width and height of an arc is given
  1075. Length of direct common tangent between the two non-intersecting Circles
  1076. Length of direct common tangent between two intersecting Circles
  1077. Shortest distance between a point and a circle
  1078. Count pairs with average present in the same array
  1079. Minimizing array sum by applying XOR operation on all elements of the array
  1080. Maximize the given number by replacing a segment of digits with the alternate digits given
  1081. Queries to answer the X-th smallest sub-string lexicographically
  1082. Count unique numbers that can be generated from N by adding one and removing trailing zeros
  1083. Find an index such that difference between product of elements before and after it is minimum
  1084. Find element with the maximum set bits in an array
  1085. Minimum number of cubes whose sum equals to given number N
  1086. Maximum non-attacking Knights that can be placed on an N*M Chessboard
  1087. Rat and Poisoned bottle Problem
  1088. Convert given integer X to the form 2^N - 1
  1089. 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
  1090. Calculate score for the given binary string
  1091. Number of positions such that adding K to the element is greater than sum of all other elements
  1092. Count number of 1s in the array after N moves
  1093. Largest even number that can be formed by any number of swaps
  1094. Check if given Preorder, Inorder and Postorder traversals are of same tree | Set 2
  1095. Area of plot remaining at the end
  1096. Find permutation of first N natural numbers that satisfies the given condition
  1097. Minimum increments to convert to an array of consecutive integers
  1098. Make lexicographically smallest palindrome by substituting missing characters
  1099. Minimum deletions required such that any number X will occur exactly X times
  1100. Bellman Ford Algorithm (Simple Implementation)
  1101. Compare sum of first N-1 elements to Nth element of an array
  1102. Program to print an array in Pendulum Arrangement with constant space
  1103. Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles
  1104. Maximum number of edges in Bipartite graph
  1105. Minimum integer such that it leaves a remainder 1 on dividing with any element from the range [2, N]
  1106. Generate an Array in which count of even and odd sum sub-arrays are E and O respectively
  1107. Minimum number of given operations required to reduce the array to 0 element
  1108. Program to find the rate percentage from compound interest of consecutive years
  1109. Find prime number K in an array such that (A[i] % K) is maximum
  1110. Check if it is possible to make two martices strictly increasing by swapping corresponding values only
  1111. Count Pairs from two arrays with even sum
  1112. Count the number of primes in the prefix sum array of the given array
  1113. Rearrange the array to maximize the number of primes in prefix sum of the array
  1114. Check whether product of integers from a to b is positive , negative or zero
  1115. Maximum sum such that no two elements are adjacent | Set 2
  1116. Minimum sum obtained from groups of four elements from the given array
  1117. Ratio of the distance between the centers of the circles and the point of intersection of two transverse common tangents to the circles
  1118. Create a sequence whose XOR of elements is y
  1119. Count squares with odd side length in Chessboard
  1120. Check if the number is valid when flipped upside down
  1121. Minimum number of sub-strings of a string such that all are power of 5
  1122. Bitwise AND of sub-array closest to K
  1123. Find letter's position in Alphabet using Bit operation
  1124. Optimal Strategy for a Game | Set 2
  1125. Number of edges in mirror image of Complete binary tree
  1126. Find minimum steps required to reach the end of a matrix | Set 2
  1127. Sum of GCDs of each row of the given matrix
  1128. Minimum number of operations on a binary string such that it gives 10^A as remainder when divided by 10^B
  1129. Queries to find the maximum Xor value between X and the nodes of a given level of a perfect binary tree
  1130. Find the index which is the last to be reduced to zero after performing a given operation
  1131. Number of common tangents between two circles if their centers and radius is given
  1132. Check if a circle lies inside another circle or not
  1133. Angle subtended by the chord when the angle subtended by another chord of same length is given
  1134. Queries for bitwise OR in the index range [L, R] of the given array
  1135. Queries for bitwise AND in the index range [L, R] of the given array
  1136. Find the time which is palindromic and comes after the given time
  1137. Find the last non repeating character in string
  1138. Find average of two numbers using bit operation
  1139. Find if nCr is divisible by the given prime
  1140. Queries for bitwise AND in the given matrix
  1141. Queries for bitwise OR in the given matrix
  1142. Generate all unique partitions of an integer | Set 2
  1143. Remove elements to make array satisfy arr[ i+1] < arr[i] for each valid i
  1144. Sort an alphanumeric string such that the positions of alphabets and numbers remain unchanged
  1145. Find the sum of numbers from 1 to n excluding those which are powers of K
  1146. Check if a string contains two non overlapping sub-strings "geek" and "keeg"
  1147. Check if the given matrix is increasing row and column wise
  1148. Check if the given Prufer sequence is valid or not
  1149. Print an N x M matrix such that each row and column has all the vowels in it
  1150. Check whether an array can be made strictly increasing by modifying atmost one element
  1151. Find the Jaccard Index and Jaccard Distance between the two given sets
  1152. Count of all possible values of X such that A % X = B
  1153. Queries to find the last non-repeating character in the sub-string of a given string
  1154. Minimize the sum after choosing elements from the given three arrays
  1155. Count the triplets such that A[i] < B[j] < C[k]
  1156. Factorial of an Array of integers
  1157. Find a triplet in an array whose sum is closest to a given number
  1158. Distance of chord from center when distance between center and another equal length chord is given
  1159. Subset with sum closest to zero
  1160. Number of subsets with zero sum
  1161. Check if each element of the given array is the product of exactly K prime numbers
  1162. Find maximum topics to prepare in order to pass the exam
  1163. Number of ways to divide an array into K equal sum sub-arrays
  1164. Check whether we can sort two arrays by swapping A[i] and B[i]
  1165. Angle subtended by the chord to center of the circle when the angle subtended by the another equal chord of a congruent circle is given
  1166. Print the node with the maximum degree in the prufer sequence
  1167. Print elements of an array according to the order defined by another array | set 2
  1168. Queries for the difference between the count of composite and prime numbers in a given range
  1169. Maximise matrix sum by following the given Path
  1170. Check whether a subsequence exists with sum equal to k if arr[i]> 2*arr[i-1]
  1171. Find the largest possible k-multiple set
  1172. Find the number of Chicks in a Zoo at Nth day
  1173. Find maximum path sum in a 2D matrix when exactly two left moves are allowed
  1174. Check if the two given stacks are same
  1175. Find the smallest positive number missing from an unsorted array : Hashing Implementation
  1176. Find the sum of the ascii values of characters which are present at prime positions
  1177. Count of three non-overlapping sub-strings which on concatenation forms a palindrome
  1178. Maximise array sum after taking non-overlapping sub-arrays of length K
  1179. Sum of XOR of all sub-arrays of length K
  1180. Count the maximum number of elements that can be selected from the array
  1181. Length of the largest substring which have character with frequency greater than or equal to half of the substring
  1182. Sum of all palindrome numbers present in an Array
  1183. Find uncommon characters of the two strings | Set 2
  1184. Minimum count of elements that sums to a given number
  1185. Maximum sum of non-overlapping subarrays of length atmost K
  1186. Queries to check whether all the elements can be made positive by flipping signs exactly K times
  1187. Count pairs of characters in a string whose ASCII value difference is K
  1188. Find a way to fill matrix with 1's and 0's in blank positions
  1189. 0-1 knapsack queries
  1190. Count number of distinct substrings of a given length
  1191. Find row with maximum and minimum number of zeroes in given Matrix
  1192. Number of 0s and 1s at prime positions in the given array
  1193. Maximum water that can be stored between two buildings
  1194. Count pairs of elements such that number of set bits in their AND is B[i]
  1195. Number of ways to split a binary number such that every part is divisible by 2
  1196. Count of adjacent Vowel Consonant Pairs
  1197. Split the given array into K sub-arrays such that maximum sum of all sub arrays is minimum
  1198. Maximum subset sum such that no two elements in set have same digit in them
  1199. Longest prefix in a string with highest frequency
  1200. Number of ways to choose elements from the array such that their average is K
  1201. Length of longest sub-array with maximum arithmetic mean.
  1202. Queries to find the first non-repeating character in the sub-string of a string
  1203. Find the element in the matrix generated by given rules
  1204. Sum of all mersenne numbers present in an array
  1205. Longest sub-sequence that satisfies the given conditions
  1206. Maximum sub-sequence sum such that indices of any two adjacent elements differs at least by 3
  1207. Largest sub-string where all the characters appear at least K times
  1208. Print all the super diagonal elements of the given square matrix
  1209. Find the total number of composite factor for a given number
  1210. Count of substrings which contains a given character K times
  1211. Count Distinct Rectangles in N*N Chessboard
  1212. Number of sub-sequence such that it has one consecutive element with difference less than or equal to 1
  1213. Total number of odd length palindrome sub-sequence around each centre
  1214. Print Lower Hessenberg matrix of order N
  1215. Print Upper Hessenberg matrix of order N
  1216. Count common elements in two arrays containing multiples of N and M
  1217. Number of ways to get a given sum with n number of m-faced dices
  1218. Order of indices which is lexicographically smallest and sum of elements is <= X
  1219. Count pairs of elements such that number of set bits in their OR is B[i]
  1220. Sort the character array based on ASCII % N
  1221. Reverse the Sentence using Stack
  1222. Design a stack which can give maximum frequency element
  1223. Count number of common elements between two arrays by using Bitset and Bitwise operation
  1224. Find the maximum number of elements divisible by 3
  1225. Find maximum value of the last element after reducing the array with given operations
  1226. Seating arrangement of N boys sitting around a round table such that two particular boys sit together
  1227. Kth smallest element in the array using constant space when array can't be modified
  1228. Minimum deletions required to make GCD of the array equal to 1
  1229. Print first N terms of Lower Wythoff sequence
  1230. Check whether it is possible to convert A into B
  1231. Check whether str1 can be converted to str2 with the given operations
  1232. Number of elements from the array which are reachable after performing given operations on D
  1233. Maximum previous and next element product
  1234. Find the minimum number of elements that should be removed to make an array good
  1235. Find XOR of numbers from the range [L, R]
  1236. Reverse individual words with O(1) extra space
  1237. Count of numbers whose 0th and Nth bits are set
  1238. Find a number containing N - 1 set bits at even positions from the right
  1239. Find two vertices of an isosceles triangle in which there is rectangle with opposite corners (0, 0) and (X, Y)
  1240. Sentence Case of a given Camel cased string
  1241. Minimum number of adjacent swaps to convert a string into its given anagram
  1242. Number of triplets such that each value is less than N and each pair sum is a multiple of K
  1243. Probability of getting more heads than tails when N biased coins are tossed
  1244. Rearrange the given string such that all prime multiple indexes have same character
  1245. Smallest perfect cube in an array
  1246. Cartesian tree from inorder traversal | Segment Tree
  1247. Maximum element in an array such that its previous and next element product is maximum
  1248. Count substrings that contain all vowels | SET 2
  1249. Number of ways of distributing N identical objects in R distinct groups
  1250. Number of ways of distributing N identical objects in R distinct groups with no groups empty
  1251. Total ways of choosing X men and Y women from a total of M men and W women
  1252. Find the number of paths of length K in a directed graph
  1253. Partition the string in two parts such that both parts have at least k different characters
  1254. Find the position of the given row in a 2-D array
  1255. Maximum number formed from array with K number of adjacent swaps allowed
  1256. Unbounded Fractional Knapsack
  1257. Minimum number of steps to convert a given matrix into Diagonally Dominant Matrix
  1258. Longest sub-array with equal number of alphabets and numeric characters
  1259. Find distinct characters in distinct substrings of a string
  1260. Count of non-overlapping sub-strings "101" and "010" in the given binary string
  1261. Remove an element to maximize the GCD of the given array
  1262. Count of pairs between two arrays such that the sums are distinct
  1263. Number of Quadruples with GCD equal to K
  1264. Longest Subarray having strictly positive XOR
  1265. Decimal to Binary using recursion and without using power operator
  1266. Minimum and maximum possible length of the third side of a triangle
  1267. Find the volume of rectangular right wedge
  1268. Cost Based Tower of Hanoi
  1269. Count total set bits in all numbers from 1 to n | Set 2
  1270. Check if a string can be obtained by rotating another string d places
  1271. Maximum length palindromic substring such that it starts and ends with given char
  1272. Case-specific sorting of Strings in O(n) time and O(1) space
  1273. Longest subsequence such that every element in the subsequence is formed by multiplying previous element with a prime
  1274. Probability of distributing M items among X bags such that first bag contains N items
  1275. Minimum Bitwise OR operations to make any two array elements equal
  1276. Count pairs in an array such that the absolute difference between them is ≥ K
  1277. Minimum Bitwise XOR operations to make any two array elements equal
  1278. Minimum operations required to convert X to Y by multiplying X with the given co-primes
  1279. Partition the array in K segments such that bitwise AND of individual segment sum is maximized
  1280. Count ways to divide circle using N non-intersecting chord | Set-2
  1281. Count equal pairs from given string arrays
  1282. Check if a number is Fermat Pseudoprime
  1283. Maximum length sub-array which satisfies the given conditions
  1284. Find array such that no subarray has xor zero or Y
  1285. Find the difference of count of equal elements on the right and the left for each element
  1286. Find smallest positive number Y such that Bitwise AND of X and Y is Zero
  1287. Merge K sorted Doubly Linked List in Sorted Order
  1288. Calculate the IST : Indian Standard Time
  1289. Print the season name of the year based on the month number
  1290. Sum of all natural numbers from L to R ( for large values of L and R )
  1291. Number of Subsequences with Even and Odd Sum | Set 2
  1292. Check if string can be rearranged so that every Odd length Substring is Palindrome
  1293. Find all numbers between range L to R such that sum of digit and sum of square of digit is prime
  1294. Minimum given operations required to convert a given binary string to all 1's
  1295. Reverse every word of the string except the first and the last character
  1296. First N terms whose sum of digits is a multiple of 10
  1297. Nth XOR Fibonacci number
  1298. Sand Timer Flip Counting Problem
  1299. Count of triplets that satisfy the given equation
  1300. Check if a number is Flavius Number
  1301. Swap Alternate Boundary Pairs
  1302. Check if expression contains redundant bracket or not | Set 2
  1303. Probability such that two subset contains same number of elements
  1304. Program to find the next prime number
  1305. Minimize the sum of the array according the given condition
  1306. Count the number of elements which are greater than any of element on right side of an array
  1307. Position of Elements which are equal to sum of all Preceding elements
  1308. Check if an array is increasing or decreasing
  1309. Queries for rotation and Kth character of the given string in constant time
  1310. Number of substrings that start with "geeks" and end with "for"
  1311. Maximum XOR of Two Numbers in an Array
  1312. Find Kth element in an array containing odd elements first and then even elements
  1313. Area of the largest square that can be formed from the given length sticks using Hashing
  1314. Generate N integers satisfying the given conditions
  1315. Find the first N integers such that the sum of their digits is equal to 10
  1316. Maximum subsequence sum such that all elements are K distance apart
  1317. Sum of last digit of all integers from 1 to N divisible by M
  1318. Comparing X^Y and Y^X for very large values of X and Y
  1319. Count the values greater than X in the modified array
  1320. Find a Square Matrix such that sum of elements in every row and column is K
  1321. Sum of absolute differences of pairs from the given array that satisfy the given condition
  1322. Find the minimum value from an array associated with another array
  1323. Lexicographically smallest string of length N and sum K
  1324. Find permutation with maximum remainder Sum
  1325. Count of distinct graphs that can be formed with N vertices
  1326. Reverse the given string in the range [L, R]
  1327. Find the Nth element of the modified Fibonacci series
  1328. Divide first N natural numbers into 3 equal sum subsets
  1329. Find two co-prime integers such that the first divides A and the second divides B
  1330. Maximum OR value of a pair in an array
  1331. Find number of candidates in the Exam
  1332. Queries for the smallest and the largest prime number of given digit
  1333. Program for Mobius Function | Set 2
  1334. Count of numbers below N whose sum of prime divisors is K
  1335. Find the count of subsequences where each element is divisible by K
  1336. Count number of substrings of a string consisting of same characters
  1337. Count occurrences of a prime number in the prime factorization of every element from the given range
  1338. Find the winner of the game
  1339. Maximum items that can be bought with the given type of coins
  1340. Check whether bitwise AND of N numbers is Even or Odd
  1341. Make the list non-decreasing by changing only one digit of the elements
  1342. Check if the sum of digits of number is divisible by all of its digits
  1343. Repeated sum of first N natural numbers
  1344. Number of sub arrays with negative product
  1345. Find the XOR of first N Prime Numbers
  1346. Replace elements with absolute difference of smallest element on left and largest element on right
  1347. Count total set bits in all numbers from 1 to N | Set 3
  1348. Number of Subarrays with positive product
  1349. Count total unset bits in all the numbers from 1 to N
  1350. Summation of floor of harmonic progression
  1351. Find the sum of all possible pairs in an array of N elements
  1352. Find subarray with given sum with negatives allowed in constant space
  1353. Find out the prime numbers in the form of A+nB or B+nA
  1354. Find the character made by adding all the characters of the given string
  1355. Count of distinct remainders when N is divided by all the numbers from the range [1, N]
  1356. Contiguous unique substrings with the given length L
  1357. Count of subsets not containing adjacent elements
  1358. Sum of the digits of square of the given number which has only 1's as its digits
  1359. Check if a right-angled triangle can be formed by moving any one of the coordinates
  1360. XOR of elements in an array having prime frequency
  1361. Bitwise AND of the sum of prime numbers and the sum of composite numbers in an array
  1362. Number of triplets in array having subarray xor equal
  1363. Sum of squares of all Subsets of given Array
  1364. Array containing power of 2 whose XOR and Sum of elements equals X
  1365. Count of Multiples of A ,B or C less than or equal to N
  1366. Total ways of selecting a group of X men from N men with or without including a particular man
  1367. Find the number of strings formed using distinct characters of a given string
  1368. Minimum characters that are to be inserted such that no three consecutive characters are same
  1369. Find the maximum possible Binary Number from given string
  1370. Check if the Matrix satisfies the given conditions
  1371. Count all substrings having character K
  1372. Count of operations required to update the array such that it satisfies the given conditions
  1373. GCD of elements which occur prime number of times
  1374. Check if the number formed by the last digits of N numbers is divisible by 10 or not
  1375. Find all even length binary sequences with same sum of first and second half bits | Iterative
  1376. Find the permutation of first N natural numbers such that sum of i % Pi is maximum possible
  1377. Check if all elements of binary array can be made 1
  1378. Find numbers which are multiples of first array and factors of second array
  1379. Find the sum of prime numbers in the Kth array
  1380. Count number of binary strings such that there is no substring of length greater than or equal to 3 with all 1's
  1381. Reduce N to 1 with minimum number of given operations
  1382. Maximum count of common divisors of A and B such that all are co-primes to one another
  1383. Find the possible permutation of the bits of N
  1384. Minimum cost to convert str1 to str2 with the given operations
  1385. Value to be subtracted from array elements to make sum of all elements equals K
  1386. In how many ways the ball will come back to the first boy after N turns
  1387. Count of N-digit numbers in base K with no two consecutive zeroes
  1388. Color all boxes in line such that every M consecutive boxes are unique
  1389. Index of the elements which are equal to the sum of all succeeding elements
  1390. Check whether N is a Factorion or not
  1391. Count of elements which are not at the correct position
  1392. Bitwise XOR of elements having odd frequency
  1393. Count equal element pairs in the given array
  1394. Check duplicates in a stream of strings
  1395. Sentinel Linear Search
  1396. Modulo of a large Binary String
  1397. Count the pairs in an array such that the difference between them and their indices is equal
  1398. Choose X elements from A[] and Y elements from B[] which satisfy the given condition
  1399. Count number of Special Set
  1400. Maximum length sub-array which satisfies the given conditions
  1401. Count total number of even sum sequences
  1402. Print nodes having maximum and minimum degrees
  1403. Program to calculate area of a rhombus whose one side and diagonal are given
  1404. Program to print the Ladder Pattern
  1405. Check if two given Circles are Orthogonal or not
  1406. QuickSelect (A Simple Iterative Implementation)
  1407. Find the ratio of number of elements in two Arrays from their individual and combined average
  1408. Check whether two strings can be made equal by copying their characters with the adjacent ones
  1409. Maximize the Expression | Bit Manipulation
  1410. Minimum value to be assigned to the elements so that sum becomes greater than initial sum
  1411. Find Partition Line such that sum of values on left and right is equal
  1412. Minimum possible number with the given operation
  1413. Check if it is possible to move from (0, 0) to (X, Y) in exactly K steps
  1414. Significant Inversions in an Array
  1415. Maximum possible number with the given operation
  1416. Minimum absolute difference between N and any power of 2
  1417. Number of ways in which N can be represented as the sum of two positive integers
  1418. Permutations of n things taken all at a time with m things never come together
  1419. Sum of Digits of the Good Strings
  1420. Number of ways to erase exactly one element in the Binary Array to make XOR zero
  1421. Maximum distance between two 1's in Binary representation of N
  1422. Minimum steps required to reduce all the elements of the array to zero
  1423. Sum of values of all possible non-empty subsets of the given array
  1424. Minimum halls required for class scheduling
  1425. Printing the Triangle Pattern using last term N
  1426. Find the count of natural Hexadecimal numbers of size N
  1427. Find a pair (n,r) in an integer array such that value of nPr is maximum
  1428. Find a pair (n,r) in an integer array such that value of nCr is maximum
  1429. Maximize the expression (A AND X) * (B AND X) | Bit Manipulation
  1430. Minimum number of substrings the given string can be splitted into that satisfy the given conditions
  1431. Sum of numbers in a range [L, R] whose count of divisors is prime
  1432. Minimum length String with Sum of the alphabetical values of the characters equal to N
  1433. Minimum number of additons to make the string balanced
  1434. Maximum number of line intersections formed through intersection of N planes
  1435. Program to find Nth odd Fibonacci Number
  1436. Sum of all the numbers present at given level in Pascal's triangle
  1437. Product of values of all possible non-empty subsets of given Array
  1438. Sum of the count of number of adjacent squares in an M X N grid
  1439. Count of N-bit binary numbers without leading zeros
  1440. Skewed Binary Tree
  1441. Find the next fibonacci number
  1442. Queries to count integers in a range [L, R] such that their digit sum is prime and divisible by K
  1443. Find missing elements from an Array
  1444. Divide the array into minimum number of sub-arrays having unique elements
  1445. Number of words that can be made using exactly P consonants and Q vowels from the given string
  1446. Largest Even and Odd N-digit numbers in Octal Number System
  1447. Number of coloured 0's in an N-level hexagon
  1448. Represent the given number as the sum of two composite numbers
  1449. Maximum number of distinct positive integers that can be used to represent N
  1450. Extended Binary Tree
  1451. Queries to find the count of characters preceding the given location
  1452. Find the quadratic equation from the given roots
  1453. Kth number from the set of multiples of numbers A, B and C
  1454. Count of 0s in an N-level hexagon
  1455. Sort the numbers according to their product of digits
  1456. Number of ways N can be divided into four parts to construct a rectangle
  1457. Length of the longest subsegment which is UpDown after inserting atmost one integer
  1458. Count of N-digit numbers with all distinct digits
  1459. Find the deleted value from the array when average of original elements is given
  1460. Probability that a random pair chosen from an array (a[i], a[j]) has the maximum sum
  1461. Count of matchsticks required to represent the given number
  1462. Check whether the given integers a, b, c and d are in proportion
  1463. Number of K length subsequences with minimum sum
  1464. Number of ways to insert two pairs of parentheses into a string of N characters
  1465. Maximum number of times str1 appears as a non-overlapping substring in str2
  1466. Convert Decimal To Hexa-Decimal including negative numbers
  1467. Find X and Y intercepts of a line passing through the given points
  1468. Cake Distribution Problem
  1469. Choose two elements from the given array such that their sum is not present in any of the arrays
  1470. Number of subsets whose mean is maximum
  1471. Count number of rotated strings which have more number of vowels in the first half than second half
  1472. Number of edges in a perfect binary tree with N levels
  1473. Sum of all the numbers in the Nth parenthesis
  1474. Check if it is possible to make array increasing or decreasing by rotating the array
  1475. Maximum LCM among all pairs (i, j) of first N natural numbers
  1476. Find the Kth position element of the given sequence
  1477. Minimum numbers with one's place as 9 to be added to get N
  1478. Number of cells in the Nth order figure
  1479. Count of N-digit Palindrome numbers
  1480. Sum of all the numbers in the Nth row of the given triangle
  1481. Maximum height of the binary search tree created from the given array
  1482. Check if a given number is factorial of any number
  1483. Modify the string such that every character gets replaced with the next character in the keyboard
  1484. Make the array non-decreasing with the given operation
  1485. Count of pairs in an array such that the highest power of 2 that divides their product is 1
  1486. Find the number of positive integers less than or equal to N that have an odd number of digits
  1487. Number of index pairs such that s[i] and s[j] are anagrams
  1488. Increasing permutation of first N natural numbers
  1489. Find K such that |A - K| = |B - K|
  1490. Find Range Value of the Expression
  1491. Represent (2 / N) as the sum of three distinct positive integers of the form (1 / m)
  1492. Program to find the last digit of X in base Y
  1493. Coxeter method to construct the magic square
  1494. Minimize sum by dividing all elements of a subarray by K
  1495. Count of integers obtained by replacing ? in the given string that give remainder 5 when divided by 13
  1496. Find the minimum cost to cross the River
  1497. Find last two remaining elements after removing median of any 3 consecutive elements repeatedly
  1498. Maximum sum of minimums of pairs in an array
  1499. Program to clear K-th bit of a number N
  1500. Program to toggle K-th bit of a number N
  1501. Find the maximum element in the array other than Ai
  1502. Minimum possible value of (i * j) % 2019
  1503. Check whether the given floating point number is a palindrome
  1504. Find the player who will win the Coin game
  1505. Minimum number of moves to reach N starting from (1, 1)
  1506. Find the number of squares inside the given square grid
  1507. Maximum circular subarray sum of size K
  1508. Program to print first N Prime numbers
  1509. Longest sub-sequence with maximum GCD
  1510. Longest sub-sequence with non-negative sum
  1511. Find the smallest subarray having atleast one duplicate
  1512. Count of subsets with sum equal to X
  1513. Sum of all the numbers present at given level in Modified Pascal’s triangle
  1514. Integer part of the geometric mean of the divisors of N
  1515. Count of squares that can be drawn without lifting the pencil
  1516. Number of non-decreasing sub-arrays of length K
  1517. Number of subsets with a given AND value
  1518. Longest sub-sequence with minimum LCM
  1519. Number of subsets with a given OR value
  1520. Count integers in the range [A, B] that are not divisible by C and D
  1521. Sum of subsets of all the subsets of an array | O(N)
  1522. Longest subsequence whose sum is divisible by a given number
  1523. Longest subsequence with a given AND value
  1524. Number of K's such that the given array can be divided into two sets satisfying the given conditions
  1525. Count of elements which are second smallest among three consecutive elements
  1526. Find all palindrome numbers of given digits
  1527. Number of non-decreasing sub-arrays of length greater than or equal to K
  1528. Number of non-decreasing sub-arrays of length less than or equal to K
  1529. Longest sub-sequence with a given OR value : O(N) Approach
  1530. Maximum number of splits of a binary number
  1531. Longest subsequence with a given AND value | O(N)
  1532. Check the divisibility of Hexadecimal numbers
  1533. Number of subarrays with GCD equal to 1
  1534. Permute the elements of an array following given order
  1535. Form N by adding 1 or 2 in minimum number of operations X where X is divisible by M
  1536. Minimum difference between any two primes from the given range
  1537. Maximum prime moves to convert X to Y
  1538. Minimum number to be added to all digits of X to make X > Y
  1539. Reduce the string to minimum length with the given operation
  1540. Sum of all numbers formed having 4 atmost X times, 5 atmost Y times and 6 atmost Z times
  1541. Check if a number is Euler Pseudoprime
  1542. Longest subsequence with a given OR value : Dynamic Programming Approach
  1543. Program for nth Fuss–Catalan Number
  1544. Rearrange array elements such that Bitwise AND of first N - 1 elements is equal to last element
  1545. Find ways to arrange K green balls among N balls such that exactly i moves is needed to collect all K green balls
  1546. Number of ways to divide string in sub-strings such to make them in lexicographically increasing sequence
  1547. Number of subarrays with GCD = 1 | Segment tree
  1548. Number of ways to distribute N Paper Set among M students
  1549. Check whether a node is leaf node or not for multiple queries
  1550. Find number of square of area Z which can be built in a matrix having blocked regions
  1551. Calculate the number of set bits for every number from 0 to N
  1552. Largest area square in an array when elements can be shuffled
  1553. Remove an element to minimize the LCM of the given array
  1554. Minimum number of coins that can generate all the values in the given range
  1555. Check whether the given decoded string is divisible by 6
  1556. Queries to find the count of vowels in the substrings of the given string
  1557. Find closest integer with the same weight
  1558. Maximum count of elements divisible on the left for any element
  1559. Construct an array from its pair-product
  1560. Find the minimum possible health of the winning player
  1561. Index of character depending on frequency count in string
  1562. Sum of the updated array after performing the given operation
  1563. Maximize sum by choosing elements from different section of a matrix
  1564. Maximum frequency of a remainder modulo 2i
  1565. Maximum number of consecutive 1's in binary representation of all the array elements
  1566. Reduce every element of the array to it's half retaining the sum zero
  1567. Find if a crest is present in the index range [L, R] of the given array
  1568. Number of ways to reach (X, Y) in a matrix starting from the origin
  1569. Minimum operations required to make the string satisfy the given condition
  1570. Check if there exists a connected graph that satisfies the given conditions
  1571. Find Number of Even cells in a Zero Matrix after Q queries
  1572. Find maximum unreachable height using two ladders
  1573. Maximum possible remainder when an element is divided by other element in the array
  1574. Find permutation array from the cumulative sum array
  1575. Program to show Belady's Anomaly
  1576. Find the Nth digit in the proper fraction of two numbers
  1577. Count set bits in the Kth number after segregating even and odd from N natural numbers
  1578. Sum of all the prime numbers with the count of digits ≤ D
  1579. Find the number of ways to reach Kth step in stair case
  1580. Minimize the number by changing at most K digits
  1581. Generating N-bit Grey Code starting from K
  1582. Find the equal pairs of subsequence of S and subsequence of T
  1583. Check whether the exchange is possible or not
  1584. Find the coordinates of a triangle whose Area = (S / 2)
  1585. Count of subarrays with sum at least K
  1586. Minimum number of swaps to make two binary string equal
  1587. Lehmann's Primality Test
  1588. Check if B can be formed by permuting the binary digits of A
  1589. Find the subsequence with given sum in a superincreasing sequence
  1590. Maximum possible GCD after replacing at most one element in the given array
  1591. Maximum possible sum after M operations on N cards
  1592. Find the centroid of a non-self-intersecting closed Polygon
  1593. Restore a permutation from the given helper array
  1594. Minimum cost to partition the given binary string
  1595. Minimize the sum of digits of A and B such that A + B = N
  1596. Find the sum of the costs of all possible arrangements of the cells
  1597. Sum of all N digit palindrome numbers
  1598. Find the resultant String after replacing X with Y and removing Z
  1599. Kth ancestor of a node in an N-ary tree using Binary Lifting Technique
  1600. Maximize the number of palindromic Strings
  1601. Inorder traversal of an N-ary Tree
  1602. Maximum sum combination from the given array
  1603. Check if the sum of digits of N is palindrome
  1604. Maximum sum of two elements whose digit sum is equal
  1605. Count of numbers whose sum of increasing powers of digits is equal to the number itself
  1606. Print all perfect squares from the given range
  1607. Place the prisoners into cells to maximize the minimum difference between any two
  1608. Count of numbers from the range [L, R] which contains at least one digit that divides K
  1609. Count subarrays such that remainder after dividing sum of elements by K gives count of elements
  1610. Count ways to reach the Nth stair using any step from the given array
  1611. Count of subarrays having exactly K distinct elements
  1612. Maximize the profit after selling the tickets
  1613. Find the maximum angle at which we can tilt the bottle without spilling any water
  1614. Minimum count of Full Binary Trees such that the count of leaves is N
  1615. Knapsack with large Weights
  1616. Find the sum of power of bit count raised to the power B
  1617. Find the integer points (x, y) with Manhattan distance atleast N
  1618. Remove one element to get minimum OR value
  1619. Remove one element to get maximum XOR
  1620. Number of subsequences in a given binary string divisible by 2
  1621. Find Maximum Length Of A Square Submatrix Having Sum Of Elements At-Most K
  1622. Number of sub-strings in a given binary string divisible by 2
  1623. Largest sub-string of a binary string divisible by 2
  1624. Minimum elements to be removed from the ends to make the array sorted
  1625. XOR two binary strings of unequal lengths
  1626. Smallest number dividing minimum number of elements in the array | Set 2
  1627. Find the minimum difference path from (0, 0) to (N-1, M-1)
  1628. Find two Composite Numbers such that there difference is N
  1629. Expected number of moves to reach the end of a board | Dynamic programming
  1630. Expected number of moves to reach the end of a board | Matrix Exponentiation
  1631. Smallest non-zero substring which has any permutation divisible by 2^K
  1632. Satisfy the parabola when point (A, B) and the equation is given
  1633. Minimum K such that sum of array elements after division by K does not exceed S
  1634. Smallest number dividing minimum number of elements in the Array
  1635. Remove minimum numbers from the array to get minimum OR value
  1636. Check if all bits can be made same by flipping two consecutive bits
  1637. Remove two consecutive integers from 1 to N to make sum equal to S
  1638. Print the frequency of each character in Alphabetical order
  1639. Count of numbers from range [L, R] that end with any of the given digits
  1640. Find the Largest divisor Subset in the Array
  1641. Maximize the sum of differences of consecutive elements after removing exactly K elements
  1642. Remove minimum elements from ends of array so that sum decreases by at least K | O(N)
  1643. Number of subsequences with positive product
  1644. Append two elements to make the array satisfy the given condition
  1645. Fermat's Factorization Method
  1646. Print all possible paths from the first row to the last row in a 2D array
  1647. Maximize the number by flipping at most K bits
  1648. Optimal strategy for a Game with modifications
  1649. Invert the Kth most significant bit of N
  1650. Find the number obtained after concatenation of binary representation of M and N
  1651. Maximum value obtained by performing given operations in an Array
  1652. Queries On Array with disappearing and reappearing elements
  1653. Number of sub-sequences of non-zero length of a binary string divisible by 3
  1654. Longest sub-sequence of a binary string divisible by 3
  1655. Longest sub-array with maximum GCD
  1656. Program to find the time remaining for the day to complete
  1657. Number of ways to convert a character X to a string Y
  1658. Percentage change in Hemisphere volume if radius is changed
  1659. Minimum swaps required to make a binary string divisible by 2^k
  1660. Count number of pairs (i, j) such that arr[i] * arr[j] = arr[i] + arr[j]
  1661. Number of trailing zeros in N * (N - 2) * (N - 4)*....
  1662. Minimize the sum of differences of consecutive elements after removing exactly K elements
  1663. Count of 1-bit and 2-bit characters in the given binary string
  1664. Size of the largest divisible subset in an Array
  1665. Number of pairs of lines having integer intersection points
  1666. Program to calculate Percentile of Students
  1667. Number of cells in matrix which are equidistant from given two points
  1668. Divide N into K unique parts such that gcd of those parts is maximum
  1669. Partition the digits of an integer such that it satisfies a given condition
  1670. Partitions possible such that the minimum element divides all the other elements of the partition
  1671. Finding the Frobenius Norm of a given matrix
  1672. Find an integer that is common in the maximum number of given arithmetic progressions
  1673. Height of Pyramid formed with given Rectangular Box
  1674. Maximum length L such that the sum of all subarrays of length L is less than K
  1675. Find the number of unique pairs satisfying given conditions
  1676. Bitwise AND of all the odd numbers from 1 to N
  1677. Number of binary strings such that there is no substring of length ≥ 3
  1678. Count of possible arrays from prefix-sum and suffix-sum arrays
  1679. Number of square matrices with all 1s
  1680. Floyd-Rivest Algorithm
  1681. Number of pairs of arrays (A, B) such that A is ascending, B is descending and A[i] ≤ B[i]