Math for Programmers questions and answers
Number theory, combinatorics and computational geometry. Page 15 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 841-900
- Is there a math nCr function in Python?
- Is there a pseudo-random number generator simple enough to do in your head?
- Is there a sequence of swaps that would generate all possible permutations?
- Is there a simple algorithm that can determine if X is prime?
- Is there a way to find sum of digits of 100?
- Is there an algorithm for solving such projection reconstruction geometric problem?
- Is there an algorithm that can divide a number into three parts and have their totals match the original number?
- Is there an algorithm to determine contiguous colored regions in a grid?
- Is there an algorithm to find the nearest number with only small factors?
- Is there an algorithm to multiply square matrices in-place?
- Is there an efficient algorithm to generate a 2D concave hull?
- Is there an efficient algorithm to generate random points in general position in the plane?
- Is there an efficient way to count the number of intersections among a given set of line segments?
- Is there any algorithm for calculating area of a shape given co-ordinates that define the shape?
- Is there any fast method of matrix exponentiation?
- is there any way to get samples under each leaf of a decision tree?
- Is there general method to solve for a single unknown if the unknown variable changes?
- Is trigonometry computationally expensive?
- Iteratively compute the Cartesian product of an arbitrary number of sets
- Jacobian matrix computation for artificial neural networks
- Joining unordered line segments
- K-transformed permutations
- K mutually exclusive routes in a graph
- Kahan summation
- Karatsuba Algorithm without BigInteger usage
- Karatsuba Multiplication for unequal size, non-power-of-2 operands
- KL Divergence for two probability distributions in PyTorch
- Knapsack with continuous non distinct constraint
- Laderman''s 3x3 matrix multiplication with only 23 multiplications, is it worth it?
- Largest circle inside a non-convex polygon
- largest inscribed rectangle in arbitrary polygon
- Largest possible number of disjoint subsets in a set
- Largest rectangles in histogram
- Largest sum of upper-left quadrant of matrix that can be formed by reversing rows and columns
- Least common multiple for 3 or more numbers
- Least Common Multiple of an array values using Euclidean Algorithm
- Least number of perfect square numbers that sums upto n
- Lexicographic minimum permutation such that all adjacent letters are distinct
- Line clipping to arbitary 2D polygon
- Linear algebra application in Machine Learning
- Linear time algorithm for slicing stacked boxes
- List all possible combinations of k integers between 1...n n choose k
- List of 10 digit strings where every 4 digit substring is unique
- Listing all permutations of a string/integer
- Logarithm Algorithm
- Longest equally-spaced subsequence
- Looking for a path to learn the math required to understand algorithm books / theory
- Looking for pathing algorithms for maps without edges
- Looking for Pseudo-code for Fortune's algorithm
- Loop through different sets of unique permutations
- Machine Learning Why xWb instead of Wxb?
- Majority element - parts of an array
- Make a negative number positive
- Manhattan Distance between tiles in a hexagonal grid
- Manhattan distance is over estimating and making me crazy
- Map Tiling Algorithm
- math/algorithm Fit image to screen retain aspect ratio
- mathematical model to build a ranking/ scoring system
- Mathematically producing sphere-shaped hexagonal grid
- Matrix determinant algorithm C

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