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.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Algorithms
2k+ articles
School Programming
1.4k+ articles
Geometric
690+ articles
school-programming
230+ articles
Constructive Algorithms
200+ articles
math
120+ posts
Popular Articles
Recent Articles
Properties of Determinants
Last Updated: 09 April 2025
Properties of Determinants are the properties that are required to solve various problems in Matrices. There are various properties of the d
...read more
GATE CS
math
Engineering Mathematics
Mathematics
School Learning
Matrix and Determinant
Check if it is possible to create a polygon with given n sides
Last Updated: 17 February 2023
Given an array arr[] that contains the lengths of n sides that may or may not form a polygon. The task is to determine whether it is possibl
...read more
Mathematical
Geometric
School Programming
math
school-programming
DSA
Find the values of X and Y in the Given Equations
Last Updated: 23 June 2022
Given two numbers[Tex]A[/Tex]and[Tex]B[/Tex]. Find the values of X and Y in the equations.A = X + YB = X xor YThe task is to make X as minim
...read more
Bit Magic
Mathematical
Competitive Programming
math
DSA
Similar Topics
DSA
22.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Algorithms
2k+ articles
School Programming
1.4k+ articles
Geometric
690+ articles
school-programming
230+ articles
Constructive Algorithms
200+ articles
Minimum spanning tree cost of given Graphs
Last Updated: 15 September 2022
Given an undirected graph of V nodes (V 2) named V1, V2, V3, ..., Vn. Two nodes Vi and Vj are connected to each other if and only if 0 | i
...read more
Minimum Spanning Tree
Graph
math
Graph Minimum Spanning Tree
DSA
Number of words in a camelcase sequence
Last Updated: 29 September 2022
CamelCase is the sequence of one or more than one words having the following properties:It is a concatenation of one or more words consistin
...read more
Strings
math
Constructive Algorithms
DSA
Program to find total number of edges in a Complete Graph
Last Updated: 02 September 2022
Given N number of vertices of a Graph. The task is to find the total number of edges possible in a complete graph of N vertices.Complete Gra
...read more
Graph
Mathematical
math
school-programming
DSA
Maximum number of pieces in N cuts
Last Updated: 08 June 2022
Given a square piece and a total number of cuts available n, Find out the maximum number of rectangular or square pieces of equal size that
...read more
Mathematical
Geometric
math
school-programming
DSA
Permutations to arrange N persons around a circular table
Last Updated: 31 August 2022
Given N, the number of persons. The task is to arrange N person around a circular table.Examples:Input: N = 4Output: 6Input: N = 5Output: 24
...read more
Mathematical
permutation
math
Permutation and Combination
C++ Programs
DSA
Modulo power for large numbers represented as strings
Last Updated: 01 February 2023
Given two numbers sa and sb represented as strings, find ab % MOD where MOD is 1e9 + 7. The numbers a and b can contain upto 106 digits.Exam
...read more
Mathematical
Competitive Programming
number-digits
Modular Arithmetic
large-numbers
math
number-theory
DSA
10's Complement of a decimal number
Last Updated: 01 September 2022
Given a decimal number N. The task is to find 10’s complement of the number N.Example:Input : 25Output : 10's complement is : 75Input : 45
...read more
Mathematical
math
Numbers
school-programming
complement
DSA
Haversine formula to find distance between two points on a sphere
Last Updated: 05 September 2022
The Haversine formula calculates the shortest distance between two points on a sphere using their latitudes and longitudes measured along th
...read more
Mathematical
Geometric
math
DSA
Program to find equation of a plane passing through 3 points
Last Updated: 09 June 2022
Given three points (x1, y1, z1), (x2, y2, z2), (x3, y3, z3). The task is to find the equation of the plane passing through these 3 points.Ex
...read more
Geometric
School Programming
math
school-programming
DSA
Perpendicular distance between a point and a Line in 2 D
Last Updated: 14 December 2022
Given a point (x1, y1) and a line (ax + by + c = 0). The task is to find the perpendicular distance between the given point and the line.Exa
...read more
Mathematical
Geometric
School Programming
math
school-programming
DSA
Program to print the berth of given railway seat number
Last Updated: 13 March 2023
Given a railway seat number, the task is to check whether it is a valid seat number or not. Also print its berth type i.e lower berth, middl
...read more
School Programming
math
school-programming
DSA
Find (a^b)%m where 'b' is very large
Last Updated: 16 August 2022
Given three numbers a, b and m where 1=a, m=10^6. Given very large 'b' containing up to 10^6 digits and m is a prime number, the task is to
...read more
Mathematical
Competitive Programming
Modular Arithmetic
math
number-theory
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 !