Math for Programmers questions and answers
Number theory, combinatorics and computational geometry. Page 13 of 20.
Data Structures & Algorithms practice on Codemia
Step through 300+ coding interview problems with animated visualisers that show the data structure changing as the code runs. The Blind 75 are free.
Answers 721-780
- How to efficiently determine if a set of points contains two that are close
- How to efficiently determine the normal to a polygon in 3D space?
- How to evaluate a math expression given in string form?
- How to evalute an exponential tower modulo a prime
- How to fastest check if point 3D is inside convex hull given by set of point
- How to fill a square with smaller squares/rectangles?
- How to find 4 points next to the intersection of two lines
- How to find all combinations of coins when given some dollar value
- How to find all grid points that correspond to non-reduced fractions in a square?
- How to find all grid squares on a line?
- How to find all partitions of a set
- How to find all permutations of a given word in a given text?
- How to find all possible subsets of a given array?
- How to find all taxicab numbers less than N?
- How to find all vertex-disjoint paths in a graph?
- How to find convex hull in a 3 dimensional space
- How to find if the second hand of a clock lies in the larger area or smaller one
- How to find integer nth roots?
- How to find largest triangle in convex hull aside from brute force search
- How to find out Geometric Median
- How to find pairs with product greater than sum
- How to find patterns lines, circles,... from a list of points?
- How to find probability distribution and parameters for real data?
- How to find the closest point on a right rectangular prism 3d rectangle
- How to find the fixed points of a simple mod function elegantly?
- How to find the intersection point between a line and a rectangle?
- how to find the least number of operations to compute xn
- How to find the maximum number of unique unit fractions that sum up to one
- How to find the number of values in a given range divisible by a given value?
- How to find the smallest number with just 0 and 1 which is divided by a given number?
- How to find the units digit of a certain power in a simplest way
- How to find two most distant points?
- How to force Apache Flink using a modified operator placement?
- How to generate a given number of size N pairings from a list with minimum overlap between pairings?
- How to generate a permutation?
- How to generate a power set of a given set?
- How to generate a random permutation in Java
- How to generate a subdivided icosahedron?
- How to generate all multiplicative partitions of a number if I have a list of primes/exponents?
- How to generate all permutations of a string in PHP?
- How to generate all the permutations of a multiset?
- how to generate Narcissistic numbers faster?
- How to generate random graphs?
- How to generate random numbers biased towards one value in a range?
- How to generate the power-set of a given List?
- How to get a normal distribution within a range in numpy?
- How to get all algebraic associative operations on a finite set by efficient algorithm?
- How to get all possible 2N combinations of a list’s elements, of any length
- How to get all subsets of a set? powerset
- How to get all the possible 3 letter permutations?
- How to get list of points inside a polygon in python?
- How to get mathemical PI constant in Swift
- How to get the Cartesian product of multiple lists
- How to implement range search in KD-Tree
- How to implement the Bayesian average algorithm for a binary rating system
- How to interpolate a line between two other lines in python
- How to invert a permutation array in numpy
- How to know if a binary number divides by 3?
- How to limit prediction probability to one class
- How to make a Wilson score interval that decreases by time

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