Math for Programmers questions and answers
Number theory, combinatorics and computational geometry. Page 10 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 541-600
- finding the width of a binary tree
- Finding unreachable sections of a 2D map
- Finding whether a point lies inside a rectangle or not
- First appearance in Stern's Diatomic Sequence
- Fit multivariate gaussian distribution to a given dataset
- Fit rectangle around points
- fitting rectangles in the smallest possible area
- Fitting rectangles together in optimal fashion
- Floating point linear interpolation
- From a given number, determine three close numbers whose product is the original number
- Fuzzy date algorithm
- General bars and stars
- General techniques to work with huge amounts of data on a non-super computer
- Generalised Two-Egg Puzzle
- Generalizing the algorithm for domino tiling?
- Generate a large random planar graph
- Generate a list an is not of the form prime ak, k n
- Generate a list of primes up to a certain number
- Generate a matrix of all possible outcomes for throwing n dice ignoring order
- Generate a random number in a Gaussian Range?
- Generate all binary strings of length n with k bits set
- generate all partitions of a set
- Generate all permutations in go
- Generate all permutations of a list without adjacent equal elements
- generate all subsets of size k from a set
- Generate an integer that is not among four billion given ones
- Generate cartesian product in decreasing sum order
- Generate large prime number with specified last digits
- Generate new polygons from a cut polygon 2D
- Generate Non-Degenerate Point Set in 2D - C
- Generate random numbers with a given numerical distribution
- Generate random numbers with logarithmic distribution and custom slope
- Generate random permutation of huge list in Python
- Generating a gaussian distribution with only positive numbers
- Generating all 5 card poker hands
- Generating All Combinations of List n Levels Deep in Java
- Generating all factors of a number given its prime factorization
- Generating all permutations excluding cyclic rotations
- Generating all permutations of a given string
- Generating all permutations of a given string
- Generating permutations lazily
- Generating permutations of a set most efficiently
- Generating random numbers under very specific constraints
- Generating random points within a hexagon for procedural game content
- Generating statistics from Git repository
- Generating the partitions of a number
- Generating the Sierpinski triangle iteratively in Mathematica?
- generating Variations without repetitions / Permutations in java
- Get a permutation as a function of a unique given index in On
- Get a random number focused on center
- Get border edges of mesh - in winding order
- Get minimum Euclidean distance between a given vector and vectors in the database
- Get statistics for each group such as count, mean, etc using pandas GroupBy?
- Get the points of intersection from 2 rectangles
- Getting all possible combinations from a list of numbers
- Getting all possible sums that add up to a given number
- Getting the difference between two sets
- Getting the lowest possible sum from numbers' difference
- Given a natural number A, I want to find all the pairs of natural numbers B,C so that BCC1 A
- Given a number, find the next higher number which has the exact same set of digits as the original number

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