EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic
View
More
Topic
Hashing
Linked List
Queue
Stack
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Tree
Topic: mathematics-problem / Level: beginner
101. Implement a function to calculate the area of a circle given its diameter.
102. Create a program to determine the sum of squares of the first n integers.
103. Write a function to find the nth term of an arithmetic sequence.
104. Implement a program to calculate the sum of all multiples of 3 and 5 below a given number.
105. Create a program to find the smallest prime factor of a number.
106. Write a program to count the number of prime numbers in a given range.
107. Implement a function to determine if a given string is a palindrome, ignoring spaces and punctuation.
108. Create a program to generate all the divisors of a number.
109. Write a program to compute the sum of the first n triangular numbers.
110. Implement a function to find the greatest common divisor (GCD) of an array of numbers.
111. Create a program to count the number of zeros in the factorial of a number.
112. Write a function to convert a decimal number to its hexadecimal representation.
113. Implement a program to calculate the factorial of a number using a loop.
114. Create a program to find the length of the longest consecutive sequence of even numbers in an array.
115. Write a function to check if a number is an automorphic number.
116. Implement a program to find the least common multiple (LCM) of three numbers.
117. Create a program to calculate the average of a list of integers.
118. Write a function to check if a string is a valid IP address.
119. Implement a program to find the maximum product of two numbers in an array.
120. Create a program to calculate the sum of the cubes of the first n natural numbers.
121. Write a program to determine if a given number is a strong composite number.
122. Implement a function to find the number of unique values in an array.
123. Create a program to calculate the perimeter of a rectangle given its length and breadth.
124. Write a program to find the nth triangular number using recursion.
125. Implement a function to find the median of an unsorted list of numbers.
126. Create a program to find the average of digits in a number.
127. Write a program to determine the number of days in a month.
128. Implement a function to calculate the sum of an arithmetic series.
129. Create a program to find the smallest prime number greater than a given number.
130. Write a program to count the number of consonants in a string.
131. Implement a function to generate the Fibonacci sequence up to a certain number.
132. Create a program to check if a string contains balanced parentheses.
133. Write a program to find the total number of odd numbers in a given range.
134. Implement a function to calculate the sum of even numbers from 1 to n.
135. Create a program to find the square of a number using bit manipulation.
136. Write a program to generate random numbers within a specified range.
137. Implement a function to calculate the factorial of a number using memoization.
138. Create a program to determine if a number is a Kaprekar number.
139. Write a program to find the mode of a given set of numbers.
140. Implement a function to calculate the sum of two fractions and return the result in simplest form.
141. Create a program to find the number of leap years in a given range.
142. Write a program to determine if a number is a prime palindrome.
143. Implement a function to find the nth perfect number.
144. Create a program to calculate the sum of two complex numbers.
145. Write a program to compute the square of the sum of digits of a number.
146. Implement a function to check if a number is a perfect digital invariant.
147. Create a program to calculate the sum of numbers divisible by 7 up to n.
148. Write a program to find the sum of the first n Fibonacci numbers.
149. Implement a function to find the maximum of three numbers.
150. Create a program to check if a given number can be expressed as a sum of two squares.
Previous
2
3
4
...
20
Next
More Levels
Intermediate
Advanced
Aniket The Programmer
This website is managed by aniket the programmer :)
Website
Instagram