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 | FilesystemIterator setFlags() Function
  15. PHP | IntlCalendar isWeekend() Function
  16. PHP | IntlCalendar roll() Function
  17. PHP | IntlCalendar set() Function
  18. Cake number
  19. Dodecagonal number
  20. Centered triangular number
  21. Strobogrammatic number
  22. Dodecahedral number
  23. Centered tetrahedral number
  24. Centered heptagonal number
  25. Program for Centered Icosahedral Number
  26. Centered Square Number
  27. Centered pentagonal number
  28. Centered Octahedral number
  29. Hexadecagonal number
  30. C# | EndsWith() Method
  31. Heptadecagonal number
  32. PHP | array_udiff() Function
  33. Centered Octagonal Number
  34. PHP | array_uintersect_assoc() Function
  35. Icosahedral Number
  36. PHP | array_diff_ukey() Function
  37. C# | Boxing And Unboxing
  38. p5.js | redraw() Function
  39. Enneadecagonal number
  40. Centered decagonal number
  41. PHP | array_intersect_uassoc() Function
  42. Centered nonadecagonal number
  43. PHP | array_udiff_assoc() Function
  44. Hendecagonal number
  45. Centered Pentadecagonal Number
  46. Centered dodecahedral number
  47. Centered Hexadecagonal Number
  48. Icosidigonal number
  49. Tetradecagonal number
  50. PHP | vsprintf() Function
  51. Centered tridecagonal number
  52. PHP | ctype_upper() Function
  53. PHP | ctype_digit() (Checks for numeric value)
  54. PHP | ctype_xdigit() Function
  55. PHP | ctype_space() Function
  56. PHP | ctype_alnum() (Check for Alphanumeric)
  57. PHP | ctype_punct() Function
  58. PHP | ctype_graph() Function
  59. PHP | ctype_alpha() (Checks for alphabetic value)
  60. PHP | ctype_cntrl() Function
  61. PHP | preg_grep() Function
  62. PHP | ereg_replace() Function
  63. Heptagonal number
  64. Pentatope number
  65. mktime() function in C++ STL
  66. PHP | Ds\Set allocate() Function
  67. PHP | Ds\Set capacity() Function
  68. HTML | <table> bgcolor Attribute
  69. PHP | convert_cyr_string() Function
  70. Program to find Simple Interest and Compound Interest in PL/SQL
  71. Area and Perimeter of Rectangle in PL/SQL
  72. Greatest number among three given numbers in PL/SQL
  73. Convert distance from km to meters and centimeters in PL/SQL
  74. Sum of digits equal to a given number in PL/SQL
  75. Area and Perimeter of a circle in PL/SQL
  76. PHP | random_bytes () Function
  77. PHP | random_int() Function
  78. Floyd's triangle in PL/SQL
  79. Count odd and even digits in a number in PL/SQL
  80. PHP | IntlChar::isJavaIDStart() Function
  81. PHP | IntlChar::isJavaSpaceChar() Function
  82. Perl | String Operators
  83. PHP | iconv() Function
  84. PHP | IntlChar::isdigit() Function
  85. C# | Math.Pow() Method
  86. PHP | IntlChar::isblank() Function
  87. C# | Math.Floor() Method
  88. C# | Math.Ceiling() Method
  89. PHP | IntlChar::isalpha() Function
  90. C# | Math Class Fields with Examples
  91. PHP | IntlChar::isbase() Function
  92. PHP | IntlChar::isalnum () Function
  93. C# | Char.TryParse () Method
  94. PHP | IntlChar::isUUppercase() Function
  95. PHP | IntlChar::isWhitespace() Function
  96. PHP | IntlChar::charDigitValue() Function
  97. PHP | IntlChar::isIDIgnorable() Function
  98. PHP | IntlChar::charName() Function
  99. PHP | IntlChar::charMirror() Function
  100. PHP | IntlChar::charAge() Function
  101. PHP | IntlChar::isUWhiteSpace() Function
  102. PHP | IntlChar::isUAlphabetic() Function
  103. PHP | IntlChar::isULowercase() Function
  104. PHP | IntlChar::isIDPart() Function
  105. PHP | IntlChar::isIDStart() Function
  106. PHP | IntlChar::isISOControl() Function
  107. PHP | IntlChar::totitle() Function
  108. PHP | IntlChar::isJavaIDPart() Function
  109. PHP | IntlChar::ord() Function
  110. PHP | IntlChar::chr() Function
  111. PHP | IntlChar::forDigit() Function
  112. Perl | Special Character Classes in Regular Expressions
  113. PHP | asort() Function
  114. PHP | krsort() Function
  115. PHP | ksort() Function
  116. C# | StartsWith() Method
  117. PHP | preg_split() Function
  118. C# | Math.DivRem() Method
  119. transform_inclusive_scan() function in C++
  120. HTML | <td> abbr Attribute
  121. HTML | <input> formtarget Attribute
  122. PHP | DirectoryIterator __toString() Function
  123. PHP | DirectoryIterator valid() Function
  124. PHP | Ds\Set clear() Function
  125. PHP | Ds\Set contains() Function
  126. PHP | Ds\Set add() Function
  127. PHP | Ds\Set copy() Function
  128. HTML | <img> alt Attribute
  129. HTML | <img> align Attribute
  130. HTML | DOM Input Password select() Method
  131. HTML | DOM Input Range step Property
  132. HTML | DOM Input Range min Property
  133. HTML | <area> download Attribute
  134. PHP | intl_is_failure() Function
  135. HTML | <area> alt Attribute
  136. HTML | <area> href Attribute
  137. HTML | <area> hreflang Attribute
  138. HTML | <area> coords Attribute
  139. HTML | <area> type Attribute
  140. HTML | <area> rel Attribute
  141. HTML | <button> type Attribute
  142. HTML | <button> name Attribute
  143. HTML | <th> scope Attribute
  144. PHP | Ds\Map allocate() Function
  145. PHP | Ds\Map capacity() Function
  146. HTML | <a> shape Attribute
  147. HTML | <a> type Attribute
  148. HTML | <a> rel Attribute
  149. HTML | <a> download Attribute
  150. PHP | Ds\Map intersect() Function
  151. HTML | <a> charset Attribute
  152. PHP | Ds\Map __construct() Function
  153. PHP | Ds\Map count() Function
  154. PHP | Ds\Map diff() Function
  155. PHP | Ds\Map filter() Function
  156. PHP | Ds\Map get() Function
  157. PHP | Ds\Deque __construct() Function
  158. PHP | Ds\Deque shift() Function
  159. PHP | Ds\Deque unshift() Function
  160. HTML | <img> border Attribute
  161. HTML | <img> height Attribute
  162. HTML | <img> width Attribute
  163. HTML | <img> src Attribute
  164. HTML | <font> face Attribute
  165. HTML | <frameset> rows Attribute
  166. HTML | <canvas> height Attribute
  167. HTML | <font> size Attribute
  168. HTML | <table> frame Attribute
  169. HTML | <frame> src Attribute
  170. HTML | <font> color Attribute
  171. HTML | <hr> width Attribute
  172. HTML | <hr> size Attribute
  173. HTML | <hr> noshade Attribute
  174. HTML | <hr> align Attribute
  175. HTML | <progress> value Attribute
  176. HTML | <frameset> cols Attribute
  177. HTML | <col> width Attribute
  178. HTML | <p> align Attribute
  179. HTML <table> align Attribute
  180. HTML | <table> border Attribute
  181. HTML | <table> cellpadding Attribute
  182. HTML | <table> cellspacing Attribute
  183. HTML | <table> rules Attribute
  184. HTML | <table> summary Attribute
  185. HTML | <td> valign Attribute
  186. HTML | <table> width Attribute
  187. HTML | <tbody> align Attribute
  188. HTML | <tbody> valign Attribute
  189. HTML | <td> width Attribute
  190. HTML | <td> height Attribute
  191. PHP | SplDoublyLinkedList add() Function
  192. PHP | SplDoublyLinkedList bottom() Function
  193. PHP | SplDoublyLinkedList count() function
  194. PHP | SplDoublyLinkedList current() Function
  195. PHP | SplDoublyLinkedList isEmpty() Function
  196. PHP | SplDoublyLinkedList key() Function
  197. PHP | SplDoublyLinkedList next() Function
  198. PHP | SplDoublyLinkedList offsetExists() Function
  199. PHP | SplDoublyLinkedList offsetGet() Function
  200. PHP | SplDoublyLinkedList offsetSet() Function
  201. PHP | SplDoublyLinkedList offsetUnset() Function
  202. PHP | SplDoublyLinkedList pop() Function
  203. PHP | SplDoublyLinkedList prev() Function
  204. PHP | SplDoublyLinkedList push() Function
  205. PHP | SplDoublyLinkedList rewind() Function
  206. PHP | SplDoublyLinkedList shift() Function
  207. PHP | SplDoublyLinkedList top() Function
  208. PHP | SplDoublyLinkedList unshift() Function
  209. HTML | <td> align Attribute
  210. HTML | <td> bgcolor Attribute
  211. HTML | <td> axis Attribute
  212. HTML | <tr> align Attribute
  213. HTML | <td> char Attribute
  214. HTML | <tr> valign Attribute
  215. HTML | <tr> bgcolor Attribute
  216. HTML | <th> abbr Attribute
  217. HTML | <th> align Attribute
  218. HTML | <th> bgcolor Attribute
  219. HTML | <th> axis Attribute
  220. HTML | <th> width Attribute
  221. HTML | <th> height Attribute
  222. HTML | <th> rowspan Attribute
  223. HTML | <th> nowrap Attribute
  224. HTML | <tfoot> align Attribute
  225. HTML | <tfoot> valign Attribute
  226. HTML | canvas translate() Method
  227. HTML canvas rotate() Method
  228. HTML | canvas scale() Method
  229. HTML | <col> width Attribute
  230. HTML | <col> span Attribute
  231. HTML | <link> charset Attribute
  232. HTML | <input> align Attribute
  233. HTML | <video> autoplay Attribute
  234. HTML | <video> controls Attribute
  235. HTML | <video> height Attribute
  236. HTML | <video> loop Attribute
  237. HTML | <video> src Attribute
  238. HTML | <video> poster Attribute
  239. p5.js | stroke() Function
  240. p5.js | noFill() Function
  241. p5.js | fill() Function
  242. p5.js | color() Function
  243. p5.js | circle() Function
  244. PHP | Ds\Stack capacity() Function
  245. PHP | Ds\Stack allocate() Function
  246. PHP | Ds\Pair clear() Function
  247. PHP | Ds\Stack count() Function
  248. PHP | Ds\Stack __construct() Function
  249. PHP | Ds\Pair copy() Function
  250. PHP | Ds\Deque contains() Function
  251. p5.js | point() Function
  252. PHP | Ds\Map remove() Function
  253. PHP | Ds\Pair toArray() Function
  254. PHP | Ds\Pair __construct() Function
  255. p5.js | rect() Function
  256. p5.js | square() Function
  257. p5.js | ellipseMode() Function
  258. CSS | brightness() Function
  259. CSS | blur() Function
  260. CSS | contrast() Function
  261. CSS | drop-shadow() Function
  262. CSS | grayscale() Function
  263. CSS | hue-rotate() Function
  264. CSS | invert() Function
  265. CSS | opacity() Function
  266. CSS | scaleX() Function
  267. CSS | rotate3d() Function
  268. CSS | scaleZ() Function
  269. CSS | rotate() Function
  270. CSS | scaleY() Function
  271. CSS | rotateZ() Function
  272. CSS | scale3d() Function
  273. CSS | scale() Function
  274. CSS | sepia() Function
  275. CSS | rotateX() Function
  276. CSS | rotateY() Function
  277. CSS | skew() Function
  278. CSS | skewX() Function
  279. CSS | skewY() Function
  280. CSS | url() Function
  281. CSS | translate() Function
  282. CSS | saturate() Function
  283. CSS | translateZ() function
  284. CSS | translateY() function
  285. CSS | translateX() Function
  286. CSS | translate3d() Function
  287. PHP | imagecolordeallocate() Function
  288. PHP | imagerotate() Function
  289. p5.js | drop() Function
  290. p5.js | size() Function
  291. p5.js | show() Function
  292. p5.js | value() Function
  293. p5.js | removeAttribute() Function
  294. p5.js | hide() Function
  295. p5.js | remove() Function
  296. PHP | imagescale() Function
  297. p5.js | center() Function
  298. p5.js | html() Function
  299. p5.js | position() Function
  300. p5.js | curve() function
  301. p5.js | curveDetail() Function
  302. CSS | matrix() Function
  303. CSS | matrix3d() Function
  304. p5.js | style() Function
  305. p5.js | attribute() Function
  306. p5.js | child() Function
  307. p5.js | setup() Function
  308. p5.js | loop() Function
  309. p5.js | draw() Function
  310. HTML | <input> formenctype Attribute
  311. HTML | <input> type Attribute
  312. HTML | <link> target Attribute
  313. p5.js | parent() Function
  314. HTML | <img> usemap Attribute
  315. HTML | input formmethod Attribute
  316. HTML | input maxlength Attribute
  317. PHP | simplexml_import_dom() Function
  318. PHP | SimpleXMLIterator valid() Function
  319. PHP | simplexml_load_file() Function
  320. PHP | SimpleXMLIterator rewind() Function
  321. PHP | SimpleXMLIterator next() Function
  322. PHP | SimpleXMLIterator key() Function
  323. PHP | SimpleXMLIterator hasChildren() Function
  324. PHP | SimpleXMLIterator getChildren() Function
  325. PHP | SimpleXMLIterator current() Function
  326. PHP | Collator create() Function
  327. PHP | Collator __construct() Function
  328. PHP | DOMDocument createCDATASection() Function
  329. PHP | DOMDocument createComment() Function
  330. PHP | DOMDocument createElement() Function
  331. PHP | DOMDocument createAttribute() Function
  332. PHP | DOMDocument __construct() Function
  333. PHP | iconv_get_encoding() Function
  334. PHP | DOMDocument getElementsByTagName() Function
  335. PHP | DOMDocument importNode() Function
  336. PHP | DOMDocument saveXML() Function
  337. PHP | DOMDocument createTextNode() Function
  338. PHP | DOMDocument createProcessingInstruction() Function
  339. PHP | DOMDocument createEntityReference() Function
  340. PHP | DOMDocument saveHTMLFile() Function
  341. PHP | DOMDocument saveHTML() Function
  342. PHP | DOMDocument save() Function
  343. PHP | DOMDocument loadXML() Function
  344. PHP | DOMDocument normalizeDocument() Function
  345. PHP | DOMDocument loadHTMLFile() Function
  346. PHP | DOMDocument loadHTML() Function
  347. PHP | DOMDocument load() Function
  348. PHP | DOMDocument createElementNS() Function
  349. PHP | DOMDocument createAttributeNS() Function
  350. PHP | IntlCalendar add() Function
  351. PHP | IntlCalendar after() Function
  352. PHP | IntlCalendar before() Function
  353. PHP | IntlCalendar::__construct() Function
  354. PHP | IntlCalendar createInstance() Function
  355. PHP | IntlCalendar equals() Function
  356. PHP | IntlCalendar fieldDifference() Function
  357. PHP | IntlCalendar getActualMaximum() Function
  358. PHP | IntlCalendar get() Function
  359. PHP | IntlCalendar fromDateTime() Function
  360. PHP | DOMAttr __construct() Function
  361. PHP | IntlCalendar getAvailableLocales() Function
  362. PHP | IntlCalendar getActualMinimum() Function
  363. PHP | IntlCalendar getFirstDayOfWeek() Function
  364. PHP | IntlCalendar getErrorMessage() Function
  365. PHP | IntlCalendar getErrorCode() Function
  366. PHP | IntlCalendar setTimeZone() Function
  367. PHP | IntlCalendar setTime() Function
  368. PHP | IntlCalendar getType() Function
  369. PHP | IntlCalendar getTimeZone() Function
  370. PHP | IntlCalendar getTime() Function
  371. PHP | IntlCalendar getLeastMaximum() Function
  372. PHP | IntlCalendar inDaylightTime() Function
  373. PHP | IntlCalendar isSet() Function
  374. PHP | IntlCalendar setFirstDayOfWeek() Function
  375. PHP | IntlCalendar toDateTime() Function
  376. PHP | IntlCalendar isEquivalentTo() Function
  377. PHP | ArrayObject setFlags() Function
  378. PHP | ArrayObject serialize() Function
  379. PHP | ArrayObject getFlags() Function
  380. PHP | ArrayObject count() Function
  381. PHP | JsonSerializable jsonSerialize() Function
  382. PHP | ArrayObject unserialize() Function
  383. PHP | ArrayObject setIteratorClass() Function
  384. PHP | IntlDateFormatter getErrorCode() Function,
  385. PHP | IntlDateFormatter getDateType() Function
  386. PHP | IntlDateFormatter format() Function
  387. PHP | IntlDateFormatter formatObject() Function
  388. PHP | IntlDateFormatter getCalendar() Function
  389. PHP | SplDoublyLinkedList valid() Function
  390. PHP | SplDoublyLinkedList unserialize() Function
  391. PHP | SplDoublyLinkedList setIteratorMode() Function
  392. PHP | ArrayIterator setFlags() Function
  393. PHP | ArrayIterator next() Function
  394. PHP | ArrayIterator natsort() Function
  395. PHP | ArrayIterator ksort() Function
  396. PHP | ArrayIterator key() Function
  397. PHP | ArrayIterator getFlags() Function
  398. PHP | ArrayIterator getArrayCopy() Function
  399. PHP | ArrayIterator current() Function
  400. PHP | ArrayIterator count() Function
  401. PHP | ArrayIterator __construct() Function
  402. PHP | ArrayIterator asort() Function
  403. PHP | ArrayIterator append() Function
  404. PHP | AppendIterator __construct() Function
  405. PHP | AppendIterator append() Function
  406. PHP | SplDoublyLinkedList serialize() Function
  407. PHP | SplDoublyLinkedList getIteratorMode() Function
  408. PHP | SplDoublyLinkedList __construct() Function
  409. PHP | AppendIterator valid() Function
  410. PHP | AppendIterator rewind() Function
  411. PHP | AppendIterator next() Function
  412. PHP | AppendIterator key() Function
  413. PHP | AppendIterator getIteratorIndex() Function
  414. PHP | AppendIterator current() Function
  415. PHP | ArrayIterator uksort() Function
  416. PHP | ArrayIterator uasort() Function
  417. PHP | ArrayIterator serialize() Function
  418. PHP | ArrayIterator valid() Function
  419. PHP | CachingIterator getCache() Function
  420. PHP | CachingIterator current() Function
  421. PHP | CachingIterator __construct() Function
  422. PHP | ArrayIterator offsetExists() Function
  423. PHP | ArrayIterator offsetUnset() Function
  424. PHP | ArrayIterator offsetGet() Function
  425. PHP | ArrayIterator offsetSet() Function
  426. PHP | ArrayIterator rewind() Function
  427. PHP | ArrayIterator seek() Function
  428. PHP | ArrayIterator unserialize() Function
  429. PHP | DirectoryIterator __construct() Function
  430. PHP | DirectoryIterator current() Function
  431. PHP | DirectoryIterator getATime() Function
  432. PHP | DirectoryIterator isDir() Function
  433. PHP | DirectoryIterator isDot() Function
  434. PHP | DirectoryIterator isExecutable() Function
  435. PHP | DirectoryIterator isFile() Function
  436. PHP | DirectoryIterator getBasename() Function
  437. PHP | DirectoryIterator getCTime() Function
  438. PHP | DirectoryIterator getExtension() Function
  439. PHP | DirectoryIterator getFilename() Function
  440. PHP | DirectoryIterator getMTime() Function
  441. PHP | DirectoryIterator getPath() Function
  442. PHP | DirectoryIterator getPathname() Function
  443. PHP | DirectoryIterator getPerms() Function
  444. PHP | DirectoryIterator getSize() Function
  445. PHP | DirectoryIterator getType() Function
  446. PHP | CachingIterator setFlags() Function
  447. PHP | CachingIterator rewind() Function
  448. PHP | CachingIterator next() Function
  449. PHP | CachingIterator getFlags() Function
  450. PHP | CachingIterator getInnerIterator() Function
  451. PHP | CachingIterator key() Function
  452. PHP | FilesystemIterator rewind() Function
  453. PHP | FilesystemIterator getFlags() Function
  454. PHP | FilesystemIterator key() Function
  455. PHP | FilesystemIterator next() Function
  456. PHP | DirectoryIterator seek() Function
  457. PHP | FilesystemIterator __construct() Function
  458. PHP | FilesystemIterator current() Function
  459. PHP | DirectoryIterator isLink() Function
  460. PHP | DirectoryIterator isReadable() Function
  461. PHP | DirectoryIterator isWritable() Function
  462. PHP | DirectoryIterator key() Function
  463. PHP | DirectoryIterator next() Function
  464. PHP | DirectoryIterator rewind() 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. Check 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. Find the value of N XOR'ed to itself K times
  977. Hexadecagonal number
  978. Heptadecagonal number
  979. Pentatope number
  980. Sum of series 1*1! + 2*2! + ……..+ n*n!
  981. Product of first N factorials
  982. Centered Octagonal Number
  983. Icosahedral Number
  984. Enneadecagonal number
  985. Centered decagonal number
  986. Construct array having X subsequences with maximum difference smaller than d
  987. Centered nonadecagonal number
  988. Check if it is possible to make the given matrix increasing matrix or not
  989. Hendecagonal number
  990. Number of arrays of size N whose elements are positive integers and sum is K
  991. Centered Pentadecagonal Number
  992. Ways to choose three points with distance between the most distant points <= L
  993. Centered dodecahedral number
  994. Centered Hexadecagonal Number
  995. Icosidigonal number
  996. Tetradecagonal number
  997. Program to convert centimeter into meter and kilometer
  998. Centered tridecagonal number
  999. Minimum cost to equal all elements of array using two operation
  1000. Number expressed as sum of five consecutive integers
  1001. Number of digits in N factorial to the power N
  1002. Set the rightmost unset bit
  1003. Check if given number is a power of d where d is a power of 2
  1004. How to turn on a particular bit in a number?
  1005. K-th smallest element after removing given integers from natural numbers | Set 2
  1006. Pentagonal Pyramidal Number
  1007. Maximize the bitwise OR of an array
  1008. Check if mirror image of a number is same if displayed in seven segment display
  1009. Number of Distinct Meeting Points on a Circular Road
  1010. Check if array sum can be made K by three operations on it
  1011. Sum of product of consecutive Binomial Coefficients
  1012. Check if the n-th term is odd or even in a Fibonacci like sequence
  1013. Heptagonal number
  1014. Pentatope number
  1015. Make array elements equal in Minimum Steps
  1016. Maximum Sum Decreasing Subsequence
  1017. Multiply the given number by 2 such that it is divisible by 10
  1018. Program to find greater value between a^n and b^n
  1019. Number of elements with even factors in the given range
  1020. Print all pairs with given sum
  1021. Print all triplets with given sum
  1022. Number of ones in the smallest repunit
  1023. Number of squares of maximum area in a rectangle
  1024. Stormer Numbers
  1025. Check if array can be divided into two sub-arrays such that their absolute difference is K
  1026. Compute power of power k times % m
  1027. Program to check similarity of given two triangles
  1028. Program to calculate the Surface Area of a Triangular Prism
  1029. Maximum number by concatenating every element in a rotation of an array
  1030. Memoization (1D, 2D and 3D)
  1031. Number of triangles in a plane if no more than two points are collinear
  1032. Make all numbers of an array equal
  1033. Remove leading zeros from an array
  1034. Number of odd and even results for every value of x in range [min, max] after performing N steps
  1035. Reduce string to shortest length by deleting a pair of same adjacent characters
  1036. Total number of ways to place X and Y at n places such that no two X are together
  1037. Maximum number of ones in a N*N matrix with given constraints
  1038. Program to find the Area and Volume of Icosahedron
  1039. Element which occurs consecutively in a given subarray more than or equal to K times
  1040. Check if concatenation of two strings is balanced or not
  1041. Sum of all elements up to Nth row in a Pascal triangle
  1042. Check if a number has same number of set and unset bits
  1043. Check if the large number formed is divisible by 41 or not
  1044. Program to determine the octant of the axial plane
  1045. Number of different cyclic paths of length N in a tetrahedron
  1046. Find the Nth Mosaic number
  1047. Find index of first occurrence when an unsorted array is sorted
  1048. Mirror of a point through a 3 D plane
  1049. Print all the combinations of N elements by changing sign such that their sum is divisible by M
  1050. Sorting without comparison of elements
  1051. Sum of similarities of string with all of its suffixes
  1052. Find the multiple of x which is closest to a^b
  1053. Calculating n-th real root using binary search
  1054. Maximum power of jump required to reach the end of string
  1055. Check if bits in range L to R of two numbers are complement of each other or not
  1056. Longest subsequence whose average is less than K
  1057. Convert time from 24 hour clock to 12 hour clock format
  1058. Count pairs with Bitwise XOR as ODD number
  1059. Tetranacci Numbers
  1060. Count the number of pairs that have column sum greater than row sum
  1061. Check if a number is in given base or not
  1062. Number of possible pairs of Hypotenuse and Area to form right angled triangle
  1063. Modulus of all pairwise consecutive elements in an Array
  1064. Find the Missing Number in a sorted array
  1065. Maximum set bit sum in array without considering adjacent elements
  1066. Comparing leading zeros in binary representations of two numbers
  1067. Find sum of inverse of the divisors when sum of divisors and the number is given
  1068. Minimum element in a max heap
  1069. Majority element in a circular array of 0's and 1's
  1070. Value in a given range with maximum XOR
  1071. Count number of triplets with product equal to given number | Set 2
  1072. Ways to place K bishops on an N×N chessboard so that no two attack
  1073. Count pairs in a sorted array whose product is less than k
  1074. Program to check whether 4 points in a 3-D plane are Coplanar
  1075. Find the largest twins in given range
  1076. Number of divisors of a given number N which are divisible by K
  1077. Number of prime pairs in an array
  1078. Find out the correct position of the ball after shuffling
  1079. Find Multiples of 2 or 3 or 5 less than or equal to N
  1080. 2's compliment for a givin string using XOR
  1081. Recursive program to print triangular patterns
  1082. Find the number after successive division
  1083. Program to calculate Root Mean Square
  1084. Find any pair with given GCD and LCM
  1085. Count the number of ways to traverse a Matrix
  1086. Count number of integers less than or equal to N which has exactly 9 divisors
  1087. Count Unary Numbers in a Range
  1088. Find number of magical pairs of string of length L
  1089. Count the number of carry operations required to add two numbers
  1090. Number of values of b such that a = b + (a^b)
  1091. Program to find the Nth Harmonic Number
  1092. Program to find the Radius of the incircle of the triangle
  1093. Program to calculate the value of nCr Efficiently
  1094. Check if an array is Wave Array
  1095. Find 'N' number of solutions with the given inequality equations
  1096. Minimum changes required to make first string substring of second string
  1097. Print a number strictly less than a given number such that all its digits are distinct.
  1098. Number of solutions of n = x + n ⊕ x
  1099. Area of a circle inscribed in a rectangle which is inscribed in a semicircle
  1100. Sum of first N natural numbers by taking powers of 2 as negative number
  1101. Check if a number has digits in the given Order
  1102. How to access elements of a Square Matrix
  1103. Area of a square inscribed in a circle which is inscribed in a hexagon
  1104. Subset array sum by generating all the subsets
  1105. Sum of the first N Prime numbers
  1106. Radius of the biggest possible circle inscribed in rhombus which in turn is inscribed in a rectangle
  1107. Find the total Number of Digits in (N!)N
  1108. Check if the sum of digits of a number N divides it
  1109. Sum of all the prime numbers in a given range
  1110. Find the unit place digit of sum of N factorials
  1111. Sum of squares of Fibonacci numbers
  1112. Find normal at a given point on the curve
  1113. Program to find the side of the Octagon inscribed within the square
  1114. Find nth Term of the Series 1 2 2 4 4 4 4 8 8 8 8 8 8 8 8 ...
  1115. Number of distinct integers obtained by lcm(X, N)/X
  1116. Program to Calculate the Perimeter of a Decagon
  1117. Count of common multiples of two numbers in a range
  1118. Program to calculate area of inner circle which passes through center of outer circle and touches its circumference
  1119. Program to find sum of 1 + x/2! + x^2/3! +...+x^n/(n+1)!
  1120. Maximum count of equal numbers in an array after performing given operations
  1121. Check if the given vectors are at equilibrium or not
  1122. Find if a molecule can be formed from 3 atoms using their valence numbers
  1123. Largest number divisible by 90 that can be made using 0 and 5
  1124. Count number of ordered pairs with Even and Odd Product
  1125. Minimum and Maximum element of an array which is divisible by a given number k
  1126. Print a number containing K digits with digital root D
  1127. Minimum number of bottles required to fill K glasses
  1128. Find sum of N-th group of Natural Numbers
  1129. Sum of first N natural numbers which are divisible by 2 and 7
  1130. Section formula for 3 D
  1131. Triplet pair (a, b, c) such that a+b, b+c and a+c are all divisible by K
  1132. Print array elements in alternatively increasing and decreasing order
  1133. Check whether bitwise OR of N numbers is Even or Odd
  1134. Check if a number is an Achilles number or not
  1135. Minimum boxes required to carry all gifts
  1136. Program to find count of numbers having odd number of divisors in given range
  1137. Check if a string contains a palindromic sub-string of even length
  1138. Find number of Positional Elements
  1139. Round to next smaller multiple of 8
  1140. Number of leading zeros in binary representation of a given number
  1141. Replace every element of the array by product of all other elements
  1142. Number of segments where all elements are greater than X
  1143. Replace every array element by sum of previous and next
  1144. Rearrange an array to maximize i*arr[i]
  1145. Calculate volume and surface area of Torus
  1146. String matching with * (that matches with any) in any of the two strings
  1147. Assign other value to a variable from two possible values
  1148. Minimize Cost with Replacement with other allowed
  1149. Longest subarray with elements divisible by k
  1150. Primality test for the sum of digits at odd places of a number
  1151. Get maximum items when other items of total cost of an item are free
  1152. Find middle point segment from given segment lengths
  1153. Count subarrays with all elements greater than K
  1154. Equation of ellipse from its focus, directrix, and eccentricity
  1155. Minimum number of operations required to reduce N to 1
  1156. Find the total marks obtained according to given marking scheme
  1157. Maximum area of rectangle possible with given perimeter
  1158. Area of decagon inscribed within the circle
  1159. Program to find the smallest element among three elements
  1160. N digit numbers divisible by 5 formed from the M digits
  1161. Find the sum of first N odd Fibonacci numbers
  1162. Number of cells in the right and left diagonals passing through (x, y) in a matrix
  1163. Count number less than N which are product of perfect squares
  1164. Smallest odd digits number not less than N
  1165. Minimum Cuts can be made in the Chessboard such that it is not divided into 2 parts
  1166. Largest number not greater than N all the digits of which are odd
  1167. Check if any permutation of a number is divisible by 3 and is Palindromic
  1168. Maximum sum and product of the M consecutive digits in a number
  1169. Partition an array such into maximum increasing segments
  1170. Minimum cuts required to divide the Circle into equal parts
  1171. Smallest subarray such that all elements are greater than K
  1172. Largest cube that can be inscribed within the sphere
  1173. Largest sphere that can be inscribed inside a cube
  1174. Program to find the profit or loss when CP of N items is equal to SP of M items
  1175. Change K elements so that (a1^2 + a2^2 + …+ aN^2 ) <= (a1 + a2 +…+ aN) becomes true
  1176. Find minimum operations needed to make an Array beautiful
  1177. Minimum number of cuts required to make circle segments equal sized
  1178. Game of stones
  1179. Find two numbers with sum and product both same as N
  1180. Number of matches required to find the winner
  1181. Maximum no. of apples that can be kept in a single basket
  1182. Fibonacci problem (Value of Fib(N)*Fib(N) - Fib(N-1) * Fib(N+1))
  1183. Find the player who rearranges the characters to get a palindrome string first
  1184. Count pairs of numbers from 1 to N with Product divisible by their Sum
  1185. Check if a number is formed by Concatenation of 1, 14 or 144 only
  1186. Program to find the sum of the series (1/a + 2/a^2 + 3/a^3 + ... + n/a^n)
  1187. Print a case where the given sorting algorithm fails
  1188. Probability of getting more value in third dice throw
  1189. Number of ways to swap two bit of s1 so that bitwise OR of s1 and s2 changes
  1190. Maximum number of parallelograms that can be made using the given length of line segments
  1191. Sum of all natural numbers in range L to R
  1192. Minimum steps to convert one binary string to other only using negation
  1193. Minimize the number of steps required to reach the end of the array
  1194. Program to print 'N' alphabet using the number pattern from 1 to n
  1195. Largest cube that can be inscribed within a right circular cylinder
  1196. Count pairs with Bitwise XOR as EVEN number
  1197. Number of pairs with Bitwise OR as Odd number
  1198. Count pairs with Bitwise-AND as even number
  1199. Count Numbers with N digits which consists of even number of 0’s
  1200. Find determinant of matrix generated by array rotation
  1201. Largest right circular cylinder that can be inscribed within a cone
  1202. Nth number made up of odd digits only
  1203. Find minimum steps required to reach the end of a matrix | Set - 1
  1204. Find position of left most dis-similar bit for two numbers
  1205. Distance between two nodes of binary tree with node values from 1 to N
  1206. Range and Coefficient of range of Array
  1207. 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
  1208. Program to find first N Iccanobif Numbers
  1209. Find the Nth term of the series 14, 28, 20, 40,.....
  1210. Minimum range increment operations to Sort an array
  1211. Find the sum of Eigen Values of the given N*N matrix
  1212. Largest number less than N with digit sum greater than the digit sum of N
  1213. Check If every group of a's is followed by a group of b's of same length
  1214. Sum of first N natural numbers which are divisible by X or Y
  1215. Smallest Pair Sum in an array
  1216. Construct a binary string following the given constraints
  1217. Larger of a^b or b^a (a raised to power b or b raised to power a)
  1218. Find the only different element in an array
  1219. Reduce the array to a single element with the given operation
  1220. Number of Binary Strings of length N with K adjacent Set Bits
  1221. Sum of the multiples of two numbers below N
  1222. Split a number into 3 parts such that none of the parts is divisible by 3
  1223. Closest perfect square and its distance
  1224. Count sub-sets that satisfy the given condition
  1225. Integers from the range that are composed of a single distinct digit
  1226. Find nth Hermite number
  1227. Lower Insertion Point
  1228. Longest Subsequence where index of next element is arr[arr[i] + i]
  1229. Minimum number of consecutive sequences that can be formed in an array
  1230. Sum of elements from an array having even parity
  1231. Side of a regular n-sided polygon circumscribed in a circle
  1232. Check if the sum of distinct digits of two integers are equal
  1233. Largest Square that can be inscribed within a hexagon
  1234. Program to check the number is Palindrome or not
  1235. Find the maximum possible value of the minimum value of modified array
  1236. Diagonal of a Regular Hexagon
  1237. Number of array elements derivable from D after performing certain operations
  1238. Pairs from an array that satisfy the given condition
  1239. Largest hexagon that can be inscribed within a square
  1240. Count common prime factors of two numbers
  1241. Diagonal of a Regular Decagon
  1242. Generate all rotations of a number
  1243. Minimum absolute difference between N and a power of 2
  1244. Maximum value of arr[i] % arr[j] for a given array
  1245. Program to find nth term of the series 1 4 15 24 45 60 92
  1246. Program to delete Nth digit of a Number
  1247. First and Last Three Bits
  1248. Smallest perfect square divisible by all elements of an array
  1249. Ways to paint N paintings such that adjacent paintings don't have same colors
  1250. Largest square that can be inscribed within a hexagon which is inscribed within an equilateral triangle
  1251. Difference between Sum of Cubes and Sum of First N Natural Numbers
  1252. Check whether two straight lines are orthogonal or not
  1253. Program for Area Of Square after N-th fold
  1254. Make all elements of an array equal with the given operation
  1255. Count of pairs of (i, j) such that ((n % i) % j) % n is maximized
  1256. Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
  1257. Minimum positive integer divisible by C and is not in range [A, B]
  1258. Filling diagonal to make the sum of every row, column and diagonal equal of 3x3 matrix
  1259. Closest sum partition (into two subsets) of numbers from 1 to n
  1260. Minimum operations required to make all the array elements equal
  1261. Check whether Bishop can take down Pawn or not
  1262. Count the total number of squares that can be visited by Bishop in one move
  1263. Minimum spanning tree cost of given Graphs
  1264. Maximum sum after repeatedly dividing N by a divisor
  1265. Minimum steps to make the product of the array equal to 1
  1266. Find the values of X and Y in the Given Equations
  1267. Choose points from two ranges such that no point lies in both the ranges
  1268. Find maximum operations to reduce N to 1
  1269. Find frequency of smallest value in an array
  1270. Find Intersection of all Intervals
  1271. Maximize big when both big and small can be exchanged
  1272. Minimum number of operations on an array to make all elements 0
  1273. Count the number of rhombi possible inside a rectangle of given size
  1274. Program to calculate the area between two Concentric Circles
  1275. Count of quadruplets from range [L, R] having GCD equal to K
  1276. Total number of days taken to complete the task if after certain days one person leaves
  1277. Composite numbers with digit sum 1
  1278. Length of the longest alternating subarray
  1279. Numbers less than N that are perfect cubes and the sum of their digits reduced to a single digit is 1
  1280. Minimize the sum of squares of sum of N/2 paired formed by N numbers
  1281. Maximum positive integer divisible by C and is in the range [A, B]
  1282. Position of a person diametrically opposite on a circle
  1283. Longest Sub-array with maximum average value
  1284. Ways to Remove Edges from a Complete Graph to make Odd Edges
  1285. Check if product of digits of a number at even and odd places is equal
  1286. Minimum matches the team needs to win to qualify
  1287. Find smallest number K such that K % p = 0 and q % K = 0
  1288. Sum of all odd factors of numbers in the range [l, r]
  1289. Count permutations that are first decreasing then increasing.
  1290. Count numbers having N 0's and and M 1's with no leading zeros
  1291. Print the balanced bracket expression using given brackets
  1292. Count of numbers having only 1 set bit in the range [0, n]
  1293. Encrypt a string by repeating i-th character i times
  1294. Minimum cost to form a number X by adding up powers of 2
  1295. Kth odd number in an array
  1296. Check if the given array is mirror-inverse
  1297. Count pairs in array whose sum is divisible by K
  1298. Count how many times the given digital clock shows identical digits
  1299. Find maximum N such that the sum of square of first N natural numbers is not more than X
  1300. Generate array with minimum sum which can be deleted in P steps
  1301. Count rotations of N which are Odd and Even
  1302. Count of pairs from 1 to a and 1 to b whose sum is divisible by N
  1303. Check if Matrix remains unchanged after row reversals
  1304. Smallest and Largest N-digit perfect squares
  1305. Minimum length of square to contain at least half of the given Coordinates
  1306. Largest number N which can be reduced to 0 in K steps
  1307. Find the number of ways to divide number into four parts such that a = c and b = d
  1308. Smallest index in the given array that satisfies the given condition
  1309. Programs for printing pyramid patterns using recursion
  1310. Predict the winner in Coin Game
  1311. Number of ways to go from one point to another in a grid
  1312. Replace array elements by sum of next two consecutive elements
  1313. Maximum array sum that can be obtained after exactly k changes
  1314. Count the number of non-increasing subarrays
  1315. Maximum sum after K consecutive deletions
  1316. Number of ways for playing first move optimally in a NIM game
  1317. Find the value of N when F(N) = f(a)+f(b) where a+b is the minimum possible and a*b = N
  1318. Remove elements to make array sorted
  1319. Count of quadruplets with given Sum
  1320. Maximize the maximum subarray sum after removing atmost one element
  1321. Product of all Subsequences of size K except the minimum and maximum Elements
  1322. Print all numbers whose set of prime factors is a subset of the set of the prime factors of X
  1323. Check if a number from every row can be selected such that xor of the numbers is greater than zero
  1324. Area of triangle formed by the axes of co-ordinates and a given straight line
  1325. Find maximum product of digits among numbers less than or equal to N
  1326. Find the minimum sum of distance to A and B from any integer point in a ring of size N
  1327. Find the position of box which occupies the given ball
  1328. Check if string can be made lexicographically smaller by reversing any substring
  1329. Number of character corrections in the given strings to make them equal
  1330. Maximum length of subarray such that sum of the subarray is even
  1331. Given two arrays count all pairs whose sum is an odd number
  1332. Print steps to make a number in form of 2^X - 1
  1333. Length of the direct common tangent between two externally touching circles
  1334. Radius of the circle when the width and height of an arc is given
  1335. Length of direct common tangent between the two non-intersecting Circles
  1336. Maximize the given number by replacing a segment of digits with the alternate digits given
  1337. Minimum number of cubes whose sum equals to given number N
  1338. Maximum non-attacking Knights that can be placed on an N*M Chessboard
  1339. Convert given integer X to the form 2^N - 1
  1340. Count number of 1s in the array after N moves
  1341. Check if given Preorder, Inorder and Postorder traversals are of same tree | Set 2
  1342. Area of plot remaining at the end
  1343. Find permutation of first N natural numbers that satisfies the given condition
  1344. Compare sum of first N-1 elements to Nth element of an array
  1345. Choose X such that (A xor X) + (B xor X) is minimized
  1346. Program to print an array in Pendulum Arrangement with constant space
  1347. Maximum number of edges in Bipartite graph
  1348. Minimum integer such that it leaves a remainder 1 on dividing with any element from the range [2, N]
  1349. Generate an Array in which count of even and odd sum sub-arrays are E and O respectively
  1350. Program to find the rate percentage from compound interest of consecutive years
  1351. Count Pairs from two arrays with even sum
  1352. Rearrange the array to maximize the number of primes in prefix sum of the array
  1353. Ratio of the distance between the centers of the circles and the point of intersection of two transverse common tangents to the circles
  1354. Create a sequence whose XOR of elements is y
  1355. Minimum sum of two numbers formed from digits of an array in O(n)
  1356. Count of distinct rectangles inscribed in an equilateral triangle
  1357. Bitwise AND of sub-array closest to K
  1358. Check if the number is even or odd whose digits and base (radix) is given
  1359. Check whether a number can be represented as sum of K distinct positive integers
  1360. Find minimum steps required to reach the end of a matrix | Set 2
  1361. Count index pairs which satisfy the given condition
  1362. Number of common tangents between two circles if their centers and radius is given
  1363. Number of trees whose sum of degrees of all the vertices is L
  1364. Check if a circle lies inside another circle or not
  1365. Angle subtended by the chord when the angle subtended by another chord of same length is given
  1366. Queries for bitwise OR in the index range [L, R] of the given array
  1367. Queries for bitwise AND in the index range [L, R] of the given array
  1368. Find average of two numbers using bit operation
  1369. Find if nCr is divisible by the given prime
  1370. Maximum possible middle element of the array after deleting exactly k elements
  1371. Longest substring such that no three consecutive characters are same
  1372. Distance of chord from center when distance between center and another equal length chord is given
  1373. Subset with sum closest to zero
  1374. Check whether we can sort two arrays by swapping A[i] and B[i]
  1375. 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
  1376. Distance between centers of two intersecting circles if the radii and common chord length is given
  1377. Length of the chord the circle if length of the another chord which is equally inclined through the diameter is given
  1378. Print the node with the maximum degree in the prufer sequence
  1379. Queries for the difference between the count of composite and prime numbers in a given range
  1380. Maximise matrix sum by following the given Path
  1381. Check whether a subsequence exists with sum equal to k if arr[i]> 2*arr[i-1]
  1382. Find the number of Chicks in a Zoo at Nth day
  1383. Find maximum path sum in a 2D matrix when exactly two left moves are allowed
  1384. Minimum count of elements that sums to a given number
  1385. Maximum sum of non-overlapping subarrays of length atmost K
  1386. Queries to check whether all the elements can be made positive by flipping signs exactly K times
  1387. Check if two numbers have same number of digits
  1388. Maximum distance between two unequal elements
  1389. Minimum length subarray of 1s in a Binary Array
  1390. Find row with maximum and minimum number of zeroes in given Matrix
  1391. Number of 0s and 1s at prime positions in the given array
  1392. Maximum water that can be stored between two buildings
  1393. Sum of all perfect numbers present in an array
  1394. Maximum subset sum such that no two elements in set have same digit in them
  1395. Program to calculate angle on circumference subtended by the chord when the central angle subtended by the chord is given
  1396. Length of longest sub-array with maximum arithmetic mean.
  1397. Sum of all mersenne numbers present in an array
  1398. Longest sub-sequence that satisfies the given conditions
  1399. Maximum sub-sequence sum such that indices of any two adjacent elements differs at least by 3
  1400. Print all the sub diagonal elements of the given square matrix
  1401. Number of ways to get a given sum with n number of m-faced dices
  1402. Total number of possible Binary Search Trees using Catalan Number
  1403. Partition first N natural number into two sets such that their sum is not coprime
  1404. Find the maximum number of elements divisible by 3
  1405. Find maximum value of the last element after reducing the array with given operations
  1406. Seating arrangement of N boys sitting around a round table such that two particular boys sit together
  1407. Find optimal weights which can be used to weigh all the weights in the range [1, X]
  1408. Number of ways of writing N as a sum of 4 squares
  1409. Print first N terms of Lower Wythoff sequence
  1410. Count of numbers whose 0th and Nth bits are set
  1411. Find a number containing N - 1 set bits at even positions from the right
  1412. Number of triplets such that each value is less than N and each pair sum is a multiple of K
  1413. Probability of getting more heads than tails when N biased coins are tossed
  1414. Minimum steps required to convert the matrix into lower hessenberg matrix
  1415. Program to calculate the area of Kite
  1416. Find the number which when added to the given ratio a : b, the ratio changes to c : d
  1417. Smallest perfect cube in an array
  1418. Number of ways of distributing N identical objects in R distinct groups with no groups empty
  1419. Total ways of choosing X men and Y women from a total of M men and W women
  1420. Find the position of the given row in a 2-D array
  1421. Minimum number of steps to convert a given matrix into Diagonally Dominant Matrix
  1422. Remove an element to maximize the GCD of the given array
  1423. Number of hours after which the second person moves ahead of the first person if they travel at a given speed
  1424. Sequence with sum K and minimum sum of absolute differences between consecutive elements
  1425. Cost Based Tower of Hanoi
  1426. Remove Minimum coins such that absolute difference between any two piles is less than K
  1427. Find the count of M character words which have at least one character repeated
  1428. Count pairs with given sum | Set 2
  1429. Count pairs in an array such that the absolute difference between them is ≥ K
  1430. Maximum value after merging all elements in the array
  1431. Find area of the larger circle when radius of the smaller circle and difference in the area is given
  1432. Count of all possible pairs of disjoint subsets of integers from 1 to N
  1433. Sum of N terms in the expansion of Arcsin(x)
  1434. Find the ln(X) and log10X with the help of expansion
  1435. Print all the permutation of length L using the elements of an array | Iterative
  1436. Sum of elements till the smallest index such that there are no even numbers to its right
  1437. Count the number of elements which are greater than any of element on right side of an array
  1438. Find an N x N grid whose xor of every row and column is equal
  1439. Check if an array is increasing or decreasing
  1440. Find Kth element in an array containing odd elements first and then even elements
  1441. Nth Fibonacci number using Pell's equation
  1442. Check if a cycle of length 3 exists or not in a graph that satisfy a given condition
  1443. Sum of last digit of all integers from 1 to N divisible by M
  1444. Comparing X^Y and Y^X for very large values of X and Y
  1445. Count the values greater than X in the modified array
  1446. Count of distinct graphs that can be formed with N vertices
  1447. Divide first N natural numbers into 3 equal sum subsets
  1448. Find two co-prime integers such that the first divides A and the second divides B
  1449. Maximum OR value of a pair in an array
  1450. Program for Mobius Function | Set 2
  1451. Generate an array having Bitwise AND of the previous and the next element
  1452. Maximum items that can be bought with the given type of coins
  1453. Check whether bitwise AND of N numbers is Even or Odd
  1454. Check if the sum of digits of number is divisible by all of its digits
  1455. Replace elements with absolute difference of smallest element on left and largest element on right
  1456. Find subarray with given sum with negatives allowed in constant space
  1457. Check if array contains contiguous integers with duplicates allowed
  1458. Program to find the number from given holes
  1459. Count of elements which are equal to the XOR of the next two elements
  1460. Program to print the Ladder Pattern
  1461. Angle subtended by an arc at the centre of a circle
  1462. Find the previous fibonacci number
  1463. Nth term of a Custom Fibonacci series
  1464. Count of 0s in an N-level hexagon
  1465. Cake Distribution Problem
  1466. Find all the prime numbers of given number of digits
  1467. Find the last two missing digits of the given phone number
  1468. Find if there exists multiple ways to draw line through (x, y) to cut rectangle in equal halfs
  1469. Check if the sum of digits of N is palindrome
  1470. Print all perfect squares from the given range
  1471. Count number of ways to cover a distance | Set 2