1. Centered cube number
  2. PHP | array_udiff_uassoc() Function
  3. HTML | <th> valign Attribute
  4. HTML | <col> align Attribute
  5. Centered Dodecagonal Number
  6. PHP | array_intersect_ukey() Function
  7. HTML | DOM Input Range max Property
  8. PHP | ctype_print() Function
  9. Icosagonal number
  10. PHP | arsort() Function
  11. p5.js | noLoop() Function
  12. Centered Octadecagonal Number
  13. Sum and average of three numbers in PL/SQL
  14. PHP | IntlCalendar isWeekend() Function
  15. PHP | IntlCalendar roll() Function
  16. PHP | IntlCalendar set() Function
  17. Cake number
  18. Dodecagonal number
  19. Centered triangular number
  20. Strobogrammatic number
  21. Dodecahedral number
  22. Centered tetrahedral number
  23. Centered heptagonal number
  24. Program for Centered Icosahedral Number
  25. Centered Square Number
  26. Centered pentagonal number
  27. Centered Octahedral number
  28. Hexadecagonal number
  29. C# | EndsWith() Method
  30. Heptadecagonal number
  31. PHP | array_udiff() Function
  32. Centered Octagonal Number
  33. PHP | array_uintersect_assoc() Function
  34. Icosahedral Number
  35. PHP | array_diff_ukey() Function
  36. C# | Boxing And Unboxing
  37. p5.js | redraw() Function
  38. Enneadecagonal number
  39. Centered decagonal number
  40. PHP | array_intersect_uassoc() Function
  41. Centered nonadecagonal number
  42. PHP | array_udiff_assoc() Function
  43. Hendecagonal number
  44. Centered Pentadecagonal Number
  45. Centered dodecahedral number
  46. Centered Hexadecagonal Number
  47. Icosidigonal number
  48. Tetradecagonal number
  49. PHP | vsprintf() Function
  50. Centered tridecagonal number
  51. PHP | ctype_upper() Function
  52. PHP | ctype_digit() (Checks for numeric value)
  53. PHP | ctype_xdigit() Function
  54. PHP | ctype_space() Function
  55. PHP | ctype_alnum() (Check for Alphanumeric)
  56. PHP | ctype_punct() Function
  57. PHP | ctype_graph() Function
  58. PHP | ctype_alpha() (Checks for alphabetic value)
  59. PHP | ctype_cntrl() Function
  60. PHP | preg_grep() Function
  61. PHP | ereg_replace() Function
  62. Heptagonal number
  63. Pentatope number
  64. mktime() function in C++ STL
  65. PHP | Ds\Set allocate() Function
  66. PHP | Ds\Set capacity() Function
  67. HTML | <table> bgcolor Attribute
  68. PHP | convert_cyr_string() Function
  69. Program to find Simple Interest and Compound Interest in PL/SQL
  70. Area and Perimeter of Rectangle in PL/SQL
  71. Greatest number among three given numbers in PL/SQL
  72. Convert distance from km to meters and centimeters in PL/SQL
  73. Sum of digits equal to a given number in PL/SQL
  74. Area and Perimeter of a circle in PL/SQL
  75. PHP | random_bytes () Function
  76. PHP | random_int() Function
  77. Floyd's triangle in PL/SQL
  78. Count odd and even digits in a number in PL/SQL
  79. PHP | IntlChar::isJavaIDStart() Function
  80. PHP | IntlChar::isJavaSpaceChar() Function
  81. Perl | String Operators
  82. PHP | iconv() Function
  83. PHP | IntlChar::isdigit() Function
  84. C# | Math.Pow() Method
  85. PHP | IntlChar::isblank() Function
  86. C# | Math.Floor() Method
  87. C# | Math.Ceiling() Method
  88. PHP | IntlChar::isalpha() Function
  89. C# | Math Class Fields with Examples
  90. PHP | IntlChar::isbase() Function
  91. PHP | IntlChar::isalnum () Function
  92. C# | Char.TryParse () Method
  93. PHP | IntlChar::isUUppercase() Function
  94. PHP | IntlChar::isWhitespace() Function
  95. PHP | IntlChar::charDigitValue() Function
  96. PHP | IntlChar::isIDIgnorable() Function
  97. PHP | IntlChar::charName() Function
  98. PHP | IntlChar::charMirror() Function
  99. PHP | IntlChar::charAge() Function
  100. PHP | IntlChar::isUWhiteSpace() Function
  101. PHP | IntlChar::isUAlphabetic() Function
  102. PHP | IntlChar::isULowercase() Function
  103. PHP | IntlChar::isIDPart() Function
  104. PHP | IntlChar::isIDStart() Function
  105. PHP | IntlChar::isISOControl() Function
  106. PHP | IntlChar::totitle() Function
  107. PHP | IntlChar::isJavaIDPart() Function
  108. PHP | IntlChar::ord() Function
  109. PHP | IntlChar::chr() Function
  110. PHP | IntlChar::forDigit() Function
  111. Perl | Special Character Classes in Regular Expressions
  112. PHP | asort() Function
  113. PHP | krsort() Function
  114. PHP | ksort() Function
  115. C# | StartsWith() Method
  116. PHP | preg_split() Function
  117. C# | Math.DivRem() Method
  118. transform_inclusive_scan() function in C++
  119. HTML | <td> abbr Attribute
  120. HTML | <input> formtarget Attribute
  121. PHP | Ds\Set clear() Function
  122. PHP | Ds\Set contains() Function
  123. PHP | Ds\Set add() Function
  124. PHP | Ds\Set copy() Function
  125. HTML | <img> alt Attribute
  126. HTML | <img> align Attribute
  127. HTML | DOM Input Password select() Method
  128. HTML | DOM Input Range step Property
  129. HTML | DOM Input Range min Property
  130. HTML | <area> download Attribute
  131. PHP | intl_is_failure() Function
  132. HTML | <area> alt Attribute
  133. HTML | <area> href Attribute
  134. HTML | <area> hreflang Attribute
  135. HTML | <area> coords Attribute
  136. HTML | <area> type Attribute
  137. HTML | <area> rel Attribute
  138. HTML | <button> type Attribute
  139. HTML | <button> name Attribute
  140. HTML | <th> scope Attribute
  141. PHP | Ds\Map allocate() Function
  142. PHP | Ds\Map capacity() Function
  143. HTML | <a> shape Attribute
  144. HTML | <a> type Attribute
  145. HTML | <a> rel Attribute
  146. HTML | <a> download Attribute
  147. PHP | Ds\Map intersect() Function
  148. HTML | <a> charset Attribute
  149. PHP | Ds\Map __construct() Function
  150. PHP | Ds\Map count() Function
  151. PHP | Ds\Map diff() Function
  152. PHP | Ds\Map filter() Function
  153. PHP | Ds\Map get() Function
  154. PHP | Ds\Deque __construct() Function
  155. PHP | Ds\Deque shift() Function
  156. PHP | Ds\Deque unshift() Function
  157. HTML | <img> border Attribute
  158. HTML | <img> height Attribute
  159. HTML | <img> width Attribute
  160. HTML | <img> src Attribute
  161. HTML | <font> face Attribute
  162. HTML | <frameset> rows Attribute
  163. HTML | <canvas> height Attribute
  164. HTML | <font> size Attribute
  165. HTML | <table> frame Attribute
  166. HTML | <frame> src Attribute
  167. HTML | <font> color Attribute
  168. HTML | <hr> width Attribute
  169. HTML | <hr> size Attribute
  170. HTML | <hr> noshade Attribute
  171. HTML | <hr> align Attribute
  172. HTML | <progress> value Attribute
  173. HTML | <frameset> cols Attribute
  174. HTML | <col> width Attribute
  175. HTML | <p> align Attribute
  176. HTML <table> align Attribute
  177. HTML | <table> border Attribute
  178. HTML | <table> cellpadding Attribute
  179. HTML | <table> cellspacing Attribute
  180. HTML | <table> rules Attribute
  181. HTML | <table> summary Attribute
  182. HTML | <td> valign Attribute
  183. HTML | <table> width Attribute
  184. HTML | <tbody> align Attribute
  185. HTML | <tbody> valign Attribute
  186. HTML | <td> width Attribute
  187. HTML | <td> height Attribute
  188. PHP | SplDoublyLinkedList add() Function
  189. PHP | SplDoublyLinkedList bottom() Function
  190. PHP | SplDoublyLinkedList count() function
  191. PHP | SplDoublyLinkedList current() Function
  192. PHP | SplDoublyLinkedList isEmpty() Function
  193. PHP | SplDoublyLinkedList key() Function
  194. PHP | SplDoublyLinkedList next() Function
  195. PHP | SplDoublyLinkedList offsetExists() Function
  196. PHP | SplDoublyLinkedList offsetGet() Function
  197. PHP | SplDoublyLinkedList offsetSet() Function
  198. PHP | SplDoublyLinkedList offsetUnset() Function
  199. PHP | SplDoublyLinkedList pop() Function
  200. PHP | SplDoublyLinkedList prev() Function
  201. PHP | SplDoublyLinkedList push() Function
  202. PHP | SplDoublyLinkedList rewind() Function
  203. PHP | SplDoublyLinkedList shift() Function
  204. PHP | SplDoublyLinkedList top() Function
  205. PHP | SplDoublyLinkedList unshift() Function
  206. HTML | <td> align Attribute
  207. HTML | <td> bgcolor Attribute
  208. HTML | <td> axis Attribute
  209. HTML | <tr> align Attribute
  210. HTML | <td> char Attribute
  211. HTML | <tr> valign Attribute
  212. HTML | <tr> bgcolor Attribute
  213. HTML | <th> abbr Attribute
  214. HTML | <th> align Attribute
  215. HTML | <th> bgcolor Attribute
  216. HTML | <th> axis Attribute
  217. HTML | <th> width Attribute
  218. HTML | <th> height Attribute
  219. HTML | <th> rowspan Attribute
  220. HTML | <th> nowrap Attribute
  221. HTML | <tfoot> align Attribute
  222. HTML | <tfoot> valign Attribute
  223. HTML | canvas translate() Method
  224. HTML canvas rotate() Method
  225. HTML | canvas scale() Method
  226. HTML | <col> width Attribute
  227. HTML | <col> span Attribute
  228. HTML | <link> charset Attribute
  229. HTML | <input> align Attribute
  230. HTML | <video> autoplay Attribute
  231. HTML | <video> controls Attribute
  232. HTML | <video> height Attribute
  233. HTML | <video> loop Attribute
  234. HTML | <video> src Attribute
  235. HTML | <video> poster Attribute
  236. p5.js | stroke() Function
  237. p5.js | noFill() Function
  238. p5.js | fill() Function
  239. p5.js | color() Function
  240. p5.js | circle() Function
  241. PHP | Ds\Stack capacity() Function
  242. PHP | Ds\Stack allocate() Function
  243. PHP | Ds\Pair clear() Function
  244. PHP | Ds\Stack count() Function
  245. PHP | Ds\Stack __construct() Function
  246. PHP | Ds\Pair copy() Function
  247. PHP | Ds\Deque contains() Function
  248. p5.js | point() Function
  249. PHP | Ds\Map remove() Function
  250. PHP | Ds\Pair toArray() Function
  251. PHP | Ds\Pair __construct() Function
  252. p5.js | rect() Function
  253. p5.js | square() Function
  254. p5.js | ellipseMode() Function
  255. CSS | brightness() Function
  256. CSS | blur() Function
  257. CSS | contrast() Function
  258. CSS | drop-shadow() Function
  259. CSS | grayscale() Function
  260. CSS | hue-rotate() Function
  261. CSS | invert() Function
  262. CSS | opacity() Function
  263. CSS | scaleX() Function
  264. CSS | rotate3d() Function
  265. CSS | scaleZ() Function
  266. CSS | rotate() Function
  267. CSS | scaleY() Function
  268. CSS | rotateZ() Function
  269. CSS | scale3d() Function
  270. CSS | scale() Function
  271. CSS | sepia() Function
  272. CSS | rotateX() Function
  273. CSS | rotateY() Function
  274. CSS | skew() Function
  275. CSS | skewX() Function
  276. CSS | skewY() Function
  277. CSS | url() Function
  278. CSS | translate() Function
  279. CSS | saturate() Function
  280. CSS | translateZ() function
  281. CSS | translateY() function
  282. CSS | translateX() Function
  283. CSS | translate3d() Function
  284. PHP | imagecolordeallocate() Function
  285. PHP | imagerotate() Function
  286. p5.js | drop() Function
  287. p5.js | size() Function
  288. p5.js | show() Function
  289. p5.js | value() Function
  290. p5.js | removeAttribute() Function
  291. p5.js | hide() Function
  292. p5.js | remove() Function
  293. PHP | imagescale() Function
  294. p5.js | center() Function
  295. p5.js | html() Function
  296. p5.js | position() Function
  297. p5.js | curve() function
  298. p5.js | curveDetail() Function
  299. CSS | matrix() Function
  300. CSS | matrix3d() Function
  301. p5.js | style() Function
  302. p5.js | attribute() Function
  303. p5.js | child() Function
  304. p5.js | setup() Function
  305. p5.js | loop() Function
  306. p5.js | draw() Function
  307. HTML | <input> formenctype Attribute
  308. HTML | <input> type Attribute
  309. HTML | <link> target Attribute
  310. p5.js | parent() Function
  311. HTML | <img> usemap Attribute
  312. HTML | input formmethod Attribute
  313. HTML | input maxlength Attribute
  314. PHP | simplexml_import_dom() Function
  315. PHP | SimpleXMLIterator valid() Function
  316. PHP | simplexml_load_file() Function
  317. PHP | SimpleXMLIterator rewind() Function
  318. PHP | SimpleXMLIterator next() Function
  319. PHP | SimpleXMLIterator key() Function
  320. PHP | SimpleXMLIterator hasChildren() Function
  321. PHP | SimpleXMLIterator getChildren() Function
  322. PHP | SimpleXMLIterator current() Function
  323. PHP | Collator create() Function
  324. PHP | Collator __construct() Function
  325. PHP | DOMDocument createCDATASection() Function
  326. PHP | DOMDocument createComment() Function
  327. PHP | DOMDocument createElement() Function
  328. PHP | DOMDocument createAttribute() Function
  329. PHP | DOMDocument __construct() Function
  330. PHP | iconv_get_encoding() Function
  331. PHP | DOMDocument getElementsByTagName() Function
  332. PHP | DOMDocument importNode() Function
  333. PHP | DOMDocument saveXML() Function
  334. PHP | DOMDocument createTextNode() Function
  335. PHP | DOMDocument createProcessingInstruction() Function
  336. PHP | DOMDocument createEntityReference() Function
  337. PHP | DOMDocument saveHTMLFile() Function
  338. PHP | DOMDocument saveHTML() Function
  339. PHP | DOMDocument save() Function
  340. PHP | DOMDocument loadXML() Function
  341. PHP | DOMDocument normalizeDocument() Function
  342. PHP | DOMDocument loadHTMLFile() Function
  343. PHP | DOMDocument loadHTML() Function
  344. PHP | DOMDocument load() Function
  345. PHP | DOMDocument createElementNS() Function
  346. PHP | DOMDocument createAttributeNS() Function
  347. PHP | IntlCalendar add() Function
  348. PHP | IntlCalendar after() Function
  349. PHP | IntlCalendar before() Function
  350. PHP | IntlCalendar::__construct() Function
  351. PHP | IntlCalendar createInstance() Function
  352. PHP | IntlCalendar equals() Function
  353. PHP | IntlCalendar fieldDifference() Function
  354. PHP | IntlCalendar getActualMaximum() Function
  355. PHP | IntlCalendar get() Function
  356. PHP | IntlCalendar fromDateTime() Function
  357. PHP | DOMAttr __construct() Function
  358. PHP | IntlCalendar getAvailableLocales() Function
  359. PHP | IntlCalendar getActualMinimum() Function
  360. PHP | IntlCalendar getFirstDayOfWeek() Function
  361. PHP | IntlCalendar getErrorMessage() Function
  362. PHP | IntlCalendar getErrorCode() Function
  363. PHP | IntlCalendar setTimeZone() Function
  364. PHP | IntlCalendar setTime() Function
  365. PHP | IntlCalendar getType() Function
  366. PHP | IntlCalendar getTimeZone() Function
  367. PHP | IntlCalendar getTime() Function
  368. PHP | IntlCalendar getLeastMaximum() Function
  369. PHP | IntlCalendar inDaylightTime() Function
  370. PHP | IntlCalendar isSet() Function
  371. PHP | IntlCalendar setFirstDayOfWeek() Function
  372. PHP | IntlCalendar toDateTime() Function
  373. PHP | IntlCalendar isEquivalentTo() Function
  374. PHP | ArrayObject setFlags() Function
  375. PHP | ArrayObject serialize() Function
  376. PHP | ArrayObject getFlags() Function
  377. PHP | ArrayObject count() Function
  378. PHP | JsonSerializable jsonSerialize() Function
  379. PHP | ArrayObject unserialize() Function
  380. PHP | ArrayObject setIteratorClass() Function
  381. PHP | IntlDateFormatter getErrorCode() Function,
  382. PHP | IntlDateFormatter getDateType() Function
  383. PHP | IntlDateFormatter format() Function
  384. PHP | IntlDateFormatter formatObject() Function
  385. PHP | IntlDateFormatter getCalendar() Function
