andrew1234
andrew1234
  1. JavaFX | AmbientLight Class
  2. MouseListener and MouseMotionListener in Java
  3. Java Swing | JPanel with examples
  4. Counts Path in an Array
  5. JavaFX | Button with examples
  6. Java Robot Class | Get the pixel Color of a given point
  7. JSwing | Create a Magnifying tool using Java Robot
  8. Java Swing | Internal Frame with examples
  9. Check if a given string is made up of two alternating characters
  10. JavaFX | Line with examples
  11. JavaFX | TextFlow Class
  12. Java Swing | JMenuBar
  13. Java Swing | JFileChooser
  14. Java Swing | JTextField
  15. Draw a Polygon in Java Applet
  16. Java Swing | JProgressBar
  17. Java Swing | JPasswordField
  18. Java Swing | JSpinner
  19. Java Swing | JPopupMenu
  20. Java Swing | JTextArea
  21. JLabel | Java Swing
  22. Java Swing | Translucent and shaped Window in Java
  23. Java Swing | JToolBar
  24. Java Swing | ToolTip
  25. Java Swing | JSlider
  26. Java Swing | JSplitPane with Examples
  27. Java Swing | JComboBox with examples
  28. Java Swing | Simple Calculator
  29. Java Swing | JCheckBox with examples
  30. JSwing | Create Translucent and Shaped Windows in Java
  31. Automate mouse events using Java Robot Class
  32. Java Swing | JDialog with examples
  33. Java Swing | JWindow with examples
  34. Java Swing | Creating a Toast Message
  35. Draw a ellipse and a rectangle in Java Applet
  36. Java Swing | JList with examples
  37. Java Swing | Creating Custom Message Dialogs
  38. Java Applet | Implementing Flood Fill algorithm
  39. Java AWT | Cursor class with examples
  40. JavaFX | Rectangle and Rounded Rectangle with examples
  41. Java AWT | Choice Class
  42. Java AWT | Desktop Class
  43. Java AWT | Color Class
  44. Java Swing | BevelBorder and SoftBevelBorder
  45. Java AWT | MouseInfo and PointerInfo
  46. Java Swing | MatteBorder
  47. Java Swing | Popup and PopupFactory with examples
  48. Java AWT | Dimension Class
  49. JavaFX | TextField
  50. JavaFx | PasswordField
  51. Java Swing | Create a simple text editor
  52. JavaFX | Label
  53. Java AWT | Canvas Class
  54. Java AWT | Ellipse2D
  55. Java AWT | WindowStateListener
  56. JavaFX | ProgressBar
  57. JavaFX | ProgressIndicator
  58. Java Swing | JSeparator with examples
  59. JavaFX | ComboBox with examples
  60. JavaFX | CustomMenuItem
  61. JavaFX | Checkbox
  62. JavaFX | Tooltip
  63. JavaFX | ChoiceBox
  64. JavaFX | RadioButton with examples
  65. JavaFx | ColorPicker with examples
  66. JavaFX | ChoiceDialog
  67. JavaFX | Alert with examples
  68. JavaFX | DatePicker with examples
  69. JavaFX | TextInputDialog
  70. JavaFX | MenuBar and Menu
  71. JavaFX | MenuButton
  72. JavaFX | ContextMenu with examples
  73. JavaFX | Tab Class
  74. JavaFX | CheckMenuItem with examples
  75. JavaFX | Polygon with examples
  76. JavaFX | Circle with examples
  77. JavaFX | Polyline with examples
  78. JavaFX | Ellipse with examples
  79. JavaFX | HTMLEditor Class
  80. JavaFX | Box with examples
  81. JavaFX | Cylinder with examples
  82. JavaFX | Sphere with examples
  83. JavaFX | QuadCurve with examples
  84. JavaFX | Arc with examples
  85. Find the Nth Mosaic number
  86. JavaFX | CubicCurve with examples
  87. JavaFX | PointLight with examples
  88. JavaFX | Cursor class with examples
  89. JavaFX | PieChart Class
  90. JavaFX | Point3D Class
  91. JavaFX | Shadow Class
  92. JavaFX | Bloom Class
  93. JavaFX | Insets Class
  94. JavaFX | Dimension2D Class
  95. JavaFX | Point2D Class
  96. JavaFX | Canvas Class
  97. JavaFX | Glow Class
  98. JavaFX | Reflection Class
  99. JavaFx | GaussianBlur Class
  100. JavaFX | BoxBlur Class
  101. JavaFX | DropShadow Class
  102. JavaFX | MotionBlur Class
  103. JavaFX | ColorAdjust Class
  104. JavaFX | SepiaTone Class
  105. JavaFX | InnerShadow Class
  106. JavaFX | Rectangle2D Class
  107. JavaFX | Duration Class
  108. JavaFX | Light.Point Class
  109. JavaFX | Light.Spot Class
  110. JavaFX | Popup Class
  111. Java AWT | MenuShortcut Class
  112. JavaFX | TabPane Class
  113. JavaFX | Hyperlink Class
  114. JavaFX | WebView Class
  115. JavaFX | Background Class
  116. JavaFX | ToolBar Class
  117. JavaFX | VBox Class
  118. JavaFX | HBox Class
  119. JavaFX | BorderPane Class
  120. JavaFX | Group Class
  121. JavaFX | Pane Class
  122. JavaFX | AnchorPane Class
  123. JavaFX | FlowPane Class
  124. JavaFX | StackPane Class
  125. JavaFX | Pos Class
  126. JavaFX | FontWeight Class
  127. JavaFX | TextAlignment Class
  128. JavaFX | FileChooser Class
  129. JavaFX | DirectoryChooser Class
  130. JavaFX | Font Class
  131. JavaFX | FontPosture Class
  132. JavaFX | LinearGradient Class
  133. JavaFX | Stop Class
  134. JavaFX | ImagePattern Class
  135. JavaFX | CycleMethod Class
  136. JavaFX | VLineTo Class
  137. JavaFX | HLineTo Class
  138. Number of divisors of a given number N which are divisible by K
  139. JavaFX | LineTo class
  140. JavaFX | ClosePath class
  141. JavaFX | TitledPane Class
  142. JavaFX | SplitPane Class
  143. Number of Co-prime pairs from 1 to N with product equals to N
  144. Find the GCD of N Fibonacci Numbers with given Indices
  145. Number of unique permutations starting with 1 of a Binary String
  146. File getAbsolutePath() method in Java with Examples
  147. File getAbsoluteFile() method in Java with Examples
  148. File getCanonicalPath() method in Java with Examples
  149. Sum of all Primes in a given range using Sieve of Eratosthenes
  150. Count Numbers with N digits which consists of odd number of 0's
  151. Next greater number than N with exactly one bit different in binary representation of N
  152. Check if there is any common character in two given strings
  153. Count all the numbers less than 10^6 whose minimum prime factor is N
  154. Product of all primes in the range from L to R
  155. Check whether bitwise AND of a number with any subset of an array is zero or not
  156. Sum of alternate elements of a N x N matrix
  157. Subset array sum by generating all the subsets
  158. Time class in Java SQL
  159. Sum of the first N Prime numbers
  160. Pair of prime numbers with a given sum and minimum absolute difference
  161. Find Four points such that they form a square whose sides are parallel to x and y axes
  162. Longest Subsequence with at least one common digit in every element
  163. Sum of every K'th prime number in an array
  164. Number of mismatching bits in the binary representation of two integers
  165. Numbers in range [L, R] such that the count of their divisors is both even and prime
  166. Difference between the largest and the smallest primes in an array
  167. Check if the characters of a given string are in alphabetical order
  168. Remove even frequency characters from the string
  169. Largest element in the array that is repeated exactly k times
  170. Sub-strings of length K containing same character
  171. K- Fibonacci series
  172. Check whether the vowels in a string are in alphabetical order or not
  173. Check whether two strings can be made equal by increasing prefixes
  174. Check whether count of distinct characters in a string is Prime or not
  175. Check whether the frequencies of all the characters in a string are prime or not
  176. Check if a prime number can be expressed as sum of two Prime Numbers
  177. Sum of multiples of A and B less than N
  178. Sum of common divisors of two numbers A and B
  179. Sort an array according to the increasing count of distinct Prime Factors
  180. Number of blocks in a chessboard a knight can move to in exactly k moves
  181. Common prime factors of two numbers
  182. Count of pairs in an array whose sum is a perfect square
  183. Find a sub matrix with maximum XOR
  184. URL sameFile() method in Java with Examples
  185. URL getDefaultPort() method in Java with Examples
  186. URL toURI() method in Java with Examples
  187. URL getHost() method in Java with Examples
  188. URL getAuthority() method in Java with Examples
  189. URL getPort() method in Java with Examples
  190. URL getProtocol() method in Java with Examples
  191. URL getQuery() method in Java with Examples
  192. URL getUserInfo() method in Java with Examples
  193. URL getPath() method in Java with Examples
  194. URL getFile() method in Java with Examples
  195. URL toExternalForm() method in Java with Examples
  196. URL getRef() method in Java with Examples
  197. URI getRawAuthority() method in Java with Examples
  198. URI getAuthority() method in Java with Examples
  199. URI getQuery() method in Java with Examples
  200. URI getRawUserInfo() method in Java with Examples
  201. URI getHost() method in Java with Examples
  202. URI getPath() method in Java with Examples
  203. URI getRawQuery() method in Java with Examples
  204. URI getUserInfo() method in Java with Examples
  205. URI getRawPath() method in Java with Examples
  206. Probability that a N digit number is palindrome
  207. File canExecute() method in Java with Examples
  208. File isDirectory() method in Java with Examples
  209. File canRead() method in Java with Examples
  210. File canWrite() method in Java with examples
  211. File isHidden() method in Java with Examples
  212. File lastModified() method in Java with Examples
  213. File createNewFile() method in Java with Examples
  214. File isFile() method in Java with Examples
  215. File exists() method in Java with examples
  216. File length() method in Java with Examples
  217. File delete() method in Java with Examples
  218. File createTempFile() method in Java with Examples
  219. File getFreeSpace() method in Java with examples
  220. File getTotalSpace() method in Java with examples
  221. File getUsableSpace() method in java with examples
  222. File setReadOnly() method in Java with examples
  223. File mkdirs() method in Java with examples
  224. File mkdir() method in Java with examples
  225. File listRoots() method in Java with examples
  226. File renameTo() method in Java with examples
  227. File getParentFile() method in Java with Examples
  228. File isAbsolute() method in Java with Examples
  229. File getPath() method in Java with Examples
  230. File list() method in Java with Examples
  231. File getCanonicalFile() method in Java with Examples
  232. File setWritable() method in Java with Examples
  233. File getParent() method in Java with Examples
  234. File setLastModified() method in Java with Examples
  235. File getName() method in Java with Examples
  236. File listFiles() method in Java with Examples
  237. File setReadable() function in Java with Examples
  238. File setExecutable() method in Java with Examples
  239. Convex Hull | Monotone chain algorithm
  240. Java SQL Timestamp setTime() function with examples
  241. ZipFile getName() function in Java with examples
  242. ZipFile size() function in Java with examples
  243. ZipFile getEntry() function in Java with examples
  244. ZipFile getComment() function in Java with examples
  245. Java SQL Timestamp setNanos() function with examples
  246. Java SQL Timestamp before() function with examples
  247. Java SQL Timestamp after() function with examples
  248. Java SQL Timestamp getTime() function with examples
  249. Java SQL Timestamp getNanos() function with examples
  250. ZipFile entries() function in Java with examples
  251. Perimeter of Convex hull for a given set of points
  252. Java ZipEntry setCrc() function with examples
  253. Java ZipEntry setCreationTime() function with examples
  254. Java ZipEntry getLastModifiedTime() function with examples
  255. Java ZipEntry setLastAccessTime() function with examples
  256. Java ZipEntry getLastAccessTime() function with examples
  257. Java ZipEntry setCompressedSize() function with examples
  258. Java ZipFile getInputStream() function with examples
  259. Java ZipEntry getCompressedSize() function with examples
  260. Java ZipEntry getName() function with examples
  261. Java ZipEntry getMethod() function with examples
  262. Java ZipEntry getSize() function with examples
  263. Java ZipEntry getTime() function with examples
  264. Java ZipEntry setComment() function with examples
  265. Java ZipEntry getComment() function with examples
  266. Java ZipEntry getCreationTime() function with examples
  267. Java ZipEntry setLastModifiedTime() function with examples
  268. Java ZipEntry getCrc() function with examples
  269. Uniform Binary Search
  270. Sum of degrees of all nodes of a undirected graph
  271. Uniform-Cost Search (Dijkstra for large Graphs)
  272. Count of strings whose prefix match with the given string to a given length k
  273. Arrange array elements such that last digit of an element is equal to first digit of the next element
  274. XOR of all the nodes in the sub-tree of the given node
  275. 8086 program to Print a 16 bit Decimal number
  276. Check whether product of integers from a to b is positive , negative or zero
  277. Check whether a number can be represented as sum of K distinct positive integers
  278. Number of trees whose sum of degrees of all the vertices is L
  279. Sort an alphanumeric string such that the positions of alphabets and numbers remain unchanged
  280. Find the sum of numbers from 1 to n excluding those which are powers of K
  281. Find the Jaccard Index and Jaccard Distance between the two given sets
  282. Check whether we can sort two arrays by swapping A[i] and B[i]
  283. Check whether a subsequence exists with sum equal to k if arr[i]> 2*arr[i-1]
  284. Sum of XOR of all sub-arrays of length K
  285. Queries for number of distinct elements in a subarray | Set 2
  286. Longest string in an array which matches with prefix of the given string
  287. Check whether two strings contain same characters in same order
  288. Minimum rotations required to get the same String | Set-2
  289. Deflater deflate() function in Java with examples
  290. Deflater finished() function in Java with examples
  291. Deflater getBytesRead() function in Java with examples
  292. Deflater getAdler() function in Java with examples
  293. Deflater getTotalOut() function in Java with examples
  294. Deflater getBytesWritten() function in Java with examples
  295. Deflater setInput() function in Java with examples
  296. Deflater getTotalIn() function in Java with examples
  297. Deflater needsInput() function in Java with examples
  298. Deflater setLevel() function in Java with examples
  299. Number of ways of writing N as a sum of 4 squares
  300. Print first N terms of Lower Wythoff sequence
  301. Inflater getAdler() function in Java with examples
  302. Inflater inflate() function in Java with examples
  303. Inflater setInput() function in Java with examples
  304. Inflater getTotalOut() function in Java with examples
  305. Inflater getBytesRead() function in Java with examples
  306. Inflater getBytesWritten() function in Java with examples
  307. Inflater finished() function in Java with examples
  308. Inflater getTotalIn() function in Java with examples
  309. Inflater needsInput() function in Java with examples
  310. 8086 program to reverse a string
  311. 8086 program to print a String
  312. 8086 program to check whether a string is palindrome or not
  313. 8086 program to convert a 16 bit decimal number to binary
  314. 8086 program to convert a 16 bit Decimal number to Octal
  315. 8086 program to convert a 16 bit decimal number to Hexadecimal
  316. 8086 program to find GCD of two numbers and print the GCD
  317. Euclid–Mullin Sequence
  318. Euler zigzag numbers ( Alternating Permutation )
  319. Alcuin's Sequence
  320. Wedderburn–Etherington number
  321. Gijswijt's Sequence
  322. Triangle of numbers arising from Gilbreath's conjecture
  323. Count number of ways to reach destination in a maze
  324. Ramanujan Prime
  325. Highly Totient Number
  326. Print N terms of Withoff Sequence
  327. Program to find first N Fermat Numbers
  328. Maximum number of given operations to remove the entire string
  329. Insertion in a sorted circular linked list when a random pointer is given
  330. Print all the permutation of length L using the elements of an array | Iterative
  331. Reversing a Queue using another Queue
  332. Check which player visits more number of Nodes
  333. Maximum subsequence sum such that all elements are K distance apart
  334. Summation of floor of harmonic progression
