Math for Programmers questions and answers
Number theory, combinatorics and computational geometry. Page 5 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 241-300
- circle-circle collision
- Circle-Circle Collision Prediction
- Circle-circle intersection points
- Circle-Polygon intersections
- Circle line-segment collision detection algorithm?
- Circle to Circle Segment Collision
- Closest group of 3 points
- Closest point to a given point
- Code a linear programming exercise by hand
- Collatz Conjecture Python - Incorrect Output Above 2 Trillion Only
- Collision detection of huge number of circles
- Combinatorics Algorithm
- Combinatorics of cardgame hand evaluation for runs, with wildcards and duplicates
- Combine smaller rectangles into larger ones
- Combined area of overlapping circles
- Compare two numbers for likeness
- Complete Weighted Graph and Hamiltonian Tour
- Complexity when generating all combinations
- Compute rand7 using rand5
- Compute the area of intersection between a circle and a triangle?
- Compute the Cross Section of a Cube
- Compute the minimal number of swaps to order a sequence
- Computing circle intersections in O ns log n
- Computing generalized eigen values for sparse matrices in python
- Computing target number from numbers in a set
- Computing the null space of a matrix as fast as possible
- Computing the smallest positive integer not covered by any of a set of intervals
- Conditional sampling of binary vectors ?
- Confused on Miller-Rabin
- Confused with Voronoi diagram algorithm Fortune's sweepline
- conjugate integer partitions in place
- Connect the nearest points in segment and label segment
- Construct a binary tree from permutation in n log n time
- Construct polygons out of union of many polygons
- Construct the largest possible rectangle out of line segments of given lengths
- Constructing the largest number possible by rearranging a list
- Constructive solid geometry mesh
- Conversion of IsolationForest decision score to probability algorithm
- Convert a very large number from decimal string to binary representation?
- Converting a Uniform Distribution to a Normal Distribution
- Converting LinearSVC's decision function to probabilities Scikit learn python
- Converting prime numbers
- Convex hull of 4 points
- Correctness of Sakamoto's algorithm to find the day of week
- Cosine similarity when one of vectors is all zeros
- Count all numbers with unique digits in a given range
- Count how many matrices have full rank for all submatrices
- Count item frequency
- Count number of points inside a circle fast
- Count number of subsets with sum equal to k
- Count Number of Triples in an array that are collinear
- Count of co-prime pairs from two arrays in less than On2 complexity
- Count points in a rectangle
- Count points inside triangle fast
- Count sum of multiples of a number below N with O1 complexity?
- Count the number of Ks between 0 and N
- Count the subsequences of length 4 divisible by 9
- count the total number of 1's in integers from 1 to N
- Counting according to query
- counting combinations and permutations efficiently

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