Math for Programmers questions and answers
Number theory, combinatorics and computational geometry. Page 3 of 20.
Data Structures & Algorithms practice on Codemia
Step through 300 algorithm problems with animated visualisers that show the data structure changing as the code runs.
Answers 121-180
- Algorithm to return all combinations of k elements from n
- Algorithm to select a single, random combination of values?
- Algorithm to solve the points of a evenly-distributed / even-gaps spiral?
- Algorithm to sort pairs of numbers
- algorithm to sum up a list of numbers for all combinations
- Algorithm to take the union of rectangles and to see if the union is still a rectangle
- algorithm to trace border in 2D array
- Algorithms based on number base systems?
- Algorithms for Deducing a Timeline / Chronology
- All cases covered Bresenham's line-algorithm
- All factors of a given number
- all permutations of a binary sequence x bits long
- All points with minimum Manhattan distance from all other given points Optimized
- All Possible Combinations of a list of Values
- All possible combinations of an array
- An algorithm for converting a base-10 number to a base-N number
- an algorithm for fitting a rectangle inside a polygon
- An algorithm for inflating/deflating offsetting, buffering polygons
- An algorithm to calculate probability of a sum of the results happening
- An algorithm to detect permutations of Hankel matrices
- An algorithm to determine if a number belongs to a group or not
- An algorithm to find bounding box of closed bezier curves?
- An algorithm to find the seed root of a given number
- An algorithm to space out overlapping rectangles?
- An efficient way to compute mathematical constant e
- An implementation of Sharir's or Aurenhammer's deterministic algorithm for calculating the intersection/union of 'N' circles
- An interview question About Probability
- An inverse Fibonacci algorithm?
- An iterative algorithm for Fibonacci numbers
- Angle between 3 points?
- Angle between points?
- Anyone can tell me why we always use the gaussian distribution in Machine learning?
- Approximate greatest common divisor
- Approximating the sine function with a neural network
- Are multi-region networks more likely to experience a partition than single region networks?
- Are there any better methods to do permutation of string?
- Are there any good / interesting analogs to regular expressions in 2d?
- Area of Intersection of Two Rotated Rectangles
- Asymptotically optimal algorithm to compute if a line intersects a convex polygon
- AttributeError module 'numpy.linalg._umath_linalg' has no attribute '_ilp64
- Average of 3 long integers
- Averaging angles... Again
- Avoid intersections of lines
- axis‐aligned rectangles intersection
- B-Spline derivative using de Boor's algorithm
- Base 10 to base n conversions
- base of logarithms in time-complexity algorithms
- Bentley-Ottmann Algorithm in Haskell?
- Best algorithm for matching colours.
- Best data structure for nearest neighbour in 1 dimension
- Best dynamic data structure for 2d circle nearest neighbor
- Best fit for the intersection of multiple lines
- Best path in a grid
- Best way of calculating n choose k?
- Best way to determine if a sequence is in another sequence?
- Best way to find a point on a circle closest to a given point
- Best way to find the intersection of multiple sets?
- Better algorithm - Next semiprime
- Better results in set partition than by differencing
- Better solution for finding numbers with exactly 3 divisors

Course
Intermediate
27 lessons
15 hours
DSA Fundamentals
Master algorithmic patterns and data structures through hands-on LeetCode-style problems - from arrays and hashing to dynamic programming and advanced graphs.
View the course