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
School Learning
11.6k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Mathematics
5.7k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
School Programming
1.4k+ articles
number-digits
600+ articles
Numbers
320+ posts
Popular Articles
Recent Articles
Numbers - Aptitude Questions and Answers
Last Updated: 22 April 2025
Numbers are the fundamental units of mathematics. In this article, we will discuss numbers, their types, important facts, divisibility rules
...read more
Aptitude
Aptitude
Numbers
Web Technologies
Maths
Mathematics
Roman Numerals 1 to 100 | Roman Numbers Chart, Rules & Examples
Last Updated: 05 April 2025
Roman numerals are a numerical notation system that originated in ancient Rome. The Roman number system uses seven symbols, each with a fixe
...read more
Numbers
Mathematics
School Learning
Maths-Formulas
Math-Concepts
Python Program to Convert Decimal to Hexadecimal
Last Updated: 16 December 2023
In this article, we will learn how to convert a decimal value(base 10) to a hexadecimal value (base 16) in Python. Method 1: Using hex() fu
...read more
Python
Numbers
Python Programs
Picked
Blogathon
Blogathon-2021
Similar Topics
DSA
22.3k+ articles
School Learning
11.6k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Mathematics
5.7k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
School Programming
1.4k+ articles
number-digits
600+ articles
Convert string to integer without using any in-built functions
Last Updated: 13 December 2023
Given a string str, the task is to convert the given string into the number without using any inbuilt function.Examples:Input: str = "985632
...read more
Arrays
Strings
Greedy
Mathematical
number-digits
C++
Numbers
C Programs
C++ Programs
Write From Home
DSA
How to store a very large number of more than 100 digits in C++
Last Updated: 13 December 2023
Given an integer N in form of string str consisting of more than 100 digits, the task is to store the value for performing an arithmetic ope
...read more
Arrays
Misc
Strings
Mathematical
number-digits
large-numbers
cpp-input-output
Numbers
C++ Programs
DSA
BCD or Binary Coded Decimal
Last Updated: 27 March 2025
Binary Coded Decimal (BCD) is a binary encoding system in which each decimal digit is represented by a fixed number of binary bits, typicall
...read more
Bit Magic
Mathematical
Numbers
base-conversion
DSA
Program to find absolute value of a given number
Last Updated: 13 December 2023
Given an integer N, The task is to find the absolute value of the given integer.Examples:Input: N = -6Output: 6Explanation: The absolute val
...read more
Mathematical
School Programming
Numbers
C Programs
C++ Programs
Java Programs
PHP Programs
C# Programs
DSA
Largest and smallest digit of a number
Last Updated: 13 December 2023
Given a number N. The task is to find the largest and the smallest digit of the number.Examples :Input : N = 2346Output : 6 26 is the larges
...read more
Mathematical
number-digits
Numbers
school-programming
C++ Programs
DSA
Find the Number which contain the digit d
Last Updated: 13 December 2023
Given two integer number n and d. The task is to find the number between 0 to n which contain the specific digit d.Examples:Input : n = 20
...read more
Strings
Mathematical
number-digits
Java-Strings
Numbers
DSA
What are Numbers?
Last Updated: 08 April 2025
Numbers are symbols we use to count, measure, and describe things. They are everywhere in our daily lives and help us understand and organiz
...read more
Numbers
Mathematics
School Learning
Class 6
Maths-Class-6
Find all factors of a Natural Number in sorted order
Last Updated: 22 July 2024
Given a natural number n, print all distinct divisors of it.Examples: Input : n = 10 Output: 1 2 5 10 Input: n = 100 Output: 1 2 4 5
...read more
Mathematical
sieve
Numbers
divisors
DSA
Find all factors of a Natural Number
Last Updated: 18 February 2025
Given a natural number n, print all distinct divisors of it.Examples:Input: n = 10 Output: 1 2 5 10Explanation: 1, 2, 5 and 10 are the
...read more
Mathematical
sieve
prime-factor
Numbers
divisors
DSA
Euler's Totient Function
Last Updated: 24 February 2025
Euler's Totient function Φ(n) for an input n is the count of numbers in {1, 2, 3, ..., n-1} that are relatively prime to n, i.e., the numbe
...read more
Mathematical
GCD-LCM
sieve
Modular Arithmetic
Prime Number
Numbers
number-theory
euler-totient
DSA
Find the smallest number whose digits multiply to a given number n
Last Updated: 17 January 2022
Given a number 'n', find the smallest number 'p' such that if we multiply all digits of 'p', we get 'n'. The result 'p' should have minimum
...read more
Amazon
FactSet
Mathematical
number-digits
Numbers
DSA
Maximum and minimum of an array using minimum number of comparisons
Last Updated: 14 September 2024
Given an array of size N. The task is to find the maximum and the minimum element of the array using the minimum number of comparisons.Examp
...read more
Arrays
Divide and Conquer
Searching
Arrays
Numbers
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 !