Using your favourite language
โ C
โ C++
โ Python
โ Java
โ C#
โ PHP
โ JavaScript
Or, anything.
โฉ
When we start practicing to improve our programming skills, the very first problems are always based on numbers.
Here I am presenting problems on
โ Simple Numbers
โ Unit Conversion
โ Calculation
โ Geometry
โ Vector
โ Matrix
โ Set
โ Special Numbers
โ Simple Numbers
โ Find a digit at a specific place in a number
โ Find count of digits in a number
โ Find the largest digit
โ Find the 2nd largest digit
โ Find the kth largest digit
โ Find the smallest digit
โ Find the 2nd smallest digit
โ Find the kth smallest digit
โ Find generic root (sum of all digits) of a number
โ Reverse the digits in a number
โโ Rotate the digits in a number
โโ Is the number a palindrome?
โโ Find sum of 'n' numbers
โโ Check if a number is perfect square
โโ Find a number in an AP sequence
โโ Find a number in a GP sequence
โโ Find a number in fibonacci sequence
โโ Check number divisibility by 2, 3, 5, 9
โโ Check if a number is primary or not 20. Given a number, print all primes smaller than it
โโ Check if a number is circular prime or not
โโ Find all prime factors of a number
โโ Find the GCD of 2 numbers
โโ Find the LCM of 2 numbers
โ Unit Conversion
โ Base (Binary, Octal, Hexadecimal, Decimal)
โ Weight
โ Height
โ Temperature
โ Distance
โ Area
โ Volume
โ Time
โ Currency
โ Calculation
โ Find the exponentiation of a number
โ Find the factorial of a number
โ Loan EMI Calculator
โ Fixed Deposit Returns Calculator
โ Interest Calculator
โ BMI Calculator
โ Item Price (considering tax, discount, shipping)
โ Tip Calculator
โ Geometry
โ Find distance between 2 points
โ Given 2 sides of a right angle triangle, find the 3rd
โ Find 3rd angle of a triangle when 2 are given
โ Area of a triangle when 3 sides are given
โ Area of a right angle triangle
โ Perimeter of a Square
โ Area of a Square
โ Perimeter of a Rectangle
โ Area of a Rectangle
โ Circumference of a Circle
โโ Area of a Circle
โโ Circumference of a Semi-Circle
โโ Area of a Semi-Circle
โโ Area of a Ring
โโ Circumference of an Ellipse
โโ Area of an Ellipse
โโ Suface Area of a Sphere
โโ Volume of a Sphere
โโ Surface Area of a Hemisphere 20. Volume of a Hemisphere
โโ Surface area of a Cube
โโ Volume of a Cube
โโ Surface area of a Cylinder
โโ Volume of a Cylinder
โ Vector
โ Find Scalar Multiplication of a vector
โ Find addition/subtraction of vectors
โ Find magnitude of a vector
โ Find an unit vector along a given vector
โ Find dot product of 2 vectors
โ Find cross product of 2 vectors
โ Check if 2 vectors are orthogonal
โ Matrix
โ Find the determinant of a matrix
โ Find Scalar Multiplication of a matrix
โ Find addition/subtraction of matrices
โ Find the transpose of a matrix
โ Find if 2 matrices are orthogonal
โ Find inverse of a 2x2 and 3x3 matrix
โ Set
โ Find Union of 2 sets
โ Find Intersection of 2 sets
โ Find the Difference of 2 sets
โ Find the Symmetric Difference of 2 sets
โ Find if a set is subset/superset of another set
โ Find if 2 sets are disjoints
โ Special Numbers
โ Strong Number
โ Perfect Number
โ Armstrong Number
โ Harshad Number
โ Kaprekar Number
โ Lychrel Number
โ Narcissistic Decimal Number
โ Lucus Number
โ Catalan Number
โ Duck Number
โโ Ugly Number
โโ Abundant Number
โโ Deficient Number
โโ Automorphic Number
โโ Magic Number
โโ Friendly Pair Numbers
โโ Neon Number
โโ Spy Number
โโ Happy Number 20. Sunny Number
โโ Disarium Number
โโ Pronic Number
โโ Trimorphic Number
โโ Evil Number
โโ Amicable Pairs
โโ-โ-โโ
Do you know, when will next such a series (5 or more same numbers) occur?
- 89 years
โ โโ-โ-โโ
โ โโ-โโ-โโ
End of ๐งต
Do you find this one useful? Share your thoughts.
Here I am regularly sharing questions, cheat sheets, tips and, tutorials related to Web Development (HTML, CSS, JavaScript, React), Data Structures and Database.
Are you interested? To never miss any, Follow me โ
โข โข โข
Missing some Tweet in this thread? You can try to
force a refresh