Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
DSA
22.5k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Greedy
2k+ articles
Sorting
1.7k+ articles
Searching
1.7k+ articles
Matrix
1.2k+ articles
subarray
640+ articles
series
510+ articles
Algo Geek
240+ posts
Popular Articles
Recent Articles
Check if every row in given Matrix contains all the integers from 1 to N
Last Updated: 24 March 2023
Given a matrix arr[][] of size M*N containing only positive integers, the task is to check if every row contains all the integers from 1 to
...read more
Greedy
Mathematical
Matrix
Algo Geek
Algo-Geek 2021
DSA
Split given String into substrings of size K by filling elements
Last Updated: 27 January 2022
Given a string str of length N and an integer K, the task is to split the string into K sized groups and if the last group does not have K c
...read more
Strings
substring
partition
Algo Geek
Algo-Geek 2021
DSA
Find all distinct three digit numbers from given array of digits
Last Updated: 10 August 2022
Given an array containing digits[], where each element is a single digit integer. The array may contain duplicates. The task is to find all
...read more
Arrays
Greedy
Mathematical
number-digits
Algo Geek
DSA
Similar Topics
DSA
22.5k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Greedy
2k+ articles
Sorting
1.7k+ articles
Searching
1.7k+ articles
Matrix
1.2k+ articles
subarray
640+ articles
series
510+ articles
Encoding a sentence into Pig Latin
Last Updated: 24 August 2022
Design a program to take a sentence as an input, and then encode it into Pig Latin.A Pig Latin is an encrypted word in English, generated by
...read more
Strings
encoding-decoding
Algo Geek
Algo-Geek 2021
DSA
Number of ways to divide a N elements equally into group of at least 2
Last Updated: 27 January 2022
Given an integer N denoting the number of elements, the task is to find the number of ways to divide these elements equally into groups such
...read more
Mathematical
Combinatorial
C++
C++ Programs
Algo Geek
Algo-Geek 2021
DSA
Number of K-length paths in a Tree
Last Updated: 12 April 2023
Given a tree of N nodes and an integer K, the task is to find the total number of paths having length K.Examples:Input: N = 5, K = 2tree =
...read more
Tree
Algo Geek
Algo-Geek 2021
DSA
Program to find simple moving average | Set-2
Last Updated: 11 January 2022
Simple Moving Average is the average obtained from the data for some t period of time . In normal mean, its value get changed with the chang
...read more
Arrays
Mathematical
maths-mean
Algo Geek
Algo-Geek 2021
DSA
Count of Palindrome Strings in given Array of strings
Last Updated: 13 July 2022
Given an array of strings arr[] of size N where each string consists only of lowercase English letter. The task is to return the count of al
...read more
Strings
palindrome
Algo Geek
Algo-Geek 2021
DSA
Find Permutation of N numbers in range [1, N] such that K numbers have value same as their index
Last Updated: 19 January 2022
Given a positive integer N and an integer K such that 0 ≤ K ≤ N, the task is to find any permutation A of [1, N] such that the number of
...read more
Arrays
Mathematical
permutation
Algo Geek
Algo-Geek 2021
DSA
Abbreviate given string by replacing all characters with length except the first and last
Last Updated: 10 January 2022
Given string str, the task is to convert the given string into its abbreviation of the form: first character, number of characters between f
...read more
Strings
Mathematical
C++
C++ Programs
Algo Geek
Algo-Geek 2021
DSA
Smallest set of vertices to visit all nodes of the given Graph
Last Updated: 11 January 2025
Given a directed acyclic graph of N nodes, the task is to find the smallest set of vertices from which the complete graph can be visited.Exa
...read more
Graph
Graph Traversals
Algo Geek
Algo-Geek 2021
DSA
Check if an edge is a part of any Minimum Spanning Tree
Last Updated: 02 March 2023
Given a connected undirected weighted graph in the form of a 2D array where each row is of the type [start node, end node, weight] describin
...read more
Graph
MST
Algo Geek
Algo-Geek 2021
DSA
Maximum count of adjacent pairs with even sum in given Circular Array
Last Updated: 20 December 2022
Content Removed...
...read more
Arrays
Greedy
Mathematical
circular-array
Algo Geek
Algo-Geek 2021
DSA
Divide given number into two even parts
Last Updated: 14 July 2023
Given a number N, the task is to check if this number can be divided into 2 even parts.Examples:Input: N = 8Output: YESExplanation: 8 can be
...read more
Greedy
Mathematical
Algo Geek
Algo-Geek 2021
DSA
N-Base modified Binary Search algorithm
Last Updated: 10 November 2022
N-Base modified Binary Search is an algorithm based on number bases that can be used to find an element in a sorted array arr[]. This algori
...read more
Bit Magic
Binary Search
Searching
Mathematical
Algorithms-Searching
base-conversion
Algo Geek
Algo-Geek 2021
DSA
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
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 !