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
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ 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 2021
240+ posts
Popular Articles
Recent Articles
Floyd’s Cycle Finding Algorithm
Last Updated: 06 September 2024
Floyd's cycle finding algorithm or Hare-Tortoise algorithm is a pointer algorithm that uses only two pointers, moving through the sequence a
...read more
Graph
Algorithms
graph-cycle
Algo Geek
Algo-Geek 2021
DSA
Check if the given string is valid English word or not
Last Updated: 23 November 2023
Given string str, the task is to check if this string str consists of valid English words or not.A string is known as a valid English word i
...read more
Strings
Algo Geek
Algo-Geek 2021
DSA
Distinct Prime Factors of a given number N
Last Updated: 04 January 2023
Given a number N, the task is to find the distinct Prime Factors of N.Examples:Input: N = 12Output: 2 3Explanation: The factors of 12 are 1,
...read more
Mathematical
prime-factor
frequency-counting
Algo Geek
Algo-Geek 2021
DSA
Similar Topics
DSA
22.3k+ 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
Maximize partitions that if sorted individually makes the whole Array sorted
Last Updated: 27 March 2025
Given an array arr[]. The task is to divide arr[] into the maximum number of partitions, such that, those partitions if sorted individually
...read more
Arrays
Divide and Conquer
Sorting
partition
Algo Geek
Algo-Geek 2021
DSA
Naming Convention in C++
Last Updated: 28 October 2022
Naming a file or a variable is the first and the very basic step that a programmer takes to write clean codes, where naming has to be approp
...read more
C++
Algo Geek
Algo-Geek 2021
Day-Stout-Warren algorithm to balance given Binary Search Tree
Last Updated: 24 February 2023
Given an unbalanced Binary Search Tree (BST), the task is to convert it into a balanced BST in linear time and without using auxiliary space
...read more
Algorithms
Binary Search Tree
Algo Geek
Algo-Geek 2021
DSA
Find all Palindrome Strings in given Array of strings
Last Updated: 21 June 2022
Given an array of strings arr[] of size N where each string consists only of lowercase English letter. The task is to find all palindromic s
...read more
Strings
palindrome
Algo Geek
Algo-Geek 2021
DSA
P, NP, CoNP, NP hard and NP complete | Complexity Classes
Last Updated: 22 February 2025
In computer science, problems are divided into classes known as Complexity Classes. In complexity theory, a Complexity Class is a set of pro
...read more
time complexity
Algorithms
Analysis of Algorithms
Algorithms-NP Complete
NP Complete
Algo Geek
Algo-Geek 2021
DSA
Pointers vs Array in C++
Last Updated: 15 May 2024
Arrays and pointers are two derived data types in C++ that have a lot in common. In some cases, we can even use pointers in place of arrays.
...read more
cpp-array
cpp-pointer
C Language
C++
C-Pointers
C-Arrays
Difference Between
Algo-Geek 2021
Create a balanced BST using vector in C++ STL
Last Updated: 03 April 2023
Given an unsorted vector arr, the task is to create a balanced binary search tree using the elements of the array.Note: There can be more th
...read more
Tree
BST
Binary Search Tree
STL
cpp-vector
C++
Algo Geek
Algo-Geek 2021
DSA
Count the number of unique characters in a given String
Last Updated: 19 April 2023
Given a string, str consisting of lowercase English alphabets, the task is to find the number of unique characters present in the string.Exa
...read more
Strings
Searching
frequency-counting
Algo Geek
Algo-Geek 2021
DSA
Generate string after adding spaces at specific positions in a given String
Last Updated: 24 February 2023
Given a string s and an array spaces[] describing the original string's indices where spaces will be added. The task is to add spaces in giv
...read more
Strings
School Programming
Algo Geek
Algo-Geek 2021
DSA
Find all pairs in an Array in sorted order with minimum absolute difference
Last Updated: 11 December 2024
Given an integer array arr[] of size N, the task is to find all distinct pairs having minimum absolute difference and print them in ascendin
...read more
Arrays
Sorting
Mathematical
Algo Geek
Algo-Geek 2021
DSA
C program to implement DFS traversal using Adjacency Matrix in a given Graph
Last Updated: 13 January 2022
Given a undirected graph with V vertices and E edges. The task is to perform DFS traversal of the graph.Examples:Input: V = 7, E = 7Connecti
...read more
Graph
DFS
C Programs
Algo Geek
Algo-Geek 2021
DSA
Find sum of factorials till N factorial (1! + 2! + 3! + ... + N!)
Last Updated: 29 February 2024
Given a positive integer N. The task is to compute the sum of factorial from 1! to N!, 1! + 2! + 3! + ... + N!.Examples:Input: N = 5Output:
...read more
Pattern Searching
Mathematical
factorial
series
series-sum
Algo Geek
Algo-Geek 2021
DSA
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
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 !