You may use GeeksforGeeks CONTRIBUTE portal to help other geeks. For more info, please refer this.

  1. How to swap two numbers without using a temporary variable?
  2. Count the number of ways to tile the floor of size n x m using 1 x m size tiles
  3. Write a program to calculate pow(x,n)
  4. Program for Sum of the digits of a given number
  5. How will you print numbers from 1 to 100 without using loop?
  6. Write a program to reverse digits of a number
  7. Given an array A[] and a number x, check for pair in A[] with sum as x
  8. Majority Element
  9. Smallest power of 2 greater than or equal to n
  10. Position of rightmost set bit
  11. Find the Missing Number
  12. Minimum number of jumps to reach end
  13. Search an element in a sorted and rotated array
  14. Count set bits in an integer
  15. Divide a string in N equal parts
  16. Median of two sorted arrays of same size
  17. Maximum sum such that no two elements are adjacent
  18. Check for Majority Element in a sorted array
  19. Find minimum number to be divided to make a number a perfect square
  20. Find whether a given number is a power of 4 or not
  21. Recursive Functions
  22. Maximum difference between two elements such that larger element appears after the smaller number
  23. Union and Intersection of two sorted arrays
  24. Total number of possible Binary Search Trees and Binary Trees with n keys
  25. Ceiling in a sorted array
  26. Equilibrium index of an array
  27. Find the two repeating elements in a given array
  28. Program for Fibonacci numbers
  29. Rabin-Karp Algorithm for Pattern Searching
  30. Find the smallest missing number
  31. Maximum Length Bitonic Subarray | Set 1 (O(n) time and O(n) space)
  32. A Boolean Matrix Question
  33. Average of a stream of numbers
  34. Count total set bits in all numbers from 1 to n
  35. Longest Non-palindromic substring
  36. Josephus problem | Set 1 (A O(n) Solution)
  37. Check whether two strings are anagram of each other
  38. Binomial Coefficient | DP-9
  39. Find a triplet that sum to a given value
  40. Find subarray with given sum | Set 1 (Nonnegative Numbers)
  41. Find the two numbers with odd occurrences in an unsorted array
  42. To find sum of two numbers without using any operator
  43. Draw a circle without floating point arithmetic
  44. XOR of all subarray XORs | Set 2
  45. Generate integer from 1 to 7 with equal probability
  46. Find four elements that sum to a given value | Set 1 (n^3 solution)
  47. Sort a nearly sorted (or K sorted) array
  48. Chinese Remainder Theorem | Set 1 (Introduction)
  49. Find the element that appears once
  50. Space and time efficient Binomial Coefficient
  51. Efficient program to calculate e^x
  52. Binary representation of a given number
  53. Efficient program to print all prime factors of a given number
  54. Swap all odd and even bits
  55. Find position of the only set bit
  56. Find the maximum repeating number in O(n) time and O(1) extra space
  57. Check if a number is Palindrome
  58. Find a peak element
  59. Print all possible combinations of r elements in a given array of size n
  60. Optimal Strategy for a Game | DP-31
  61. Print all possible strings of length k that can be formed from a set of n characters
  62. Find the maximum distance covered using n bikes
  63. Russian Peasant (Multiply two numbers using bitwise operators)
  64. Generate all unique partitions of an integer
  65. Count all possible paths from top left to bottom right of a mXn matrix
  66. Sort n numbers in range from 0 to n^2 - 1 in linear time
  67. Tail Recursion
  68. Remove minimum elements from either side such that 2*min becomes more than max
  69. Smallest subarray with sum greater than a given value
  70. Program for nth Catalan Number
  71. Swap two nibbles in a byte
  72. Find the smallest number whose digits multiply to a given number n
  73. Check if binary representation of a number is palindrome
  74. Count number of binary strings without consecutive 1's
  75. Calculate the angle between hour hand and minute hand
  76. Count Possible Decodings of a given Digit Sequence
  77. Count ways to reach the n'th stair
  78. Print squares of first n natural numbers without using *, / and -
  79. Given two strings, find if first string is a subsequence of second
  80. Print all increasing sequences of length k from first n natural numbers
  81. Print all elements in sorted order from row and column wise sorted matrix
  82. K'th Smallest/Largest Element in Unsorted Array | Set 2 (Expected Linear Time)
  83. Find Index of 0 to be replaced with 1 to get longest continuous sequence of 1s in a binary array
  84. Birthday Paradox
  85. How to check if an instance of 8 puzzle is solvable?
  86. Factorial of a large number
  87. Fill two instances of all numbers from 1 to n in a specific way
  88. Find length of period in decimal value of 1/n
  89. Greedy Algorithm for Egyptian Fraction
  90. Write an iterative O(Log y) function for pow(x, y)
  91. Calculate square of a number without using *, / and pow()
  92. Subtract two numbers without using arithmetic operators
  93. Given a sorted and rotated array, find if there is a pair with a given sum
  94. Print missing elements that lie in range 0 - 99
  95. Compute n! under modulo p
  96. Calculate 7n/8 without using division and multiplication operators
  97. Euclidean algorithms (Basic and Extended)
  98. Legendre's formula (Given p and n, find the largest x such that p^x divides n!)
  99. Euler's Totient Function
  100. Check if a number can be expressed as x^y (x raised to power y)
  101. Count frequencies of all elements in array in O(1) extra space and O(n) time
  102. Compute sum of digits in all numbers from 1 to n
  103. Find minimum number of coins that make a given value
  104. Find nth Magic Number
  105. Minimum steps to reach a destination
  106. Count factorial numbers in a given range
  107. Trapping Rain Water
  108. Find number of solutions of a linear equation of n variables
  109. Minimum Initial Points to Reach Destination
  110. Count of n digit numbers whose sum of digits equals to given sum
  111. Find the length of largest subarray with 0 sum
  112. Check if a given number is sparse or not
  113. Find maximum value of Sum( i*arr[i]) with only rotations on given array allowed
  114. Print a pattern without using any loop
  115. Square root of an integer
  116. Sum of bit differences among all pairs
  117. Count number of ways to partition a set into k subsets
  118. Find three closest elements from given three sorted arrays
  119. Generate Pythagorean Triplets
  120. Find XOR of two number without using XOR operator
  121. Modular Exponentiation (Power in Modular Arithmetic)
  122. Find the most frequent digit without using array/string
  123. Bell Numbers (Number of ways to Partition a Set)
  124. Multiplicative order
  125. Primality Test | Set 1 (Introduction and School Method)
  126. Euler's Totient function for all numbers smaller than or equal to n
  127. How to check whether a number is in the range[low, high] using one comparison ?
  128. Sum of Bitwise And of all pairs in a given array
  129. Count Derangements (Permutation such that no element appears in its original position)
  130. Primality Test | Set 2 (Fermat Method)
  131. Count number of ways to divide a number in 4 parts
  132. Zeckendorf's Theorem (Non-Neighbouring Fibonacci Representation)
  133. Count number of squares in a rectangle
  134. Compute nCr % p | Set 2 (Lucas Theorem)
  135. Chinese Remainder Theorem | Set 2 (Inverse Modulo based Implementation)
  136. Primality Test | Set 3 (Miller–Rabin)
  137. Euler's criterion (Check if square root under modulo p exists)
  138. Find Square Root under Modulo p | Set 1 (When p is in form of 4*i + 3)
  139. Count Inversions of size three in a given array
  140. Longest Span with same Sum in two Binary arrays
  141. Program for Bisection Method
  142. Program for Newton Raphson Method
  143. Swap two variables in one line in C/C++, Python, PHP and Java
  144. Find smallest values of x and y such that ax - by = 0
  145. Farey Sequence
  146. Check if count of divisors is even or odd
  147. Form minimum number from given sequence
  148. Find all divisors of a natural number | Set 1
  149. Longest Zig-Zag Subsequence
  150. Subarray/Substring vs Subsequence and Programs to Generate them
  151. Count number of subsets having a particular XOR value
  152. Frobenius coin problem
  153. Number of perfect squares between two given numbers
  154. Area of a polygon with given n ordered vertices
  155. Volume of cube using its space diagonal
  156. Check perfect square using addition/subtraction
  157. Find minimum difference between any two elements
  158. Find lost element from a duplicated array
  159. Print n x n spiral matrix using O(1) extra space
  160. How to check if an instance of 15 puzzle is solvable?
  161. Bitwise Hacks for Competitive Programming
  162. Count strings with consecutive 1's
  163. Linear Diophantine Equations
  164. Minimum number of palindromic subsequences to be removed to empty a binary string
  165. Inplace rotate square matrix by 90 degrees | Set 1
  166. Absolute distinct count in a sorted array
  167. Find all combinations that add upto given number
  168. Find the minimum difference between Shifted tables of two numbers
  169. Find smallest number with given number of digits and sum of digits
  170. Find the Largest number with given number of digits and sum of digits
  171. Sum of Fibonacci Numbers
  172. Minimax Algorithm in Game Theory | Set 1 (Introduction)
  173. Longest Common Increasing Subsequence (LCS + LIS)
  174. Find number of subarrays with even sum
  175. Maximum value K such that array has at-least K elements that are >= K
  176. Find even occurring elements in an array of limited range
  177. Program to add two fractions
  178. Count digits in a factorial | Set 1
  179. Converting Roman Numerals to Decimal lying between 1 to 3999
  180. Program for Armstrong Numbers
  181. Maximum sum of i*arr[i] among all rotations of a given array
  182. Generate 0 and 1 with 25% and 75% probability
  183. Find all triplets in a sorted array that forms Geometric Progression
  184. Print first n numbers with exactly two set bits
  185. Floor in a Sorted Array
  186. Find profession in a special family
  187. Implement rand3() using rand2()
  188. Check if an array can be Arranged in Left or Right Positioned Array
  189. Stein's Algorithm for finding GCD
  190. Direction at last square block
  191. Third largest element in an array of distinct elements
  192. Find Two Missing Numbers | Set 1 (An Interesting Linear Time Solution)
  193. Count digit groupings of a number with given constraints
  194. Non Fibonacci Numbers
  195. Non-crossing lines to connect points in a circle
  196. Change if all bits can be made same by single flip
  197. Swap three variables without using temporary variable
  198. Multiples of 3 or 7
  199. Count permutations that produce positive result
  200. Carmichael Numbers
  201. Find the minimum value of m that satisfies ax + by = m and all values after m also satisfy
  202. Finding sum of digits of a number until sum becomes single digit
  203. Check whether a given number is even or odd
  204. Print sums of all subsets of a given set
  205. Length of the Longest Consecutive 1s in Binary Representation
  206. Gaussian Filter Generation in C++
  207. Sum of all proper divisors of a natural number
  208. Count number of solutions of x^2 = 1 (mod p) in given range
  209. Common Divisors of Two Numbers
  210. Repeated subtraction among two numbers
  211. Equal Sum and XOR
  212. Sum of all numbers that can be formed with permutations of n digits
  213. Josephus problem | Set 2 (A Simple Solution when k = 2)
  214. Largest palindrome which is product of two n-digit numbers
  215. Nth Even Fibonacci Number
  216. Even Fibonacci Numbers Sum
  217. Smallest number divisible by first n numbers
  218. Minimum number of increment/decrement operations such that array contains all elements from 1 to N
  219. Lucas Numbers
  220. Number of permutation with K inversions
  221. Multiples of 4 (An Interesting Method)
  222. Calculate XOR from 1 to n.
  223. n'th multiple of a number in Fibonacci Series
  224. n'th Pentagonal Number
  225. Harshad (Or Niven) Number
  226. Deficient Number
  227. Juggler Sequence
  228. Padovan Sequence
  229. Powerful Number
  230. Hexagonal Number
  231. Abundant Number
  232. Count numbers which can be constructed using two numbers
  233. Find element using minimum segments in Seven Segment Display
  234. Carol Number
  235. Multiplying a variable with a constant without using multiplication operator
  236. Find Maximum XOR value of a sub-array of size k
  237. Partition of a set into K subsets with equal sum
  238. Maximum difference of sum of elements in two rows in a matrix
  239. Count pairs in an array that hold i*arr[i] > j*arr[j]
  240. Minimum sum of two numbers formed from digits of an array
  241. The painter's partition problem
  242. Find sum of modulo K of first N natural number
  243. Chocolate Distribution Problem
  244. Program for Chocolate and Wrapper Puzzle
  245. Highest power of 2 less than or equal to given number
  246. Count natural numbers whose factorials are divisible by x but not y
  247. Find the first natural number whose factorial is divisible by x
  248. Check if two strings are k-anagrams or not
  249. GCD of two numbers formed by n repeating x and y times
  250. Efficient method for 2's complement of a binary string
  251. Program for Perrin numbers
  252. Sum of Perrin Numbers
  253. Smallest number with at least n trailing zeroes in factorial
  254. Minimum number of power terms with sum equal to n
  255. Last non-zero digit of a factorial
  256. Smallest number with at least n digits in factorial
  257. Print all possible consecutive numbers with sum N
  258. Double factorial
  259. Write a URL in a C++ program
  260. Find all elements in array which have at-least two greater elements
  261. K-th smallest element after removing some integers from natural numbers
  262. Count of acute, obtuse and right triangles with given sides
  263. Maximum path sum in a triangle.
  264. Find a subset with greatest geometric mean
  265. Minimum Sum Path In 3-D Array
  266. Sum of the products of all possible Subsets
  267. N-th root of a number
  268. Check if elements of array can be made equal by multiplying given prime numbers
  269. Generation of n numbers with given set of factors
  270. Find power of power under mod of a prime
  271. Sum of all Subarrays | Set 1
  272. Count trailing zero bits using lookup table
  273. Find all triplets with zero sum
  274. Print a matrix in alternate manner (left to right then right to left)
  275. Find the Rotation Count in Rotated Sorted array
  276. Efficiently check if a string has all unique characters without using any additional data structure
  277. Rearrange an array in maximum minimum form | Set 2 (O(1) extra space)
  278. Number with maximum number of prime factors
  279. Program to find Cullen Number
  280. Count passing car pairs
  281. Highway Billboard Problem
  282. Program for Banker's Algorithm | Set 1 (Safety Algorithm)
  283. Count all perfect divisors of a number
  284. N'th palindrome of K digits
  285. Check if a large number is divisible by 11 or not
  286. Check if a large number is divisible by 3 or not
  287. Count of strings that can be formed using a, b and c under given constraints
  288. Refactorable number
  289. Maximum sum of hour glass in matrix
  290. Number Theory | Generators of finite cyclic group under addition
  291. Maximum consecutive repeating character in string
  292. Check if a large number is divisible by 4 or not
  293. Superperfect Number
  294. Find ways an Integer can be expressed as sum of n-th power of unique natural numbers
  295. Find longest sequence of 1's in binary representation with one flip
  296. Prime points (Points that split a number into two primes)
  297. Check if a large number is divisible by 8 or not
  298. Count rotations divisible by 4
  299. Check whether K-th bit is set or not
  300. Toggling k-th bit of a number
  301. Search, insert and delete in an unsorted array
  302. Check if a large number is divisible by 9 or not
  303. Check if a larger number divisible by 36
  304. Recaman's sequence
  305. Check if frequency of each digit is less than the digit
  306. Count Divisors of n in O(n^1/3)
  307. Check if the door is open or closed
  308. Change bits to make specific OR value
  309. Largest number smaller than or equal to n and digits in non-decreasing order
  310. Maximum sum of a path in a Right Number Triangle
  311. Number of even substrings in a string of digits
  312. Place k elements such that minimum distance is maximized
  313. Find the next identical calendar year
  314. Nth Square free number
  315. Tidy Number (Digits in non-decreasing Order)
  316. Programs to print Interesting Patterns
  317. Check if a large number is divisible by 5 or not
  318. Temple Offerings
  319. Program to find Star number
  320. Multiply large integers under large modulo
  321. Compute nCr % p | Set 3 (Using Fermat Little Theorem)
  322. Left-Truncatable Prime
  323. Program to check Strong Number
  324. Draw a circle without floating point arithmetic
  325. Linear Search
  326. Solving f(n)= (1) + (2*3) + (4*5*6) ... n using Recursion
  327. Program to find sum of elements in a given array
  328. Program to find largest element in an array
  329. Program to cyclically rotate an array by one
  330. Program for factorial of a number
  331. Program to print all palindromes in a given range
  332. Decode a given pattern in two ways (Flipkart Interview Question)
  333. Given a number as a string, find the number of contiguous subsequences which recursively add up to 9
  334. Print first k digits of 1/n where n is a positive integer
  335. Efficient Program to Compute Sum of Series 1/1! + 1/2! + 1/3! + 1/4! + .. + 1/n!
  336. Program to find remainder without using modulo or % operator
  337. Remove repeated digits in a given number
  338. How to swap two bits in a given integer?
  339. How to compute mod of a big number?
  340. Program to check if a given number is Lucky (all digits are different)
  341. Check if a given number can be represented in given a no. of digits in any base
  342. Add two numbers using ++ and/or --
  343. Numbers whose bitwise OR and sum with N are equal
  344. Smallest Difference Triplet from Three arrays
  345. Reverse digits of an integer with overflow handled
  346. Find a peak element in a 2D array
  347. Maximum XOR value of a pair from a range
  348. Inserting m into n such that m starts at bit j and ends at bit i.
  349. Convert given time into words
  350. Generate k digit numbers with digits in strictly increasing order
  351. Find whether a subarray is in form of a mountain or not
  352. Count numbers whose sum with x is equal to XOR with x
  353. Given a number n, find the first k digits of n^n
  354. Determine whether a given number is a Hyperperfect Number
  355. Number of subarrays for which product and sum are equal
  356. Minimum steps to delete a string after repeated deletion of palindrome substrings
  357. Find Index of given fibonacci number in constant time
  358. Check a large number is divisible by 16 or not
  359. First digit in product of an array of numbers
  360. Check if a large number is divisible by 25 or not
  361. Primality Test | Set 4 (Solovay-Strassen)
  362. An efficient way to check whether n-th Fibonacci number is multiple of 10
  363. Fizz Buzz Implementation
  364. Determine if a string has all Unique Characters
  365. Find count of digits in a number that divide the number
  366. Find index of an extra element present in one sorted array
  367. Check if a number can be written as sum of three consecutive integers
  368. Count of m digit integers that are divisible by an integer n
  369. Maximum sum of distinct numbers such that LCM of these numbers is N
  370. Interesting facts about Fibonacci numbers
  371. Print numbers 1 to N using Indirect recursion
  372. Matrix Multiplication | Recursive
  373. Square root of a number using log
  374. Perfect cubes in a range
  375. Mean of array using recursion
  376. Find n-th element in a series with only 2 digits (4 and 7) allowed
  377. Automorphic Number
  378. Closest (or Next) smaller and greater numbers with same number of set bits
  379. Largest sum subarray with at-least k numbers
  380. Multiple of x closest to n
  381. Length Of Last Word in a String
  382. Sum of product of all pairs of array elements
  383. Largest Subset with GCD 1
  384. Check if two numbers are bit rotations of each other or not
  385. Set the K-th bit of a given number
  386. Fibonacci modulo p
  387. Next greater integer having one more number of set bits
  388. Count of smaller or equal elements in sorted array
  389. Check if a number is jumbled or not
  390. Print left rotation of array in O(n) time and O(1) space
  391. Find Index of 0 to be replaced with 1 to get longest continuous sequence of 1s in a binary array | Set-2
  392. Sum of all substrings of a string representing a number | Set 2 (Constant Extra Space)
  393. Program to calculate the value of sin(x) and cos(x) using Expansion
  394. Counts paths from a point to reach Origin
  395. Numbers having Unique (or Distinct) digits
  396. Find Second largest element in an array
  397. Regular polygon using only 1s in a binary numbered circle
  398. Check if a number N starts with 1 in b-base
  399. Find the Missing Point of Parallelogram
  400. Count Balanced Binary Trees of Height h
  401. Recursive Programs to find Minimum and Maximum elements of array
  402. Find the sum of all the terms in the n-th row of the given series
  403. Program to print Sum of even and odd elements in an array
  404. Program to print Lower triangular and Upper triangular matrix of an array
  405. Find minimum value to assign all array elements so that array product becomes greater
  406. Find the Longest Increasing Subsequence in Circular manner
  407. Count pairs (a, b) whose sum of cubes is N (a^3 + b^3 = N)
  408. Search an element in an unsorted array using minimum number of comparisons
  409. Number of pairs in an array such that product is greater than sum
  410. Find if a number is divisible by every number in a list
  411. Cassini’s Identity
  412. Centered cube number
  413. Represent a given set of points by the best possible straight line
  414. Finding n-th number made of prime digits (2, 3, 5 and 7) only
  415. Find number of diagonals in n sided convex polygon
  416. Find all pairs (a, b) in an array such that a % b = k
  417. Fitting Shelves Problem
  418. Length of the transverse common tangent between the two non intersecting circles
  419. Rectangular (or Pronic) Numbers
  420. Discrete logarithm (Find an integer k such that a^k is congruent modulo b)
  421. Number of cells a queen can move with obstacles on the chessborad
  422. Number of n-digits non-decreasing integers
  423. Find maximum possible stolen value from houses
  424. Implementing ternary operator without any conditional statement
  425. Elements of an array that are not divisible by any element of another array
  426. Check if all bits of a number are set
  427. Check in binary array the number represented by a subarray is odd or even
  428. Replace every element of the array with BitWise XOR of all other
  429. Number of Groups of Sizes Two Or Three Divisible By 3
  430. Quickly find multiple left rotations of an array | Set 1
  431. Largest natural number that can be printed with M characters
  432. Position of rightmost different bit
  433. Program for Binary To Decimal Conversion
  434. Previous smaller integer having one less number of set bits
  435. Count number of strings (made of R, G and B) using given combination
  436. Count the numbers divisible by 'M' in a given range
  437. Divide the two given numbers by their common divisors
  438. Lexicographically smallest rotated sequence | Set 2
  439. Count number of triplets with product equal to given number
  440. Find two numbers from their sum and XOR
  441. Count pairs with Odd XOR
  442. Maximum product of subsequence of size k
  443. Program for Stirling Interpolation Formula
  444. Program for Decimal to Binary Conversion
  445. Program for decimal to octal conversion
  446. Unset bits in the given range
  447. Trailing number of 0s in product of two factorials
  448. Compute the parity of a number using XOR and table look-up
  449. Calculate maximum value using '+' or '*' sign between two numbers in a string
  450. Adam Number
  451. Program to check if input is an integer or a string
  452. Count number of pairs (A <= N, B <= N) such that gcd (A , B) is B
  453. Print last k digits of a^b (a raised to power b)
  454. Climb n-th stair with all jumps from 1 to n allowed (Three Different Approaches)
  455. Find an element in Bitonic array
  456. Check if an array contains all elements of a given range
  457. Equable Shapes
  458. Program to find HCF iteratively
  459. Rotate a Matrix by 180 degree
  460. Sum of the sequence 2, 22, 222, .........
  461. Find the smallest number with n set and m unset bits
  462. Maximize a given unsigned number number by swapping bits at it's extreme positions.
  463. Evil Number
  464. Find repeated character present first in a string
  465. Ways to remove one element from a binary string so that XOR becomes zero
  466. Program to check if a matrix is symmetric
  467. Find coordinates of a prime number in a Prime Spiral
  468. Sum of numbers with exactly 2 bits set
  469. Print a given matrix in zigzag form
  470. Number of N digit integers with weight W
  471. Zeller's Congruence | Find the Day for a Date
  472. Pell Number
  473. Largest even number possible by using one swap operation in given number
  474. Program to find sum of prime numbers between 1 to n
  475. Form the largest number using at most one swap operation
  476. Counts Path in an Array
  477. Set bits in N equals to M in the given range.
  478. P-Smooth Numbers or P-friable Number
  479. Print 'K'th least significant bit of a number
  480. Subarray with XOR less than k
  481. Compute average of two numbers without overflow
  482. Twisted Prime Number
  483. Find minimum sum of factors of number
  484. Count ways to express a number as sum of consecutive numbers
  485. Print matrix in snake pattern
  486. Check if a given number is Pronic
  487. Find the number closest to n and divisible by m
  488. Mutual Recursion with example of Hofstadter Female and Male sequences
  489. Print all possible strings that can be made by placing spaces
  490. Number of days after which tank will become empty
  491. Print a matrix in a spiral form starting from a point
  492. Evaluate a boolean expression represented as string
  493. Extract 'k' bits from a given position in a number.
  494. Maximum sum of difference of adjacent elements
  495. Distributing M items in a circle of size N starting from K-th position
  496. A modified game of Nim
  497. Boundary elements of a Matrix
  498. Efficiently compute sums of diagonals of a matrix
  499. Sum of all subsequences of an array
  500. To check a number is palindrome or not without using any extra space
  501. Count ways to express a number as sum of powers
  502. Program that receives a number and prints it out in large size
  503. Recursive solution to count substrings with same first and last characters
  504. Find multiple of x closest to or a ^ b (a raised to power b)
  505. Number of unique rectangles formed using N unit squares
  506. Count of obtuse angles in a circle with 'k' equidistant points between 2 given points
  507. Find the n-th number whose binary representation is a palindrome
  508. Count ways to build street under given constraints
  509. Sum of array elements that is first continuously increasing then decreasing
  510. Greatest divisor which divides all natural number in range [L, R]
  511. Number of rectangles in N*M grid
  512. Program to check if three points are collinear
  513. Check whether all the bits are set in the given range
  514. Count even and odd digits in an Integer
  515. Toggle all bits after most significant bit
  516. Maximum sum bitonic subarray
  517. Check if a number is power of 8 or not
  518. Largest proper fraction with sum of numerator and denominator equal to a given number
  519. Find if it's possible to rotate the page by an angle or not.
  520. Symmetric difference of two sorted array
  521. Find most significant set bit of a number
  522. Count total bits in a number
  523. Composite Number
  524. Possible moves of knight
  525. Check whether all the bits are unset in the given range or not
  526. Check whether a number is circular prime or not
  527. Recursive Tower of Hanoi using 4 pegs / rods
  528. Program for sum of geometric series
  529. Golomb sequence
  530. Check if given array is almost sorted (elements are at-most one position away)
  531. Taxicab Numbers
  532. Count unset bits of a number
  533. Find element at given index after a number of rotations
  534. Geometric mean (Two Methods)
  535. Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +.......+ n/n!
  536. Largest K digit number divisible by X
  537. Smallest K digit number divisible by X
  538. Minimum product pair an array of positive Integers
  539. Difference between highest and least frequencies in an array
  540. Check if a number has bits in alternate pattern | Set-2 O(1) Approach
  541. Tribonacci Numbers
  542. To check whether a large number is divisible by 7
  543. Row-wise common elements in two diagonals of a square matrix
  544. Program to count digits in an integer (4 Different Methods)
  545. Number of ways to arrange N items under given constraints
  546. Maximum Possible Product in Array after performing given Operations
  547. Number of closing brackets needed to complete a regular bracket sequence
  548. Number of subarrays having product less than K
  549. Program for cube sum of first n natural numbers
  550. Minimum number of increment-other operations to make all array elements equal.
  551. Program for sum of arithmetic series
  552. Steps to make array empty by removing maximum and its right side
  553. Minimum and Maximum sum of absolute differences of pairs
  554. Program to print multiplication table of a number
  555. Check if a string is suffix of another
  556. Array element moved by k using single moves
  557. Program for diamond pattern with different layers
  558. Find the Majority Element | Set 3 (Bit Magic)
  559. Minimum Possible value of |ai + aj - k| for given array and k.
  560. Express an odd number as sum of prime numbers
  561. Minimum element whose n-th power is greater than product of an array of size n
  562. Sum of all subsets of a set formed by first n natural numbers
  563. Count of substrings of a binary string containing K ones
  564. Find the last digit when factorial of A divides factorial of B
  565. Longest alternating sub-array starting from every index in a Binary Array
  566. Number of compositions of a natural number
  567. Series with largest GCD and sum equals to n
  568. Check whether a number has exactly three distinct factors or not
  569. Program to find Sum of a Series a^1/1! + a^2/2! + a^3/3! + a^4/4! +…….+ a^n/n!
  570. Minimal operations to make a number magical
  571. Check if number is palindrome or not in Octal
  572. Happy Numbers
  573. Rearrange a binary string as alternate x and y occurrences
  574. Find all factorial numbers less than or equal to n
  575. Ways to color a 3*N board using 4 colors
  576. Unique cells in a binary matrix
  577. Check if a number is power of k using base changing method
  578. Leonardo Number
  579. Minimum cost to connect weighted nodes represented as array
  580. Check whether an array can be made strictly decreasing by modifying at most one element
  581. Smallest integer with digit sum M and multiple of N
  582. Mean of range in array
  583. Number of Binary Trees for given Preorder Sequence length
  584. Maximize the sum of arr[i]*i
  585. Maximize value of (a[i]+i)*(a[j]+j) in an array
  586. Count number of elements between two given elements in array
  587. Ways to express a number as product of two different factors
  588. Counting inversions in all subarrays of given size
  589. Find single in an array of 2n+1 integer elements
  590. Program to find compound interest
  591. Programming puzzle (Assign value without any control statement)
  592. Program for Area Of Square
  593. Area of a triangle inscribed in a rectangle which is inscribed in an ellipse
  594. Minimum cost to sort a matrix of numbers from 0 to n^2 - 1
  595. Program to find Circumference of a Circle
  596. Print digit's position to be removed to make a number divisible by 6
  597. Check if the product of digit sum and its reverse equals the number or not
  598. Find the frequency of a number in an array
  599. Program for harmonic mean of numbers
  600. Sum of Binomial coefficients
  601. Program to find GCD of floating point numbers
  602. Count set bits in a range
  603. Find n-th term in the series 9, 33, 73,129 ...
  604. Program for Volume and Surface Area of Cuboid
  605. Queries for the product of first N factorials
  606. Maximum sum subsequence with at-least k distant elements
  607. Biggest integer which has maximum digit sum in range from 1 to n
  608. Program for weighted mean of natural numbers.
  609. Program to find correlation coefficient
  610. GCD of factorials of two numbers
  611. Modify a bit at a given position
  612. Spy Number (Sum and Products of Digits are same)
  613. Check if a number is Full Prime
  614. Find n-th term in the series 7, 15, 32, ...
  615. Check if two numbers are co-prime or not
  616. Recursive sum of digits of a number is prime or not
  617. Arc length from given Angle
  618. Ways to paint stairs with two colors such that two adjacent are not yellow
  619. Minimum number of elements to add to make median equals x
  620. Divisibility by 64 with removal of bits allowed
  621. Count ways to express even number ‘n’ as sum of even integers
  622. Maximum value with the choice of either dividing or considering as it is
  623. Game of N stones where each player can remove 1, 3 or 4
  624. Sum of digits of a given number to a given power
  625. Iterated Logarithm log*(n)
  626. Number of digits to be removed to make a number divisible by 3
  627. Only integer with positive value in positive negative value in array
  628. Program to check for Peterson number
  629. Minimum 1s to lend power to make whole array powerful
  630. Program to find remainder when large number is divided by 11
  631. Program to check for ISBN
  632. Representation of a number in powers of other
  633. Check whether the given array is perfect or not
  634. Ways to color a skewed tree such that parent and child have different colors
  635. Print Number series without using any loop
  636. Largest smaller number possible using only one swap operation
  637. Divisors of n-square that are not divisors of n
  638. Exponential Squaring (Fast Modulo Multiplication)
  639. Generate a pythagoras triplet from a single integer
  640. Total no of 1's in numbers
  641. Products of ranges in an array
  642. Given a large number, check if a subsequence of digits is divisible by 8
  643. Number of subsequences as "ab" in a string repeated K times
  644. Maximum of smallest possible area that can get with exactly k cut of given rectangular
  645. Finding the best fit rectangle that covers a given point
  646. Icosagonal number
  647. Pair formation such that maximum pair sum is minimized
  648. Check whether a number can be represented by sum of two squares
  649. Maximum and Minimum value of a quadratic function
  650. Count different numbers that can be generated such that there digits sum is equal to 'n'
  651. Minimum gcd operations to make all array elements one
  652. Prime factors of a big number
  653. One line function for factorial of a number
  654. Find element in array that divides all array elements
  655. Program to swap upper diagonal elements with lower diagonal elements of matrix.
  656. Check if a number is positive, negative or zero using bit operators
  657. Check if a large number is divisible by 13 or not
  658. Smallest number whose set bits are maximum in a given range
  659. Minimize (max(A[i], B[j], C[k]) - min(A[i], B[j], C[k])) of three different sorted arrays
  660. Find combined mean and variance of two series
  661. Largest number with binary representation is m 1's and m-1 0's
  662. Prime Numbers
  663. Deserium Number
  664. Probability of a random pair being the maximum weighted pair
  665. Number of n digit stepping numbers
  666. Find if a number is part of AP whose first element and difference are given
  667. Program to find the minimum (or maximum) element of an array
  668. Find n-th term in series 1 2 2 3 3 3 4 4 4 4....
  669. Find the sum of the series 1+11+111+1111+..... upto n terms
  670. Sum of the Series 1 + x/1 + x^2/2 + x^3/3 + .. + x^n/n
  671. Find n-th term of series 1, 3, 6, 10, 15, 21...
  672. Sum of the series 1, 3, 6, 10... (Triangular Numbers)
  673. Program to calculate distance between two points
  674. Find trace of matrix formed by adding Row-major and Column-major order of same matrix
  675. n-th term in series 2, 12, 36, 80, 150....
  676. Program to find smallest difference of angles of two parts of a given circle
  677. Check for integer overflow on multiplication
  678. Even-odd turn game with two integers
  679. Sum of first n even numbers
  680. Program to find the number of region in Planar Graph
  681. Sum of squares of first n natural numbers
  682. Sum of natural numbers using recursion
  683. Schröder–Hipparchus number
  684. The painter's partition problem | Set 2
  685. Find the number of stair steps
  686. Sexy Prime
  687. Program to find third side of triangle using law of cosines
  688. Narcissistic number
  689. Count pairs in array whose sum is divisible by 4
  690. Program to determine the quadrant of the cartesian plane
  691. Motzkin number
  692. Probability of choosing a random pair with maximum sum in an array
  693. AKS Primality Test
  694. N-th polite number
  695. Find first and last digits of a number
  696. Break a number such that sum of maximum divisors of all parts is minimum
  697. Count numbers with unit digit k in given range
  698. Sum of squares of first n natural numbers
  699. Find last index of a character in a string
  700. Count of suffix increment/decrement operations to construct a given array
  701. Program to compute division upto n decimal places
  702. Check whether second string can be formed from characters of first string
  703. Program to check if tank will overflow, underflow or filled in given time
  704. Maximize volume of cuboid with given sum of sides
  705. Newman–Shanks–Williams prime
  706. Program to check if matrix is lower triangular
  707. Program to find Perimeter / Circumference of Square and Rectangle
  708. Largest number that divides x and is co-prime with y
  709. Pascal Matrix
  710. Check if given number is Emirp Number or not
  711. Minimum insertions to make a Co-prime array
  712. Program to check if water tank overflows when n solid balls are dipped in the water tank
  713. Find largest prime factor of a number
  714. Program for Binomial Coefficients table
  715. Rearrange array such that even positioned are greater than odd
  716. Sum of the series 1 + (1+2) + (1+2+3) + (1+2+3+4) + ...... + (1+2+3+4+...+n)
  717. Count number of increasing subsequences of size k
  718. Sum of all divisors from 1 to n
  719. Minimum flip required to make Binary Matrix symmetric
  720. Sum of Manhattan distances between all pairs of points
  721. Decimal to binary number using recursion
  722. Check if n is divisible by power of 2 without using arithmetic operators
  723. Multiplication with a power of 2
  724. Section formula (Point that divides a line in given ratio)
  725. Find the distance covered to collect items at equal distances
  726. Program to calculate area and volume of a Tetrahedron
  727. Maximum binomial coefficient term value
  728. Sum of digit of a number using recursion
  729. Program to print triangular number series till n
  730. Program to convert given number of days in terms of Years, Weeks and Days
  731. Leibniz harmonic triangle
  732. Maximum possible elements which are divisible by 2
  733. Check whether given floating point number is even or odd
  734. Euler Method for solving differential equation
  735. Program for triangular patterns of alphabets
  736. Find last k digits in product of an array numbers
  737. Binary to Gray code using recursion
  738. Find nth Fibonacci number using Golden ratio
  739. Check if it is possible to make array equal by doubling or tripling
  740. Count subsequence of length three in a given string
  741. Program to get the Sum of series: 1 - x^2/2! + x^4/4! -.... upto nth term
  742. Special two digit number
  743. Program to find the sum of a Series (1*1) + (2*2) + (3*3) + (4*4) + (5*5) + ... + (n*n)
  744. Trinomial Triangle
  745. Value of k-th index of a series formed by append and insert MEX in middle
  746. Newman-Conway Sequence
  747. Round the given number to nearest multiple of 10
  748. Twin Prime Numbers
  749. Program to print characters present at prime indexes in a given string
  750. Program for Simpson's 1/3 Rule
  751. Program to find sum of series 1 + 2 + 2 + 3 + 3 + 3 + . . . + n
  752. Sum of squares of binomial coefficients
  753. Sum of the series 2 + (2+4) + (2+4+6) + (2+4+6+8) + …… + (2+4+6+8+….+2n)
  754. Sum of Arithmetic Geometric Sequence
  755. Range Query on array whose each element is XOR of index value and previous element
  756. Check if array contains contiguous integers with duplicates allowed
  757. Decagonal Numbers
  758. Program to determine focal length of a spherical mirror
  759. Count numbers in range L-R that are divisible by all of its non-zero digits
  760. Count ways to reach the nth stair using step 1, 2 or 3
  761. Find remainder of array multiplication divided by n
  762. Program for Stair Case Patterns
  763. Check if all digits of a number divide it
  764. Find last element after deleting every second element in array of n integers
  765. Find the average of first N natural numbers
  766. Program to convert Centimeter to Feet and Inches
  767. Recursive sum of digit in n^x, where n and x are very large
  768. Possible to make a divisible by 3 number using all digits in an array
  769. Program to print the pattern ‘D’
  770. Kronecker Product of two matrices
  771. C Program for Find the perimeter of a cylinder
  772. Program to calculate area of a Tetrahedron
  773. Median and Mode using Counting Sort
  774. Aliquot sum
  775. Find unit digit of x raised to power y
  776. Jacobsthal and Jacobsthal-Lucas numbers
  777. Product of 2 Numbers using Recursion
  778. Sum of fourth powers of the first n natural numbers
  779. Number of substrings with odd decimal value in a binary string
  780. Closest numbers from a list of unsorted integers
  781. Sum of the series 0.6, 0.06, 0.006, 0.0006, ...to n terms
  782. Sum of the series 0.7, 0.77, 0.777, ... upto n terms
  783. Wave Patterns
  784. Smallest number with sum of digits as N and divisible by 10^N
  785. Program to check diagonal matrix and scalar matrix
  786. Sum of fifth powers of the first n natural numbers
  787. Sum of fourth power of first n even natural numbers
  788. Trimorphic Number
  789. Perfect Square String
  790. Print the pyramid pattern with given height and minimum number of stars
  791. Count number of trailing zeros in product of array
  792. Find the position of the last removed element from the array
  793. Generate all the binary number from 0 to n
  794. Toggle bits of a number except first and last bits
  795. Count square and non-square numbers before n
  796. Program to print non square numbers
  797. Sum of fourth powers of first n odd natural numbers
  798. Making elements distinct in a sorted array by minimum increments
  799. Find the Number which contain the digit d
  800. Find N integers with given difference between product and sum
  801. Find if it is possible to get a ratio from given ranges of costs and quantities
  802. First uppercase letter in a string (Iterative and Recursive)
  803. Check if the given number K is enough to reach the end of an array
  804. Maximum difference of zeros and ones in binary string | Set 2 (O(n) time)
  805. Program to implement t-test
  806. Set all odd bits of a number
  807. Cartesian Product of Two Sets
  808. Sum of the alphabetical values of the characters of a string
  809. Sum of series 2/3 - 4/5 + 6/7 - 8/9 + ------- upto n terms
  810. Average of first n odd naturals numbers
  811. Average of first n even natural numbers
  812. Sum of the series 1 / 1 + (1 + 2) / (1 * 2) + (1 + 2 + 3) / (1 * 2 * 3) + - - - - - - upto n terms.
  813. Set all even bits of a number
  814. Space efficient iterative method to Fibonacci number
  815. Divisibility by 12 for a large number
  816. Sum of series 1^2 + 3^2 + 5^2 + . . . + (2*n - 1)^2
  817. Program to find the mid-point of a line
  818. Print Fibonacci Series in reverse order
  819. Square Free Number
  820. Number of distinct subsets of a set
  821. Recursive program for prime number
  822. Count pairs from two sorted matrices with given sum
  823. Find the center of the circle using endpoints of diameter
  824. Leaf nodes from Preorder of a Binary Search Tree (Using Recursion)
  825. Nonagonal number
  826. Tomohiko Sakamoto's Algorithm- Finding the day of the week
  827. Remove all outgoing edges except edge with minimum weight
  828. Sum of Series (n^2-1^2) + 2(n^2-2^2) +....n(n^2-n^2)
  829. Check if a number is sandwiched between primes
  830. Print a matrix in Reverse Wave Form
  831. Minimum number of mails required to distribute all the questions
  832. Find n-th term of series 3, 9, 21, 41, 71...
  833. Program to check Plus Perfect Number
  834. Area of a Hexagon
  835. Sum of the series 5+55+555+.. up to n terms
  836. Sum of consecutive two elements in a array
  837. Inverse Permutation
  838. Program to print Swastika Pattern
  839. Front and Back Search in unsorted array
  840. Non-Repeating Element
  841. Check if a given circle lies completely inside the ring formed by two concentric circles
  842. Program for N-th term of Geometric Progression series
  843. Time when minute hand and hour hand coincide
  844. Area of hexagon with given diagonal length
  845. Sum of largest divisible powers of p (a prime number) in a range
  846. Maximum XOR-value of at-most k-elements from 1 to n
  847. Fast average of two numbers without division
  848. Program for N-th term of Arithmetic Progression series
  849. Octahedral Number
  850. Program to print GP (Geometric Progression)
  851. Program to print Arithmetic Progression series
  852. Check if given number is perfect square
  853. Maximum sum of increasing order elements from n arrays
  854. Primality Test | Set 5(Using Lucas-Lehmer Series)
  855. Minimum swaps required to bring all elements less than or equal to k together
  856. Check whether a given matrix is orthogonal or not
  857. Power of a prime number ‘r’ in n!
  858. Print bitwise AND set of a number N
  859. Division without using '/' operator
  860. Print first n Fibonacci Numbers using direct formula
  861. N-th term of George Cantor set of rational numbers
  862. Find square root of number upto given precision using binary search
  863. Sum of n digit numbers divisible by a given number
  864. Check if a line passes through the origin
  865. Product of given N fractions in reduced form
  866. Rencontres Number (Counting partial derangements)
  867. Fermat's Last Theorem
  868. Program to calculate area of Circumcircle of an Equilateral Triangle
  869. Probability for three randomly chosen numbers to be in AP
  870. Sum of pairwise products
  871. Find the only repetitive element between 1 to n-1
  872. Number of subarrays with given product
  873. Find n-th Fortunate Number
  874. Sum of each element raised to (prime-1) % prime
  875. Invert actual bits of a number
  876. Coordinates of rectangle with given points lie inside
  877. Undulating numbers
  878. Number of palindromic permutations | Set 1
  879. Centered Octadecagonal Number
  880. LCM of factorial and its neighbors
  881. Product of unique prime factors of a number
  882. Find sum of Series with n-th term as n^2 - (n-1)^2
  883. Minimum removals to make array sum even
  884. Variance and standard-deviation of a matrix
  885. Inclusion Exclusion principle and programming applications
  886. Triangular Matchstick Number
  887. Smallest triangular number larger than p
  888. Smallest even digits number not less than N
  889. Find n-th element from Stern's Diatomic Series
  890. Largest even digit number not greater than N
  891. Almost Perfect Number
  892. Count numbers from range whose prime factors are only 2 and 3
  893. Number with even sum of digits
  894. Sum of product of each element with each element after it
  895. Square pyramidal number (Sum of Squares)
  896. Squared triangular number (Sum of cubes)
  897. N-th number which is both a square and a cube
  898. Reach A and B by multiplying them with K and K^2 at every step
  899. Center element of matrix equals sums of half diagonals
  900. First digit in factorial of a number
  901. Number of integers with odd number of set bits
  902. Number of solutions to Modular Equations
  903. Legendre's Conjecture
  904. Decimal Equivalent of Gray Code and its Inverse
  905. Smallest greater elements in whole array
  906. Cube Free Numbers smaller than n
  907. Finding a Non Transitive Coprime Triplet in a Range
  908. Space optimization using bit manipulations
  909. Maximum Subarray Sum Excluding Certain Elements
  910. Equalizing array using increment under modulo 3
  911. Euler's Four Square Identity
  912. Tetrahedral Numbers
  913. Find duplicates in constant array with elements 0 to N-1 in O(1) space
  914. Bertrand's Postulate
  915. Number of subarrays having sum less than K
  916. Brahmagupta Fibonacci Identity
  917. Height of a complete binary tree (or Heap) with N nodes
  918. Reaching a point using clockwise or anticlockwise movements
  919. Maximum difference between groups of size two
  920. DFA for Strings not ending with "THE"
  921. Program to check if first and the last characters of string are equal
  922. Ways to split string such that each partition starts with distinct character
  923. Check if it possible to partition in k subarrays with equal sum
  924. Check if two people starting from different points ever meet
  925. Prime String
  926. Check whether a number is Emirpimes or not
  927. Number of prefix sum prime in given range query
  928. Number of Digits in a^b
  929. Moser-de Bruijn Sequence
  930. Hardy-Ramanujan Theorem
  931. Lagrange's four square theorem
  932. Nesbitt's Inequality
  933. Possible two sets from first N natural numbers difference of sums as D
  934. Sum of digits written in different bases from 2 to n-1
  935. Ways to multiply n elements with an associative operation
  936. Bitwise recursive addition of two integers
  937. Blum Integer
  938. Program for sum of cos(x) series
  939. Making zero array by decrementing pairs of adjacent
  940. Program for scalar multiplication of a matrix
  941. Check a number is odd or even without modulus operator
  942. Maximize array elements upto given number
  943. Repeated Unit Divisibility
  944. Maximum sum increasing subsequence from a prefix and a given element after prefix is must
  945. Sum of range in a series of first odd then even natural numbers
  946. Finding n-th term of series 3, 13, 42, 108, 235…
  947. Powers of 2 to required sum
  948. Check if all occurrences of a character appear together
  949. Sub array sum is prime or not
  950. Number of ways an array can be filled with 0s and 1s such that no consecutive elements are 1
  951. Check divisibility of binary string by 2^k
  952. Minimum product subset of an array
  953. Multiply any Number with 4 using Bitwise Operator
  954. Program to print Collatz Sequence
  955. Divisibility by 3 where each digit is the sum of all prefix digits modulo 10
  956. Program to print all the numbers divisible by 3 and 5 for a given number
  957. Maximum equlibrium sum in an array
  958. Making elements of two arrays same with minimum increment/decrement
  959. Maximum height of triangular arrangement of array values
  960. Program to print Reverse Floyd's triangle
  961. Minimum operations to make GCD of array a multiple of k
  962. Number of digits in the nth number made of given four digits
  963. Find a permutation such that number of indices for which gcd(p[i], i) > 1 is exactly K
  964. Cake number
  965. Dodecagonal number
  966. Centered triangular number
  967. Swapping four variables without temporary variable
  968. Dodecahedral number
  969. Centered tetrahedral number
  970. Centered heptagonal number
  971. Program for Centered Icosahedral Number
  972. Centered pentagonal number
  973. Centered Octahedral number
  974. Check if sum of divisors of two numbers are same
  975. Program to reverse a string (Iterative and Recursive)
  976. Hexadecagonal number
  977. Heptadecagonal number
  978. Pentatope number
  979. Sum of series 1*1! + 2*2! + ……..+ n*n!
  980. Product of first N factorials
  981. Centered Octagonal Number
  982. Icosahedral Number
  983. Enneadecagonal number
  984. Centered decagonal number
  985. Construct array having X subsequences with maximum difference smaller than d
  986. Centered nonadecagonal number
  987. Check if it is possible to make the given matrix increasing matrix or not
  988. Hendecagonal number
  989. Number of arrays of size N whose elements are positive integers and sum is K
  990. Centered Pentadecagonal Number
  991. Ways to choose three points with distance between the most distant points <= L
  992. Centered dodecahedral number
  993. Centered Hexadecagonal Number
  994. Icosidigonal number
  995. Tetradecagonal number
  996. Program to convert centimeter into meter and kilometer
  997. Centered tridecagonal number
  998. Minimum cost to equal all elements of array using two operation
  999. Number expressed as sum of five consecutive integers
  1000. Number of digits in N factorial to the power N
  1001. Set the rightmost unset bit
  1002. Check if given number is a power of d where d is a power of 2
  1003. How to turn on a particular bit in a number?
  1004. K-th smallest element after removing given integers from natural numbers | Set 2
  1005. Pentagonal Pyramidal Number
  1006. Maximize the bitwise OR of an array
  1007. Check if mirror image of a number is same if displayed in seven segment display
  1008. Number of Distinct Meeting Points on a Circular Road
  1009. Check if array sum can be made K by three operations on it
  1010. Sum of product of consecutive Binomial Coefficients
  1011. Check if the n-th term is odd or even in a Fibonacci like sequence
  1012. Heptagonal number
  1013. Pentatope number
  1014. Make array elements equal in Minimum Steps
  1015. Maximum Sum Decreasing Subsequence
  1016. Multiply the given number by 2 such that it is divisible by 10
  1017. Program to find greater value between a^n and b^n
  1018. Number of elements with even factors in the given range
  1019. Print all pairs with given sum
  1020. Print all triplets with given sum
  1021. Number of ones in the smallest repunit
  1022. Number of squares of maximum area in a rectangle
  1023. Stormer Numbers
  1024. Check if array can be divided into two sub-arrays such that their absolute difference is K
  1025. Compute power of power k times % m
  1026. Program to check similarity of given two triangles
  1027. Program to calculate the Surface Area of a Triangular Prism
  1028. Maximum number by concatenating every element in a rotation of an array
  1029. Memoization (1D, 2D and 3D)
  1030. Number of triangles in a plane if no more than two points are collinear
  1031. Make all numbers of an array equal
  1032. Remove leading zeros from an array
  1033. Number of odd and even results for every value of x in range [min, max] after performing N steps
  1034. Reduce string to shortest length by deleting a pair of same adjacent characters
  1035. Total number of ways to place X and Y at n places such that no two X are together
  1036. Maximum number of ones in a N*N matrix with given constraints
  1037. Program to find the Area and Volume of Icosahedron
  1038. Element which occurs consecutively in a given subarray more than or equal to K times
  1039. Check if concatenation of two strings is balanced or not
  1040. Sum of all elements up to Nth row in a Pascal triangle
  1041. Check if a number has same number of set and unset bits
  1042. Check if the large number formed is divisible by 41 or not
  1043. Program to determine the octant of the axial plane
  1044. Number of different cyclic paths of length N in a tetrahedron
  1045. Find the Nth Mosaic number
  1046. Find index of first occurrence when an unsorted array is sorted
  1047. Mirror of a point through a 3 D plane
  1048. Print all the combinations of N elements by changing sign such that their sum is divisible by M
  1049. Sorting without comparison of elements
  1050. Sum of similarities of string with all of its suffixes
  1051. Find the multiple of x which is closest to a^b
  1052. Calculating n-th real root using binary search
  1053. Maximum power of jump required to reach the end of string
  1054. Check if bits in range L to R of two numbers are complement of each other or not
  1055. Longest subsequence whose average is less than K
  1056. Convert time from 24 hour clock to 12 hour clock format
  1057. Count pairs with Bitwise XOR as ODD number
  1058. Tetranacci Numbers
  1059. Count the number of pairs that have column sum greater than row sum
  1060. Check if a number is in given base or not
  1061. Number of possible pairs of Hypotenuse and Area to form right angled triangle
  1062. Modulus of all pairwise consecutive elements in an Array
  1063. Find the Missing Number in a sorted array
  1064. Maximum set bit sum in array without considering adjacent elements
  1065. Comparing leading zeros in binary representations of two numbers
  1066. Find sum of inverse of the divisors when sum of divisors and the number is given
  1067. Minimum element in a max heap
  1068. Majority element in a circular array of 0's and 1's
  1069. Value in a given range with maximum XOR
  1070. Count number of triplets with product equal to given number | Set 2
  1071. Ways to place K bishops on an N×N chessboard so that no two attack
  1072. Count pairs in a sorted array whose product is less than k
  1073. Program to check whether 4 points in a 3-D plane are Coplanar
  1074. Find the largest twins in given range
  1075. Number of divisors of a given number N which are divisible by K
  1076. Number of prime pairs in an array
  1077. Find out the correct position of the ball after shuffling
  1078. Find Multiples of 2 or 3 or 5 less than or equal to N
  1079. 2's compliment for a givin string using XOR
  1080. Recursive program to print triangular patterns
  1081. Find the number after successive division
  1082. Program to calculate Root Mean Square
  1083. Find any pair with given GCD and LCM
  1084. Count the number of ways to traverse a Matrix
  1085. Count number of integers less than or equal to N which has exactly 9 divisors
  1086. Count Unary Numbers in a Range
  1087. Find number of magical pairs of string of length L
  1088. Count the number of carry operations required to add two numbers
  1089. Number of values of b such that a = b + (a^b)
  1090. Program to find the Nth Harmonic Number
  1091. Program to find the Radius of the incircle of the triangle
  1092. Program to calculate the value of nCr Efficiently
  1093. Check if an array is Wave Array
  1094. Find 'N' number of solutions with the given inequality equations
  1095. Minimum changes required to make first string substring of second string
  1096. Print a number strictly less than a given number such that all its digits are distinct.
  1097. Number of solutions of n = x + n ⊕ x
  1098. Area of a circle inscribed in a rectangle which is inscribed in a semicircle
  1099. Sum of first N natural numbers by taking powers of 2 as negative number
  1100. Check if a number has digits in the given Order
  1101. How to access elements of a Square Matrix
  1102. Area of a square inscribed in a circle which is inscribed in a hexagon
  1103. Subset array sum by generating all the subsets
  1104. Sum of the first N Prime numbers
  1105. Radius of the biggest possible circle inscribed in rhombus which in turn is inscribed in a rectangle
  1106. Find the total Number of Digits in (N!)N
  1107. Check if the sum of digits of a number N divides it
  1108. Sum of all the prime numbers in a given range
  1109. Find the unit place digit of sum of N factorials
  1110. Sum of squares of Fibonacci numbers
  1111. Find normal at a given point on the curve
  1112. Program to find the side of the Octagon inscribed within the square
  1113. Find nth Term of the Series 1 2 2 4 4 4 4 8 8 8 8 8 8 8 8 ...
  1114. Number of distinct integers obtained by lcm(X, N)/X
  1115. Program to Calculate the Perimeter of a Decagon
  1116. Count of common multiples of two numbers in a range
  1117. Program to calculate area of inner circle which passes through center of outer circle and touches its circumference
  1118. Program to find sum of 1 + x/2! + x^2/3! +...+x^n/(n+1)!
  1119. Maximum count of equal numbers in an array after performing given operations
  1120. Check if the given vectors are at equilibrium or not
  1121. Find if a molecule can be formed from 3 atoms using their valence numbers
  1122. Largest number divisible by 90 that can be made using 0 and 5
  1123. Count number of ordered pairs with Even and Odd Product
  1124. Minimum and Maximum element of an array which is divisible by a given number k
  1125. Print a number containing K digits with digital root D
  1126. Minimum number of bottles required to fill K glasses
  1127. Find sum of N-th group of Natural Numbers
  1128. Sum of first N natural numbers which are divisible by 2 and 7
  1129. Section formula for 3 D
  1130. Triplet pair (a, b, c) such that a+b, b+c and a+c are all divisible by K
  1131. Print array elements in alternatively increasing and decreasing order
  1132. Check whether bitwise OR of N numbers is Even or Odd
  1133. Check if a number is an Achilles number or not
  1134. Minimum boxes required to carry all gifts
  1135. Program to find count of numbers having odd number of divisors in given range
  1136. Check if a string contains a palindromic sub-string of even length
  1137. Find number of Positional Elements
  1138. Round to next smaller multiple of 8
  1139. Number of leading zeros in binary representation of a given number
  1140. Replace every element of the array by product of all other elements
  1141. Number of segments where all elements are greater than X
  1142. Replace every array element by sum of previous and next
  1143. Rearrange an array to maximize i*arr[i]
  1144. Calculate volume and surface area of Torus
  1145. String matching with * (that matches with any) in any of the two strings
  1146. Assign other value to a variable from two possible values
  1147. Minimize Cost with Replacement with other allowed
  1148. Longest subarray with elements divisible by k
  1149. Primality test for the sum of digits at odd places of a number
  1150. Get maximum items when other items of total cost of an item are free
  1151. Find middle point segment from given segment lengths
  1152. Count subarrays with all elements greater than K
  1153. Equation of ellipse from its focus, directrix, and eccentricity
  1154. Minimum number of operations required to reduce N to 1
  1155. Find the total marks obtained according to given marking scheme
  1156. Maximum area of rectangle possible with given perimeter
  1157. Area of decagon inscribed within the circle
  1158. Program to find the smallest element among three elements
  1159. N digit numbers divisible by 5 formed from the M digits
  1160. Find the sum of first N odd Fibonacci numbers
  1161. Number of cells in the right and left diagonals passing through (x, y) in a matrix
  1162. Count number less than N which are product of perfect squares
  1163. Smallest odd digits number not less than N
  1164. Minimum Cuts can be made in the Chessboard such that it is not divided into 2 parts
  1165. Largest number not greater than N all the digits of which are odd
  1166. Check if any permutation of a number is divisible by 3 and is Palindromic
  1167. Maximum sum and product of the M consecutive digits in a number
  1168. Partition an array such into maximum increasing segments
  1169. Minimum cuts required to divide the Circle into equal parts
  1170. Smallest subarray such that all elements are greater than K
  1171. Largest cube that can be inscribed within the sphere
  1172. Largest sphere that can be inscribed inside a cube
  1173. Program to find the profit or loss when CP of N items is equal to SP of M items
  1174. Change K elements so that (a1^2 + a2^2 + …+ aN^2 ) <= (a1 + a2 +…+ aN) becomes true
  1175. Find minimum operations needed to make an Array beautiful
  1176. Minimum number of cuts required to make circle segments equal sized
  1177. Game of stones
  1178. Find two numbers with sum and product both same as N
  1179. Number of matches required to find the winner
  1180. Maximum no. of apples that can be kept in a single basket
  1181. Fibonacci problem (Value of Fib(N)*Fib(N) - Fib(N-1) * Fib(N+1))
  1182. Find the player who rearranges the characters to get a palindrome string first
  1183. Count pairs of numbers from 1 to N with Product divisible by their Sum
  1184. Check if a number is formed by Concatenation of 1, 14 or 144 only
  1185. Program to find the sum of the series (1/a + 2/a^2 + 3/a^3 + ... + n/a^n)
  1186. Print a case where the given sorting algorithm fails
  1187. Probability of getting more value in third dice throw
  1188. Number of ways to swap two bit of s1 so that bitwise OR of s1 and s2 changes
  1189. Maximum number of parallelograms that can be made using the given length of line segments
  1190. Sum of all natural numbers in range L to R
  1191. Minimum steps to convert one binary string to other only using negation
  1192. Minimize the number of steps required to reach the end of the array
  1193. Program to print 'N' alphabet using the number pattern from 1 to n
  1194. Largest cube that can be inscribed within a right circular cylinder
  1195. Count pairs with Bitwise XOR as EVEN number
  1196. Number of pairs with Bitwise OR as Odd number
  1197. Count pairs with Bitwise-AND as even number
  1198. Count Numbers with N digits which consists of even number of 0’s
  1199. Find determinant of matrix generated by array rotation
  1200. Largest right circular cylinder that can be inscribed within a cone
  1201. Nth number made up of odd digits only
  1202. Find minimum steps required to reach the end of a matrix | Set - 1
  1203. Find position of left most dis-similar bit for two numbers
  1204. Distance between two nodes of binary tree with node values from 1 to N
  1205. Range and Coefficient of range of Array
  1206. Minimum elements to change so that for an index i all elements on the left are -ve and all elements on the right are +ve
  1207. Program to find first N Iccanobif Numbers
  1208. Find the Nth term of the series 14, 28, 20, 40,.....
  1209. Minimum range increment operations to Sort an array
  1210. Find the sum of Eigen Values of the given N*N matrix
  1211. Largest number less than N with digit sum greater than the digit sum of N
  1212. Check If every group of a's is followed by a group of b's of same length
  1213. Sum of first N natural numbers which are divisible by X or Y
  1214. Smallest Pair Sum in an array
  1215. Construct a binary string following the given constraints
  1216. Larger of a^b or b^a (a raised to power b or b raised to power a)
  1217. Find the only different element in an array
  1218. Reduce the array to a single element with the given operation
  1219. Number of Binary Strings of length N with K adjacent Set Bits
  1220. Sum of the multiples of two numbers below N
  1221. Split a number into 3 parts such that none of the parts is divisible by 3
  1222. Closest perfect square and its distance
  1223. Count sub-sets that satisfy the given condition
  1224. Integers from the range that are composed of a single distinct digit
  1225. Find nth Hermite number
  1226. Lower Insertion Point
  1227. Longest Subsequence where index of next element is arr[arr[i] + i]
  1228. Minimum number of consecutive sequences that can be formed in an array
  1229. Sum of elements from an array having even parity
  1230. Side of a regular n-sided polygon circumscribed in a circle
  1231. Check if the sum of distinct digits of two integers are equal
  1232. Largest Square that can be inscribed within a hexagon
  1233. Program to check the number is Palindrome or not
  1234. Find the maximum possible value of the minimum value of modified array
  1235. Diagonal of a Regular Hexagon
  1236. Number of array elements derivable from D after performing certain operations
  1237. Pairs from an array that satisfy the given condition
  1238. Largest hexagon that can be inscribed within a square
  1239. Count common prime factors of two numbers
  1240. Diagonal of a Regular Decagon
  1241. Generate all rotations of a number
  1242. Minimum absolute difference between N and a power of 2
  1243. Maximum value of arr[i] % arr[j] for a given array
  1244. Program to find nth term of the series 1 4 15 24 45 60 92
  1245. Program to delete Nth digit of a Number
  1246. First and Last Three Bits
  1247. Smallest perfect square divisible by all elements of an array
  1248. Ways to paint N paintings such that adjacent paintings don't have same colors
  1249. Largest square that can be inscribed within a hexagon which is inscribed within an equilateral triangle
  1250. Check whether two straight lines are orthogonal or not
  1251. Program for Area Of Square after N-th fold
  1252. Make all elements of an array equal with the given operation
  1253. Count of pairs of (i, j) such that ((n % i) % j) % n is maximized
  1254. Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
  1255. Minimum positive integer divisible by C and is not in range [A, B]
  1256. Filling diagonal to make the sum of every row, column and diagonal equal of 3x3 matrix
  1257. Closest sum partition (into two subsets) of numbers from 1 to n
  1258. Minimum operations required to make all the array elements equal
  1259. Check whether Bishop can take down Pawn or not
  1260. Count the total number of squares that can be visited by Bishop in one move
  1261. Minimum spanning tree cost of given Graphs
  1262. Maximum sum after repeatedly dividing N by a divisor
  1263. Minimum steps to make the product of the array equal to 1
  1264. Find the values of X and Y in the Given Equations
  1265. Choose points from two ranges such that no point lies in both the ranges
  1266. Find maximum operations to reduce N to 1
  1267. Find frequency of smallest value in an array
  1268. Find Intersection of all Intervals
  1269. Maximize big when both big and small can be exchanged
  1270. Minimum number of operations on an array to make all elements 0
  1271. Count the number of rhombi possible inside a rectangle of given size
  1272. Program to calculate the area between two Concentric Circles
  1273. Count of quadruplets from range [L, R] having GCD equal to K
  1274. Total number of days taken to complete the task if after certain days one person leaves
  1275. Composite numbers with digit sum 1
  1276. Length of the longest alternating subarray
  1277. Numbers less than N that are perfect cubes and the sum of their digits reduced to a single digit is 1
  1278. Minimize the sum of squares of sum of N/2 paired formed by N numbers
  1279. Maximum positive integer divisible by C and is in the range [A, B]
  1280. Position of a person diametrically opposite on a circle
  1281. Longest Sub-array with maximum average value
  1282. Ways to Remove Edges from a Complete Graph to make Odd Edges
  1283. Check if product of digits of a number at even and odd places is equal
  1284. Minimum matches the team needs to win to qualify
  1285. Find smallest number K such that K % p = 0 and q % K = 0
  1286. Sum of all odd factors of numbers in the range [l, r]
  1287. Count permutations that are first decreasing then increasing.
  1288. Count numbers having N 0's and and M 1's with no leading zeros
  1289. Print the balanced bracket expression using given brackets
  1290. Count of numbers having only 1 set bit in the range [0, n]
  1291. Encrypt a string by repeating i-th character i times
  1292. Minimum cost to form a number X by adding up powers of 2
  1293. Kth odd number in an array
  1294. Check if the given array is mirror-inverse
  1295. Count pairs in array whose sum is divisible by K
  1296. Count how many times the given digital clock shows identical digits
  1297. Find maximum N such that the sum of square of first N natural numbers is not more than X
  1298. Generate array with minimum sum which can be deleted in P steps
  1299. Count rotations of N which are Odd and Even
  1300. Count of pairs from 1 to a and 1 to b whose sum is divisible by N
  1301. Check if Matrix remains unchanged after row reversals
  1302. Smallest and Largest N-digit perfect squares
  1303. Minimum length of square to contain at least half of the given Coordinates
  1304. Largest number N which can be reduced to 0 in K steps
  1305. Find the number of ways to divide number into four parts such that a = c and b = d
  1306. Smallest index in the given array that satisfies the given condition
  1307. Programs for printing pyramid patterns using recursion
  1308. Predict the winner in Coin Game
  1309. Number of ways to go from one point to another in a grid
  1310. Replace array elements by sum of next two consecutive elements
  1311. Maximum array sum that can be obtained after exactly k changes
  1312. Count the number of non-increasing subarrays
  1313. Maximum sum after K consecutive deletions
  1314. Number of ways for playing first move optimally in a NIM game
  1315. Find the value of N when F(N) = f(a)+f(b) where a+b is the minimum possible and a*b = N
  1316. Remove elements to make array sorted
  1317. Count of quadruplets with given Sum
  1318. Maximize the maximum subarray sum after removing atmost one element
  1319. Product of all Subsequences of size K except the minimum and maximum Elements
  1320. Print all numbers whose set of prime factors is a subset of the set of the prime factors of X
  1321. Check if a number from every row can be selected such that xor of the numbers is greater than zero
  1322. Area of triangle formed by the axes of co-ordinates and a given straight line
  1323. Find maximum product of digits among numbers less than or equal to N
  1324. Find the minimum sum of distance to A and B from any integer point in a ring of size N
  1325. Find the position of box which occupies the given ball
  1326. Check if string can be made lexicographically smaller by reversing any substring
  1327. Number of character corrections in the given strings to make them equal
  1328. Maximum length of subarray such that sum of the subarray is even
  1329. Given two arrays count all pairs whose sum is an odd number
  1330. Print steps to make a number in form of 2^X - 1
  1331. Length of the direct common tangent between two externally touching circles
  1332. Radius of the circle when the width and height of an arc is given
  1333. Length of direct common tangent between the two non-intersecting Circles
  1334. Maximize the given number by replacing a segment of digits with the alternate digits given
  1335. Minimum number of cubes whose sum equals to given number N
  1336. Maximum non-attacking Knights that can be placed on an N*M Chessboard
  1337. Convert given integer X to the form 2^N - 1
  1338. Count number of 1s in the array after N moves
  1339. Check if given Preorder, Inorder and Postorder traversals are of same tree | Set 2
  1340. Area of plot remaining at the end
  1341. Find permutation of first N natural numbers that satisfies the given condition
  1342. Compare sum of first N-1 elements to Nth element of an array
  1343. Choose X such that (A xor X) + (B xor X) is minimized
  1344. Program to print an array in Pendulum Arrangement with constant space
  1345. Maximum number of edges in Bipartite graph
  1346. Minimum integer such that it leaves a remainder 1 on dividing with any element from the range [2, N]
  1347. Generate an Array in which count of even and odd sum sub-arrays are E and O respectively
  1348. Program to find the rate percentage from compound interest of consecutive years
  1349. Count Pairs from two arrays with even sum
  1350. Rearrange the array to maximize the number of primes in prefix sum of the array
  1351. Ratio of the distance between the centers of the circles and the point of intersection of two transverse common tangents to the circles
  1352. Create a sequence whose XOR of elements is y
  1353. Minimum sum of two numbers formed from digits of an array in O(n)
  1354. Count of distinct rectangles inscribed in an equilateral triangle
  1355. Bitwise AND of sub-array closest to K
  1356. Check if the number is even or odd whose digits and base (radix) is given
  1357. Check whether a number can be represented as sum of K distinct positive integers
  1358. Find minimum steps required to reach the end of a matrix | Set 2
  1359. Count index pairs which satisfy the given condition
  1360. Number of common tangents between two circles if their centers and radius is given
  1361. Number of trees whose sum of degrees of all the vertices is L
  1362. Check if a circle lies inside another circle or not
  1363. Angle subtended by the chord when the angle subtended by another chord of same length is given
  1364. Queries for bitwise OR in the index range [L, R] of the given array
  1365. Queries for bitwise AND in the index range [L, R] of the given array
  1366. Find average of two numbers using bit operation
  1367. Find if nCr is divisible by the given prime
  1368. Maximum possible middle element of the array after deleting exactly k elements
  1369. Longest substring such that no three consecutive characters are same
  1370. Distance of chord from center when distance between center and another equal length chord is given
  1371. Subset with sum closest to zero
  1372. Check whether we can sort two arrays by swapping A[i] and B[i]
  1373. 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
  1374. Distance between centers of two intersecting circles if the radii and common chord length is given
  1375. Length of the chord the circle if length of the another chord which is equally inclined through the diameter is given
  1376. Print the node with the maximum degree in the prufer sequence
  1377. Queries for the difference between the count of composite and prime numbers in a given range
  1378. Maximise matrix sum by following the given Path
  1379. Check whether a subsequence exists with sum equal to k if arr[i]> 2*arr[i-1]
  1380. Find the number of Chicks in a Zoo at Nth day
  1381. Find maximum path sum in a 2D matrix when exactly two left moves are allowed
  1382. Minimum count of elements that sums to a given number
  1383. Maximum sum of non-overlapping subarrays of length atmost K
  1384. Queries to check whether all the elements can be made positive by flipping signs exactly K times
  1385. Check if two numbers have same number of digits
  1386. Maximum distance between two unequal elements
  1387. Minimum length subarray of 1s in a Binary Array
  1388. Find row with maximum and minimum number of zeroes in given Matrix
  1389. Number of 0s and 1s at prime positions in the given array
  1390. Maximum water that can be stored between two buildings
  1391. Sum of all perfect numbers present in an array
  1392. Maximum subset sum such that no two elements in set have same digit in them
  1393. Program to calculate angle on circumference subtended by the chord when the central angle subtended by the chord is given
  1394. Length of longest sub-array with maximum arithmetic mean.
  1395. Sum of all mersenne numbers present in an array
  1396. Longest sub-sequence that satisfies the given conditions
  1397. Maximum sub-sequence sum such that indices of any two adjacent elements differs at least by 3
  1398. Print all the sub diagonal elements of the given square matrix
  1399. Number of ways to get a given sum with n number of m-faced dices
  1400. Total number of possible Binary Search Trees using Catalan Number
  1401. Partition first N natural number into two sets such that their sum is not coprime
  1402. Find the maximum number of elements divisible by 3
  1403. Find maximum value of the last element after reducing the array with given operations
  1404. Seating arrangement of N boys sitting around a round table such that two particular boys sit together
  1405. Find optimal weights which can be used to weigh all the weights in the range [1, X]
  1406. Number of ways of writing N as a sum of 4 squares
  1407. Print first N terms of Lower Wythoff sequence
  1408. Count of numbers whose 0th and Nth bits are set
  1409. Find a number containing N - 1 set bits at even positions from the right
  1410. Number of triplets such that each value is less than N and each pair sum is a multiple of K
  1411. Probability of getting more heads than tails when N biased coins are tossed
  1412. Minimum steps required to convert the matrix into lower hessenberg matrix
  1413. Program to calculate the area of Kite
  1414. Find the number which when added to the given ratio a : b, the ratio changes to c : d
  1415. Smallest perfect cube in an array
  1416. Number of ways of distributing N identical objects in R distinct groups with no groups empty
  1417. Total ways of choosing X men and Y women from a total of M men and W women
  1418. Find the position of the given row in a 2-D array
  1419. Minimum number of steps to convert a given matrix into Diagonally Dominant Matrix
  1420. Remove an element to maximize the GCD of the given array
  1421. Number of hours after which the second person moves ahead of the first person if they travel at a given speed
  1422. Sequence with sum K and minimum sum of absolute differences between consecutive elements
  1423. Cost Based Tower of Hanoi
  1424. Remove Minimum coins such that absolute difference between any two piles is less than K
  1425. Find the count of M character words which have at least one character repeated
  1426. Count pairs with given sum | Set 2
  1427. Count pairs in an array such that the absolute difference between them is ≥ K
  1428. Maximum value after merging all elements in the array
  1429. Find area of the larger circle when radius of the smaller circle and difference in the area is given
  1430. Count of all possible pairs of disjoint subsets of integers from 1 to N
  1431. Sum of N terms in the expansion of Arcsin(x)
  1432. Find the ln(X) and log10X with the help of expansion
  1433. Print all the permutation of length L using the elements of an array | Iterative
  1434. Sum of elements till the smallest index such that there are no even numbers to its right
  1435. Count the number of elements which are greater than any of element on right side of an array
  1436. Find an N x N grid whose xor of every row and column is equal
  1437. Check if an array is increasing or decreasing
  1438. Find Kth element in an array containing odd elements first and then even elements
  1439. Nth Fibonacci number using Pell's equation
  1440. Check if a cycle of length 3 exists or not in a graph that satisfy a given condition
  1441. Sum of last digit of all integers from 1 to N divisible by M
  1442. Comparing X^Y and Y^X for very large values of X and Y
  1443. Count the values greater than X in the modified array
  1444. Count of distinct graphs that can be formed with N vertices
  1445. Divide first N natural numbers into 3 equal sum subsets
  1446. Find two co-prime integers such that the first divides A and the second divides B
  1447. Maximum OR value of a pair in an array
  1448. Program for Mobius Function | Set 2
  1449. Generate an array having Bitwise AND of the previous and the next element
  1450. Maximum items that can be bought with the given type of coins
  1451. Check whether bitwise AND of N numbers is Even or Odd
  1452. Check if the sum of digits of number is divisible by all of its digits
  1453. Replace elements with absolute difference of smallest element on left and largest element on right
  1454. Find subarray with given sum with negatives allowed in constant space
  1455. Program to find the number from given holes
  1456. Count of elements which are equal to the XOR of the next two elements