You may use GeeksforGeeks CONTRIBUTE portal to help other geeks. For more info, please refer this.

  1. Tree Traversals (Inorder, Preorder and Postorder)
  2. Write a function to get Nth node in a Linked List
  3. Detect loop in a linked list
  4. Convert a Binary Tree into its Mirror Tree
  5. Write a function that counts the number of times a given int occurs in a Linked List
  6. Reverse a linked list
  7. Write a function to get the intersection point of two Linked Lists
  8. Function to check if a singly linked list is palindrome
  9. A program to check if a binary tree is BST or not
  10. Inorder Tree Traversal without recursion and without stack!
  11. Move last element to front of a given Linked List
  12. Reverse a stack using recursion
  13. Pairwise swap elements of a given linked list
  14. Merge Sort for Linked Lists
  15. Foldable Binary Trees
  16. Sorted order printing of a given array that represents a BST
  17. Sorted insert for circular linked list
  18. Reverse alternate K nodes in a Singly Linked List
  19. Populate Inorder Successor for all nodes
  20. Symmetric Tree (Mirror Image of itself)
  21. Iterative Postorder Traversal | Set 1 (Using Two Stacks)
  22. Implement Stack using Queues
  23. Union-Find Algorithm | Set 2 (Union By Rank and Path Compression)
  24. The Stock Span Problem
  25. Reverse Level Order Traversal
  26. Design a stack with operations on middle element
  27. Delete N nodes after M nodes of a linked list
  28. Print Postorder traversal from given Inorder and Preorder traversals
  29. Remove all nodes which don't lie in any path with sum>= k
  30. Check if a given Binary Tree is height balanced like a Red-Black Tree
  31. Reverse alternate levels of a perfect binary tree
  32. Connect n ropes with minimum cost
  33. Swap nodes in a linked list without swapping data
  34. Maximum profit by buying and selling a share at most twice
  35. Iterative Tower of Hanoi
  36. Count BST subtrees that lie in given range
  37. Sort a linked list that is sorted alternating ascending and descending orders?
  38. Construct all possible BSTs for keys 1 to N
  39. Expression Tree
  40. Sort a stack using recursion
  41. Check if a given Binary Tree is Heap
  42. Inorder Non-threaded Binary Tree Traversal without Recursion or Stack
  43. Lowest Common Ancestor in a Binary Tree | Set 2 (Using Parent Pointer)
  44. Density of Binary Tree in One Traversal
  45. Print Binary Tree in 2-Dimensions
  46. Count pairs formed by distinct element sub-arrays
  47. Design a stack that supports getMin() in O(1) time and O(1) extra space
  48. Check if a linked list is Circular Linked List
  49. Decimal Equivalent of Binary Linked List
  50. Print extreme nodes of each level of Binary Tree in alternate order
  51. Maximum element between two nodes of BST
  52. Flip Binary Tree
  53. Minimum number of increment/decrement operations such that array contains all elements from 1 to N
  54. Find pairs with given sum in doubly linked list
  55. Swap Nodes in Binary tree of every k'th level
  56. Convert a Binary Tree to Threaded binary tree | Set 2 (Efficient)
  57. Continuous Tree
  58. Check if given sorted sub-sequence exists in binary search tree
  59. Find pairs with given sum such that pair elements lie in different BSTs
  60. Subtree with given sum in a Binary Tree
  61. Find the closest element in Binary Search Tree
  62. Convert a tree to forest of even nodes
  63. Print all k-sum paths in a binary tree
  64. Length of longest palindrome list in a linked list using O(1) extra space
  65. Maximum edge removal from tree to make even forest
  66. Find the Deepest Node in a Binary Tree
  67. Move all occurrences of an element to end in a linked list
  68. Deletion from a Circular Linked List
  69. Prufer Code to Tree Creation
  70. Doubly Circular Linked List | Set 2 (Deletion)
  71. Circular Queue | Set 2 (Circular Linked List Implementation)
  72. Iterative Search for a key 'x' in Binary Tree
  73. AVL with duplicate keys
  74. Circular Linked List | Set 2 (Traversal)
  75. Delete last occurrence of an item from linked list
  76. Stack | Set 4 (Evaluation of Postfix Expression)
  77. Threaded Binary Tree | Insertion
  78. Threaded Binary Search Tree | Deletion
  79. Minimum edge reversals to make a root
  80. Check whether given string can be generated after concatenating given strings
  81. Multiply two numbers represented by Linked Lists
  82. Find median of BST in O(n) time and O(1) space
  83. Insertion Sort for Doubly Linked List
  84. Program for Page Replacement Algorithms | Set 2 (FIFO)
  85. Print path from root to a given node in a binary tree
  86. Shortest path between two nodes in array like representation of binary tree
  87. Insert value in sorted way in a sorted doubly linked list
  88. Delete a Doubly Linked List node at a given position
  89. Count triplets in a sorted doubly linked list whose sum is equal to a given value x
  90. Replace each node in binary tree with the sum of its inorder predecessor and successor
  91. Delete all occurrences of a given key in a doubly linked list
  92. Recursive selection sort for singly linked list | Swapping node links
  93. An interesting method to print reverse of a linked list
  94. Maximum sum from a tree with adjacent levels not allowed
  95. String which when repeated exactly K times gives a permutation of S
  96. Count nodes in Circular linked list
  97. Reverse a Linked List in groups of given size | Set 2
  98. Preorder Successor of a Node in Binary Tree
  99. Check if all levels of two trees are anagrams or not
  100. Maximum path sum in matrix
  101. Count of Numbers in Range where the number does not contain more than K non zero digits
  102. Reverse a Linked List according to its Size
  103. Print nodes at k distance from root | Iterative
  104. Sum of all nodes in a binary tree
  105. Find sum of all right leaves in a given Binary Tree
  106. Merge two sorted lists (in-place)
  107. Remove duplicates from a sorted linked list using recursion
  108. Josephus Circle using circular linked list
  109. Exchange first and last nodes in Circular Linked List
  110. Print all palindromic paths from top left to bottom right in a matrix
  111. Convert singly linked list into circular linked list
  112. Sum of all the parent nodes having child node x
  113. Reverse a stack without using extra space in O(n)
  114. Construct BST from its given level order traversal
  115. Construct Full Binary Tree using its Preorder traversal and Preorder traversal of its mirror tree
  116. Inorder Successor of a node in Binary Tree
  117. Kth ancestor of a node in binary tree | Set 2
  118. Node having maximum sum of immediate children and itself in n-ary tree
  119. Replace nodes with duplicates in linked list
  120. Find if it is possible to make a binary string which contanins given number of "0", "1" , "01" and "10" as sub sequences
  121. Maximum length subsequence possible of the form R^N K^N
  122. Number of Binary Trees for given Preorder Sequence length
  123. Check if the given array can represent Level Order Traversal of Binary Search Tree
  124. Next Greater Frequency Element
  125. Left Leaning Red Black Tree (Insertion)
  126. Reverse a circular linked list
  127. Number of NGEs to the right
  128. Recursive function to delete k-th node from linked list
  129. Smallest Derangement of Sequence
  130. Recursive insertion and traversal linked list
  131. Reverse a Doubly linked list using recursion
  132. Iterative diagonal traversal of binary tree
  133. Find n-th node of inorder traversal
  134. Reverse a Doubly Linked List | Set-2
  135. Count subtrees that sum up to a given value x only using single recursive function
  136. Reverse first K elements of given linked list
  137. Print Reverse a linked list using Stack
  138. Iterative searching in Binary Search Tree
  139. Insert a whole linked list into other at k-th position
  140. Postorder traversal of Binary Tree without recursion and without stack
  141. Sorted merge of two sorted doubly circular linked lists
  142. Reverse a Doubly Linked List | Set 4 (Swapping Data)
  143. Make a loop at k-th position in a linked list
  144. Level of Each node in a Tree from source node (using BFS)
  145. Find the largest node in Doubly linked list
  146. Water Connection Problem
  147. Reverse a doubly linked list in groups of given size
  148. Check if a Binary Tree (not BST) has duplicate values
  149. Print alternate nodes of a linked list using recursion
  150. Print the alternate nodes of linked list (Iterative Method)
  151. Alternate Odd and Even Nodes in a Singly Linked List
  152. Priority Queue using Linked List
  153. Modify a binary tree to get preorder traversal using right pointers only
  154. Priority Queue using doubly linked list
  155. Postfix to Infix
  156. Postfix to Prefix Conversion
  157. Prefix to Postfix Conversion
  158. Level order traversal line by line | Set 3 (Using One Queue)
  159. Sum of heights of all individual nodes in a binary tree
  160. Check given array of size n can represent BST of n levels or not
  161. Find middle of singly linked list Recursively
  162. Reverse each word in a linked list node
  163. Rotate Doubly linked list by N nodes
  164. Lucky alive person in a circle | Code Solution to sword puzzle
  165. Binary Search on Singly Linked List
  166. Find sum of all nodes of the given perfect binary tree
  167. Reverse tree path
  168. Minimum rooms for m events of n batches with given schedule
  169. Sorted insert in a doubly linked list with head and tail pointers
  170. Find unique elements in a matrix
  171. Reverse Morris traversal using Threaded Binary Tree
  172. Program to find N-th term of the series a, b, b, c, c, c,.......
  173. Program to find size of Doubly Linked List
  174. Powers of 2 to required sum
  175. Find largest subtree sum in a tree
  176. Number of siblings of a given Node in n-ary Tree
  177. Lexicographically smallest string obtained after concatenating array
  178. Minimum product subset of an array
  179. Position of n among the numbers made of 2, 3, 5 & 7
  180. Sum of bitwise AND of all possible subsets of given set
  181. Find all palindromic sub-strings of a given string | Set 2
  182. Delete all Prime Nodes from a Singly Linked List
  183. Count binary strings with twice zeros in first half
  184. JRadioButton | Java Swing
  185. Sum of square-sums of first n natural numbers
  186. Reflection of a point at 180 degree rotation of another point
  187. Number of single cycle components in an undirected graph
  188. Sum of cousins of a given node in a Binary Tree
  189. N/3 repeated number in an array with O(1) space
  190. Maximum subset with bitwise OR equal to k
  191. Same Number Of Set Bits As N
  192. Sum of product of r and rth Binomial Coefficient (r * nCr)
  193. Find the largest Complete Subtree in a given Binary Tree
  194. K-th smallest element after removing given integers from natural numbers | Set 2
  195. Reverse nodes of a linked list without affecting the special characters
  196. Pentatope number
  197. Infix to Prefix conversion using two stacks
  198. Sort the biotonic doubly linked list | Set-2
  199. Find the frequency of a digit in a number
  200. Find n-th node in Preorder traversal of a Binary Tree
  201. Find a Symmetric matrix of order N that contain integers from 0 to N-1 and main diagonal should contain only 0's
  202. Convert a Binary Tree such that every node stores the sum of all nodes in its right subtree
  203. Move first element to end of a given Linked List
  204. Find the lexicographical next balanced bracket sequence
  205. Find n-th node in Postorder traversal of a Binary Tree
  206. Find postorder traversal of BST from preorder traversal
  207. Check if two trees are mirror of each other using level order traversal
  208. Minimum steps in which N can be obtained using addition or subtraction at every step
  209. Count occurrences of a substring recursively
  210. Check if two nodes are cousins in a Binary Tree | Set-2
  211. Compute power of power k times % m
  212. Find an element which divides the array in two subarrays with equal product
  213. Program to check similarity of given two triangles
  214. All pairs whose xor gives unique prime
  215. Sum of all even frequency elements in Matrix
  216. Delete all the nodes from the doubly linked list that are greater than a given value
  217. Delete all the even nodes from a Doubly Linked List
  218. Find the sum of non-prime elements in the given array
  219. Range product queries in an array
  220. Program to print numeric pattern | Set - 2
  221. Number of elements smaller than root using preorder traversal of a BST
  222. Print all the pairs that contains the positive and negative values of an element
  223. Lexicographically middle string
  224. Count pairs with Bitwise AND as ODD number
  225. Weird Number
  226. Sum of XOR of sum of all pairs in an array
  227. Check if two trees have same structure
  228. Inserting M into N such that m starts at bit j and ends at bit i | Set-2
  229. Insertion at Specific Position in a Circular Doubly Linked List
  230. Longest common anagram subsequence from N strings
  231. Intersecting rectangle when bottom-left and top-right corners of two rectangles are given
  232. Number of handshakes such that a person shakes hands only once
  233. Longest subarray such that the difference of max and min is at-most one
  234. Add two unsigned numbers using bits
  235. Number of Co-prime pairs obtained from the sum of digits of elements in the given range
  236. Find First element in AP which is multiple of given prime
  237. Sum of all elements repeating 'k' times in an array
  238. Bubble Sort On Doubly Linked List
  239. Cut all the rods with some length such that the sum of cut-off length is maximized
  240. Maximum possible intersection by moving centers of line segments
  241. Minimum number of changes required to make the given array an AP
  242. Printing frequency of each character just after its consecutive occurrences
  243. Find the Missing Number in a sorted array
  244. Count numbers which can be represented as sum of same parity primes
  245. Number of quadrilaterals possible from the given points
  246. N-th term in the series 1, 11, 55, 239, 991,....
  247. Elements that occurred only once in the array
  248. Find the maximum node at a given level in a binary tree
  249. Number of ways a convex polygon of n+2 sides can split into triangles by connecting vertices
  250. Number of ways to change the XOR of two numbers by swapping the bits
  251. Count number of triplets with product equal to given number | Set 2
  252. Program to find GCD or HCF of two numbers using Middle School Procedure
  253. Program to print half diamond Number-Star pattern
  254. Root to leaf path sum equal to a given number in BST
  255. Program to Find the Largest Number using Ternary Operator
  256. FIFO (First-In-First-Out) approach in Programming
  257. Convert an Array to a Circular Doubly Linked List
  258. Length of longest common subsequence containing vowels
  259. Recursive Approach to find nth node from the end in the linked list
  260. Longest subarray having maximum sum
  261. Reverse a doubly circular linked list
  262. Distinct Prime Factors of Array Product
  263. Zig Zag Level order traversal of a tree using single queue
  264. Product of all prime nodes in a Doubly Linked List
  265. LIFO (Last-In-First-Out) approach in Programming
  266. Sum of the nodes of a Singly Linked List
  267. Search an Element in Doubly Circular Linked List
  268. Delete every Kth node from circular linked list
  269. Delete linked list nodes which have a greater value on left side
  270. Delete all the nodes from a doubly linked list that are smaller than a given value
  271. Sum of all nodes in a doubly linked list divisible by a given number K
  272. Maximum and Minimum element of a linked list which is divisible by a given number k
  273. Sum and Product of the nodes of a Singly Linked List which are divisible by K
  274. Sum and Product of all Prime Nodes of a Singly Linked List
  275. Minimum and Maximum Prime Numbers of a Singly Linked List
  276. Replace even nodes of a doubly linked list with the elements of array
  277. Find the Second Largest Element in a Linked List
  278. Print Doubly Linked list in Reverse Order
  279. Delete all Prime Nodes from a Doubly Linked List
  280. Delete all nodes from the doubly linked list which are divisible by K
  281. Delete linked list nodes which have a Lesser Value on Left Side
  282. Find a peak element in Linked List
  283. Find column with maximum sum in a Matrix
  284. Sum of the nodes of a Circular Linked List
  285. Area of a circle inscribed in a rectangle which is inscribed in a semicircle
  286. Check if it is possible to sort the array after rotating it
  287. Insert a node in Binary Search Tree Iteratively
  288. Product of all nodes in a doubly linked list divisible by a given number K
  289. Product of the nodes of a Singly Linked List
  290. Delete all the even nodes of a Circular Linked List
  291. Product of all leaf nodes of binary tree
  292. Remove BST Keys in a given Range
  293. Delete all Prime Nodes from a Circular Singly Linked List
  294. Print Sum and Product of all Non-Leaf nodes in Binary Tree
  295. Product of all nodes in a Binary Tree
  296. Find pairs with given product in a sorted Doubly Linked List
  297. All possible co-prime distinct element pairs within a range [L, R]
  298. Optimal sequence for AVL tree insertion (without any rotations)
  299. Product of the alternate nodes of linked list
  300. Sum of the alternate nodes of linked list
  301. Length of the Diagonal of the Octagon
  302. Sort only non-prime numbers of an array in increasing order
  303. Check whether a binary string can be formed by concatenating given N numbers sequentially
  304. Print nodes in the Top View of Binary Tree | Set 3
  305. Find the longest common prefix between two strings after performing swaps on second string
  306. Find the common nodes in two singly linked list
  307. Number of permutations of a string in which all the occurrences of a given character occurs together
  308. Rotate the sub-list of a linked list from position M to N to the right by K places
  309. Check if a pair with given product exists in Linked list
  310. Count numbers whose difference with N is equal to XOR with N
  311. Sum and Product of minimum and maximum element of Binary Search Tree
  312. Count triplets in a sorted doubly linked list whose product is equal to a given value x
  313. Check if all the palindromic sub-strings are of odd length
  314. Linked List Product of Nodes Between 0s
  315. Program to Convert Octal Number to Binary Number
  316. Print array elements in alternatively increasing and decreasing order
  317. Replace repeating elements with greater that greatest values
  318. Number of elements that can be seen from right side
  319. Remove characters that appear more than k times
  320. Remove first node of the linked list
  321. Remove last node of the linked list
  322. Longest subarray in which all elements are greater than K
  323. Replace all consonants with nearest vowels in a string
  324. Get maximum items when other items of total cost of an item are free
  325. Maximum number of edges among all connected components of an undirected graph
  326. Print nodes of linked list at given indexes
  327. Number of words in a camelcase sequence
  328. Count of Prime Nodes of a Singly Linked List
  329. Sum and Product of all Composite numbers which are divisible by k in an array
  330. Minimum number of operations required to delete all elements of the array
  331. Smallest number greater than or equal to N divisible by K
  332. Find minimum and maximum elements in singly Circular Linked List
  333. Maximums from array when the maximum decrements after every access
  334. Rearrange a string in the form of integer sum followed by the minimized character
  335. Multiplication of two polynomials using Linked list
  336. Check whether a given binary tree is skewed binary tree or not?
  337. GCD of a number raised to some power and another number
  338. Find a number that divides maximum array elements
  339. Count subarrays with Prime sum
  340. Find all good indices in the given Array
  341. Largest cube that can be inscribed within the sphere
  342. Sum of all the multiples of 3 and 7 below N
  343. Count and Print the alphabets having ASCII value not in the range [l, r]
  344. Print each word in a sentence with their corresponding average of ASCII values
  345. Find the count of substrings in alphabetic order
  346. Smallest prime number missing in an array
  347. Sum and Product of the nodes of a Circular Singly Linked List which are divisible by K
  348. Find two numbers whose sum and GCD are given
  349. Print all numbers less than N with at-most 2 unique digits
  350. Check if the array has an element which is equal to sum of all the remaining elements
  351. Find the number of primitive roots modulo prime
  352. XOR of path between any two nodes in a Binary Tree
  353. Search a node in Binary Tree
  354. Double ended priority queue
  355. Print path between any two nodes in a Binary Tree
  356. Check if two nodes are in same subtree of the root node
  357. Find the other number when LCM and HCF given
  358. LCM and HCF of fractions
  359. Minimum number of characters to be replaced to make a given string Palindrome
  360. Generate a sequence with the given operations
  361. Count Triplets such that one of the numbers can be written as sum of the other two
  362. Minimum cost to cover the given positions in a N*M grid
  363. Element equal to the sum of all the remaining elements
  364. Program to convert given Matrix to a Diagonal Matrix
  365. Largest perfect cube number in an Array
  366. Largest cube that can be inscribed within a right circular cylinder
  367. Sum of all odd nodes in the path connecting two given nodes
  368. Sum of the digits of a number N written in all bases from 2 to N/2
  369. Print the nodes of binary tree as they become the leaf node
  370. Check if N can be represented as sum of integers chosen from set {A, B}
  371. Check if N is divisible by a number which is composed of the digits from the set {A, B}
  372. Count number of triplets (a, b, c) such that a^2 + b^2 = c^2 and 1 <= a <= b <= c <= n
  373. Find a point that lies inside exactly K given squares
  374. Program to find average of all nodes in a Linked List
  375. Find the node whose absolute difference with X gives maximum value
  376. Delete all Non-Prime Nodes from a Singly Linked List
  377. Check if elements of an array can be arranged satisfying the given condition
  378. Find the minimum positive integer such that it is divisible by A and sum of its digits is equal to B
  379. Check if the given decimal number has 0 and 1 digits only
  380. Number of Binary Strings of length N with K adjacent Set Bits
  381. Count valid pairs in the array satisfying given conditions
  382. Maximum possible time that can be formed from four digits
  383. Sum of elements in an array with frequencies greater than or equal to that element
  384. Concatenate suffixes of a String
  385. Remove all continuous occurrences of 'a' and all occurrences of 'b'
  386. Count characters in a string whose ASCII values are prime
  387. Minimum Distance Between Words of a String
  388. Sum of integers upto N with given unit digit
  389. Check if the sum of primes is divisible by any prime from the array
  390. Integers from the range that are composed of a single distinct digit
  391. Sub-strings of a string that are prefix of the same string
  392. Find the Number of Maximum Product Quadruples
  393. Find nth Hermite number
  394. Minimum number of consecutive sequences that can be formed in an array
  395. Minimum in an array which is first decreasing then increasing
  396. Minimum steps to reach any of the boundary edges of a matrix | Set 1
  397. Recursive program to print all subsets with given sum
  398. Flatten a binary tree into linked list | Set-3
  399. Ways to fill N positions using M colors such that there are exactly K pairs of adjacent different colors
  400. Largest Square that can be inscribed within a hexagon
  401. Maximum GCD of N integers with given product
  402. Form N-copy string with add, remove and append operations
  403. Find minimum x such that (x % k) * (x / k) == n
  404. Count of Numbers in a Range where digit d occurs exactly K times
  405. Append odd position nodes in reverse at the end of even positioned nodes in a Linked List
  406. Largest sub-set possible for an array satisfying the given condition
  407. Ways to paint N paintings such that adjacent paintings don't have same colors
  408. Recursive program to print all numbers less than N which consist of digits 1 or 3 only
  409. Convert given string so that it holds only distinct characters
  410. Find probability of selecting element from kth column after N iterations
  411. Find the sum of the all amicable numbers up to N
  412. Check if a number can be expressed as sum two abundant numbers
  413. Ternary Search
  414. Print all Proth primes up to N
  415. Count number of sub-sequences with GCD 1
  416. Pizza Problem
  417. Print the last k nodes of the linked list in reverse order | Recursive approach
  418. Make Binary Search Tree
  419. Filling diagonal to make the sum of every row, column and diagonal equal of 3x3 matrix
  420. Find the product of first k nodes of the given Linked List
  421. Split the array into equal sum parts according to given conditions
  422. Sum of all the Boundary Nodes of a Binary Tree
  423. Iterative Method To Print Left View of a Binary Tree
  424. Maximum number of segments that can contain the given points
  425. Count of quadruplets from range [L, R] having GCD equal to K
  426. Maximize the maximum among minimum of K consecutive sub-arrays
  427. Find index i such that prefix of S1 and suffix of S2 till i form a palindrome when concatenated
  428. Search element in a Spirally sorted Matrix
  429. Minimum edges to be added in a directed graph so that any node can be reachable from a given node
  430. Count of numbers between range having only non-zero digits whose sum of digits is N and number is divisible by M
  431. Print k different sorted permutations of a given array
  432. Find the maximum value permutation of a graph
  433. DFA for strings not containing consecutive two a's and starting with 'a'
  434. Reverse Level Order traversal in spiral form
  435. Schedule elevator to reduce the total time taken
  436. Anti Clockwise spiral traversal of a binary tree
  437. Maximum length subarray with difference between adjacent elements as either 0 or 1
  438. Find Nth positive number whose digital root is X
  439. Print the lexicographically smallest DFS of the graph starting from 1
  440. Minimum number of given powers of 2 required to represent a number
  441. Position of a person diametrically opposite on a circle
  442. Count the Number of Binary Search Trees present in a Binary Tree
  443. Count numbers in range 1 to N which are divisible by X but not by Y
  444. Sum of bitwise AND of all submatrices
  445. Sum of Bitwise-OR of all Submatrices
  446. Sum of minimum element of all sub-sequences of a sorted array
  447. Sum of minimum element of all subarrays of a sorted array
  448. Count Numbers in Range with difference between Sum of digits at even and odd positions as Prime
  449. Maximum occurrence of prefix in the Array
  450. Count of all even numbers in the range [L, R] whose sum of digits is divisible by 3
  451. Chessboard Pawn-Pawn game
  452. Count numbers which are divisible by all the numbers from 2 to 10
  453. Minimum sum path between two leaves of a binary tree
  454. Ways to place 4 items in n^2 positions such that no row/column contains more than one
  455. Find the count of numbers that can be formed using digits 3, 4 only and having length at max N.
  456. Ways to form a group from three groups with given constraints
  457. Number of ways to pair people
  458. Minimum length substring with exactly K distinct characters
  459. Find the first maximum length even word from a string
  460. Minimum number of bracket reversals needed to make an expression balanced | Set - 2
  461. Count permutations that are first decreasing then increasing.
  462. Sum of nodes in top view of binary tree
  463. Longest subarray such that adjacent elements have at least one common digit | Set - 2
  464. Number of ways to remove elements to maximize arithmetic mean
  465. Distinct state codes that appear in a string as contiguous sub-strings
  466. Find the sum of all Truncatable primes below N
  467. Count maximum elements of an array whose absolute difference does not exceed K
  468. Minimum value among AND of elements of every subset of an array
  469. Minimum length of square to contain at least half of the given Coordinates
  470. Maximum count of pairs which generate the same sum
  471. Find foot of perpendicular from a point in 2 D plane to a Line
  472. Find a pair from the given array with maximum nCr value
  473. Print a number as string of 'A' and 'B' in lexicographic order
  474. Find a distinct pair (x, y) in given range such that x divides y
  475. Largest number N which can be reduced to 0 in K steps
  476. Sort elements of the array that occurs in between multiples of K
  477. Check if the given binary tree has a sub-tree with equal no of 1's and 0's | Set 2
  478. Queries to return the absolute difference between L-th smallest number and the R-th smallest number
  479. Perform K of Q queries to maximize the sum of the array elements
  480. Create a mirror tree from the given binary tree
  481. Maximum sub-tree sum in a Binary Tree such that the sub-tree is also a BST
  482. Construct Binary Tree from given Parent Array representation | Iterative Approach
  483. Find the maximum number of composite summands of a number
  484. Count nodes with two children at level L in a Binary Tree
  485. Number of ways to go from one point to another in a grid
  486. Minimum array elements to be changed to make Recaman's sequence
  487. Reverse Clockwise spiral traversal of a binary tree
  488. Kth node in Diagonal Traversal of Binary Tree
  489. Iterative approach to check if a Binary Tree is Perfect
  490. Iterative approach to check for children sum property in a Binary Tree
  491. Recursive Program to Print extreme nodes of each level of Binary Tree in alternate order
  492. Reverse alternate levels of a perfect binary tree using Stack
  493. Print all leaf nodes of a binary tree from right to left
  494. Given an array and two integers l and r, find the kth largest element in the range [l, r]
  495. Find sum of even and odd nodes in a linked list
  496. Minimum steps to color the tree with given colors
  497. XOR of all the elements in the given range [L, R]
  498. Find the number of integers from 1 to n which contains digits 0's and 1's only
  499. Find maximum in stack in O(1) without using additional stack
  500. Find number of edges that can be broken in a tree such that Bitwise OR of resulting two trees are equal
  501. Sum of nodes in a linked list which are greater than next node
  502. Count the number of pairs (i, j) such that either arr[i] is divisible by arr[j] or arr[j] is divisible by arr[i]
  503. Maximum number of people that can be killed with strength P
  504. Total number of triangles formed when there are H horizontal and V vertical lines
  505. Count distinct points visited on the number line
  506. Length of the longest increasing subsequence such that no two adjacent elements are coprime
  507. Iterative selection sort for linked list
  508. Print path from root to all nodes in a Complete Binary Tree
  509. Find (1^n + 2^n + 3^n + 4^n) mod 5 | Set 2
  510. Insert N elements in a Linked List one after other at middle position
  511. Sum of all distinct nodes in a linked list
  512. Sum of smaller elements of nodes in a linked list
  513. Queries to answer the number of ones and zero to the left of given index
  514. Minimum possible final health of the last monster in a game
  515. Divide array into two parts with equal sum according to the given constraints
  516. Remove the first and last character of each word in a string
  517. Check if all the 1's in a binary string are equidistant or not
  518. Check if two strings are same ignoring their cases
  519. Split the array elements into strictly increasing and decreasing sequence
  520. Sum of all the levels in a Binary Search Tree
  521. Find the number of divisors of all numbers in the range [1, n]
  522. Check if matrix A can be converted to B by changing parity of corner elements of any submatrix
  523. Find the sum of leafs at maximum level
  524. Queries to update a given index and find gcd in range
  525. Maximum length palindrome that can be created with characters in range L and R
  526. Check if string can be made lexicographically smaller by reversing any substring
  527. Kth largest node among all directly connected nodes to the given node in an undirected graph
  528. Sum of all parent-child differences in a Binary Tree
  529. Sum of all odd frequency nodes of the Linked List
  530. Check if given Preorder, Inorder and Postorder traversals are of same tree | Set 2
  531. Iterative Postorder traversal | Set 3
  532. Maximum sum path in a matrix from top to bottom and back
  533. Sum of the mirror image nodes of a complete binary tree in an inorder way
  534. Count the number of primes in the prefix sum array of the given array
  535. Maximum sum such that no two elements are adjacent | Set 2
  536. Create linked list from a given array
  537. Count of distinct rectangles inscribed in an equilateral triangle
  538. Check if the number is even or odd whose digits and base (radix) is given
  539. Find the node whose sum with X has maximum set bits
  540. Create new linked list from two given linked list with greater element at each node
  541. Number of common tangents between two circles if their centers and radius is given
  542. Minimum steps required to reach the end of a matrix | Set 2
  543. Create a linked list from two linked lists by choosing max element at each position
  544. Count the nodes in the given tree whose weight is even parity
  545. Check if a string contains two non overlapping sub-strings "geek" and "keeg"
  546. Check if the given array contains all the divisors of some integer
  547. Divide the given linked list in two lists of size ratio p:q
  548. Maximum possible middle element of the array after deleting exactly k elements
  549. Queries to find the last non-repeating character in the sub-string of a given string
  550. Count the nodes of the given tree whose weighted string is a palindrome
  551. Count the nodes of the tree whose weighted string contains a vowel
  552. Count the triplets such that A[i] < B[j] < C[k]
  553. Factorial of an Array of integers
  554. Program to find the number of men initially
  555. Count the nodes of the given tree whose weight has X as a factor
  556. Maximum Sum Subsequence of length k
  557. Find max length odd parity substring
  558. Count duplicates in a given linked list
  559. Print all the nodes except the leftmost node in every level of the given binary tree
  560. Count of adjacent Vowel Consonant Pairs
  561. Density of Binary Tree using Level Order Traversal
  562. Find the node with maximum value in a Binary Search Tree using recursion
  563. Design a stack which can give maximum frequency element
  564. 8086 program to reverse a string
  565. 8086 program to print a String
  566. 8086 program to check whether a string is palindrome or not
  567. Bitonic point in the given linked list
  568. Reverse a Linked List in groups of given size (Iterative Approach)