Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
Competitive Programming
3.3K+ articles
Strings
3.3K+ articles
Dynamic Programming
1.6K+ articles
Tree
1.4K+ articles
Recursion
1.0K+ articles
Algorithms-Dynamic Programming
128+ articles
Algorithms-Recursion
51 posts
Recent Articles
Popular Articles
Minimum number of operations to make all letters in the string equal
Last Updated: 15 September 2023
Given a string "str" consisting of lowercase alphabets, the task is to find the minimum number of operations to be applied on string "str" such that all letters of the str...
read more
Strings
Recursion
DSA
Algorithms-Recursion
strings
Achieving Y through integer splitting
Last Updated: 16 November 2023
Given integers X and Y, the task is to check if Y can be formed from X by performing the following operations any number of times:Split X into 2 integers A and B such that...
read more
Dynamic Programming
Recursion
DSA
Algorithms-Recursion
Compressed String decoding for Kth character
Last Updated: 13 December 2023
Given a compressed string composed of lowercase characters and numbers, the task is to decode the compressed string and to find out the character located at the Kth positi...
read more
Strings
Competitive Programming
Recursion
DSA
Directi
Algorithms-Recursion
encoding-decoding
strings
Count distinct original Strings
Last Updated: 28 October 2023
Given a string str. A faulty machine prints bb instead of character a and prints dd instead of char c and for the rest characters it prints normally, the task is to find h...
read more
Dynamic Programming
Recursion
DSA
Algorithms-Dynamic Programming
Algorithms-Recursion
Memoization
recursive-approach
Tail Call Optimisation in C
Last Updated: 06 September 2023
In C programming, Tail Call Optimization (TCO) is a technique that eliminates the need for an additional stack frame to store the data of another function by reusing the c...
read more
Recursion
Compiler Design
C Language
Algorithms-Recursion
optimization-technique
tail-recursion
Count of Valid Partitions such that all Partitions lie in Range [1, L]
Last Updated: 04 December 2023
Given a string S containing only digits and an integer L, find the number of ways to partition the given string such that each partition forms a number that lies between t...
read more
Dynamic Programming
Geeks Premier League
DSA
Algorithms-Recursion
Find all concatenations of words in Array
Last Updated: 30 November 2023
Given an array of strings arr[] (1 = |arr[i]| = 20) of size N (1 = N = 104), the task is to find all strings from the given array that are formed by the concatenation of s...
read more
Hash
Geeks Premier League
DSA
Algorithms-Recursion
Geeks Premier League 2023
Frog Jump - Climbing Stairs with Cost
Last Updated: 11 November 2024
Given an integer array height[] where height[i] represents the height of the i-th stair, a frog starts from the first stair and wants to reach the top. From any stair i, t...
read more
Dynamic Programming
DSA
Amazon
Adobe
Google
Data Structures
Algorithms-Dynamic Programming
Algorithms-Recursion
Memoization
Maximum points by removing Identical Items
Last Updated: 23 December 2023
Given an array arr[] of size N (1 = N = 100), which consists of positive numbers representing different items, two items in the array will be treated as identical if arr[...
read more
Dynamic Programming
Geeks Premier League
DSA
Algorithms-Recursion
Geeks Premier League 2023
Maximizing Readability-Coefficient for Book Printing
Last Updated: 07 December 2023
A book publisher collected data on the readability level of his n books. Book publisher can print any book in 1 unit of time. Readability-Coefficient of a book is defined ...
read more
Dynamic Programming
Geeks Premier League
DSA
Algorithms-Recursion
Geeks Premier League 2023
Maximizing Merit Points in Training Program
Last Updated: 11 January 2025
Geek is going for a training program. He can perform any of these activities: Running, Fighting, and Learning Practice. Each activity has some point on each day. As Geek w...
read more
Dynamic Programming
Recursion
Picked
DSA
Algorithms-Dynamic Programming
Algorithms-Recursion
Program to Reveal the positions in Minesweeper
Last Updated: 23 January 2024
Given a m x n char matrix mat[][] representing the Minesweeper game board. The matrix mat[i][j], uses characters to denote unopened mines ('M'), unopened empty squares ('E...
read more
Matrix
Picked
Geeks Premier League
DSA
DFS
Algorithms-Recursion
Geeks Premier League 2023
Print all paths in matrix with given target sum
Last Updated: 12 March 2024
Given a 2D matrix mat[][] of size N*M and a target sum S, print all paths in matrix with sum = S from the top-left corner with the constraints that from each cell you can ...
read more
Matrix
DSA
Algorithms-Recursion
Backtracking Algorithm
Last Updated: 01 December 2024
Backtracking algorithms are like problem-solving strategies that help explore different options to find the best solution. They work by trying out different paths and if o...
read more
Backtracking
DSA
Algorithms-Backtracking
Algorithms-Recursion
CSES Solutions - Trailing Zeros
Last Updated: 02 April 2024
Your task is to calculate the number of trailing zeros in the factorial N!.Examples: Input: N = 20Output: 4Explanation: 20! = 2432902008176640000 and it has 4 trailing zer...
read more
Mathematical
Competitive Programming
Picked
DSA
Algorithms-Recursion
CSES Problems
1
2
3
4
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !