Math for Programmers questions and answers
Number theory, combinatorics and computational geometry. Page 18 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 1021-1080
- Position N circles of different radii inside a larger circle without overlapping
- Possible multiplications of k distinct factors with largest possible factor n
- Possible permutations of BST's input
- Practical Uses of Fractals in Programming
- Predict classes or class probabilities?
- Predicting a Poisson process
- Predicting a probability of a sentence using tensorflow
- Predicting probabilities in classfier tensorflow
- Prefix sums weighted by a polynomial expression, can you do faster?
- Previous power of 2
- Prime Factorization
- Print all numbers whose nonzero digits are in ascending order
- Print all permutation in lexicographic order
- Print all unique combination of factors of a given number
- Printing all possible subsets of a list
- Probability and Neural Networks
- Probability distribution in Python
- Probability of collision when using a 32-bit hash
- Probability prediction method of KNeighborsClassifier returns only 0 and 1
- Probabilty based on quicksort partition
- Product of two Toeplitz matrices?
- Programming Contest Question Counting Polyominos
- Project Euler Problem 233
- Projected Gauss-Seidel for LCP
- Proof that Fowler's money allocation algorithm is correct
- Properly formatted multiplication table
- Prove a random generated number is uniform distributed
- Proving the primality of strong probable primes
- Pseudorandom Number Generator - Exponential Distribution
- Puzzle Find largest rectangle maximal rectangle problem
- puzzle N persons sitting on round table. No of ways of handshakes without crossing any other handshakes
- Puzzle Need an example of a complicated equivalence relation / partitioning that disallows sorting and/or hashing
- Python Inverse of a Matrix
- Python Numerical Integration for Volume of Region
- Python Ramer-Douglas-Peucker RDP algorithm with number of points instead of epsilon
- Quadrilateral Shape Finding Algorithm
- QuadTree find neighbor
- Ramer-Douglas-Peucker path simplification algorithm
- Random-first search?
- Random Forests - Probability Estimates scikit-learn specific
- Random Gaussian Variables
- Random number between 0 and 1?
- Random numbers between -1 and 1 summing to 0
- random permutation
- Random placement of non-overlapping intervals
- Random points inside a parallelogram
- Random walk around a central location in a limited area?
- Random weighted choice
- Randomly Generate Letters According to their Frequency of Use?
- Randomly selecting k different numbers in a range
- Rasterizing a 2D polygon
- Ray-box Intersection Theory
- Ray-triangle intersection
- Ray - Octree intersection algorithms
- Real world typo statistics?
- Rearrange a list of points to reach the shortest distance between them
- recalculate ray tracing/casting costs when changing size of rectangle
- Rectangle packing with constraints
- Rectangles Covering
- rectilinear polygon intersection

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