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
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
C++ Programs
2.4k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Searching
1.7k+ articles
Dynamic Programming
1.5k+ articles
Data Structures
1.1k+ articles
DSA
>
Algorithms
Algorithms
14.7k+ posts
Popular Articles
Recent Articles
Greedy Algorithms
Last Updated: 07 April 2025
Greedy algorithms are a class of algorithms that make locally optimal choices at each step with the hope of finding a global optimum solutio
...read more
Greedy
Algorithms-Greedy Algorithms
DSA
Sliding Window Technique
Last Updated: 20 May 2025
Sliding Window Technique is a method used to solve problems that involve subarray or substring or window. The main idea is to use the result
...read more
Algorithms
Technical Scripter
sliding-window
DSA
Introduction to Recursion
Last Updated: 20 May 2025
The process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called a recursive
...read more
Algorithms
Recursion
tail-recursion
DSA
DSA Tutorials
Similar Topics
DSA
22.5k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
C++ Programs
2.4k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Searching
1.7k+ articles
Dynamic Programming
1.5k+ articles
Data Structures
1.1k+ articles
A* Search Algorithm
Last Updated: 30 July 2024
Motivation To approximate the shortest path in real-life situations, like- in maps, games where there can be many hindrances.We can consi
...read more
Algorithms
Algorithms-Graph Traversals
QA - Placement Quizzes-Data Interpretation
Algorithms-InsertionSort
Perl-Scalars
TCS-coding-questions
Volkswagen IT Services
Python numpy-Random
DSA
Intellipaat
K’th Smallest Element in Unsorted Array
Last Updated: 14 August 2024
Given an array arr[] of N distinct elements and a number K, where K is smaller than the size of the array. Find the K'th smallest element in
...read more
Arrays
Order-Statistics
Microsoft
Amazon
Cisco
VMWare
Snapdeal
Accolite
SAP Labs
Rockstand
Searching
Heap
ABCO
DSA
Program for Tower of Hanoi Algorithm
Last Updated: 17 February 2025
Tower of Hanoi is a mathematical puzzle where we have three rods (A, B, and C) and N disks. Initially, all the disks are stacked in decreasi
...read more
Stack
Divide and Conquer
Recursion
DSA
Basic Coding Problems
Radix Sort - Data Structures and Algorithms Tutorials
Last Updated: 25 November 2024
Radix Sort is a linear sorting algorithm that sorts elements by processing them digit by digit. It is an efficient sorting algorithm for int
...read more
Sorting
DSA
Counting Sort - Data Structures and Algorithms Tutorials
Last Updated: 30 January 2025
Counting Sort is a non-comparison-based sorting algorithm. It is particularly efficient when the range of input values is small compared to
...read more
Samsung
Snapdeal
Sorting
counting-sort
DSA
Subset Sum Problem
Last Updated: 15 March 2025
Given an array arr[] of non-negative integers and a value sum, the task is to check if there is a subset of the given array whose sum is equ
...read more
Arrays
Amazon
Adobe
Drishti-Soft
subset
Dynamic Programming
Adobe-Question
DSA
Bellman–Ford Algorithm
Last Updated: 14 April 2025
Given a weighted graph with V vertices and E edges, along with a source vertex src, the task is to compute the shortest distances from the s
...read more
Graph
Dynamic Programming
Shortest Path
DSA
Floyd Warshall Algorithm
Last Updated: 16 April 2025
Given a matrix dist[][] of size n x n, where dist[i][j] represents the weight of the edge from node i to node j. If there is no direct edge,
...read more
Samsung
Graph
Dynamic Programming
Shortest Path
DSA
Floyd-Warshall
Coin Change - Count Ways to Make Sum
Last Updated: 27 April 2025
Given an integerarray of coins[] of size nrepresenting different types of denominations and an integer sum, the task is to count all combina
...read more
Microsoft
Morgan Stanley
Samsung
Snapdeal
Paytm
Accolite
Dynamic Programming
Greedy
Mathematical
DSA
N Queen Problem
Last Updated: 11 February 2025
Given an integer n, the task is to find the solution to the n-queens problem, where n queens are placed on an n*n chessboard such that
...read more
Amazon
Twitter
Accolite
MAQ Software
Visa
Backtracking
Amdocs
chessboard-problems
DSA
Longest Increasing Subsequence (LIS)
Last Updated: 03 March 2025
Given an array arr[] of size n, the task is to find the length of the Longest Increasing Subsequence (LIS) i.e., the longest possible subseq
...read more
Amazon
Samsung
Zoho
Binary Search
Dynamic Programming
Searching
LIS
DSA
Find the Missing Number
Last Updated: 19 April 2025
Given an array arr[] of size n-1 with distinct integers in the range of [1, n]. This array represents a permutation of the integers from 1 t
...read more
Arrays
Microsoft
Amazon
Morgan Stanley
Qualcomm
Samsung
Cisco
Accolite
Payu
Visa
Ola Cabs
Searching
Bitwise-XOR
limited-range-elements
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 !