Complexity & Performance questions and answers
Big O, time and space trade-offs, and making code faster. Page 12 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 661-720
- Extract binary values from stream with low memory consumption
- Extracting 2 numbers n times and placing back the addition in On instead of Onlogn
- Extreme optimization of integer binary search
- Extremely slow S3 write times from EMR/ Spark
- Extremely slow startup of a Spring Cloud Stream Kafka application when using enable.idempotence true
- F1-score per class for multi-class classification
- F1 Score vs ROC AUC
- Factorial-time algorithms and P/NP
- Factors for determining the degree of parallelism for the ForEachAsync
- Fail to create SparkContext
- Failed to find a tunable parameter that would decrease the output time during tf.keras model training
- False Sharing in Hogwild Algorithms
- Fast algorithm for checking if binary arrays can be rotated to not have an elementwise sum over 1
- Fast algorithm for counting the number of acyclic paths on a directed graph
- fast algorithm for drawing filled circles?
- Fast algorithm for repeated calculation of percentile?
- Fast algorithm implementation to sort very small list
- Fast algorithm to calculate delta of two list
- Fast algorithm to calculate Pi in parallel
- Fast Algorithm to find number of primes between two numbers
- Fast algorithm to optimize a sequence of arithmetic expression
- Fast Algorithm to Quickly Find the Range a Number Belongs to in a Set of Ranges?
- Fast Arc Cos algorithm?
- Fast Average Square Difference Function
- Fast average without division
- Fast block placement algorithm, advice needed?
- Fast branchless max for unsigned integers
- Fast calculation of floating 1/N if factorization of very large integer N is known
- Fast ceiling of an integer division in C / C
- Fast CRC algorithm?
- Fast Data structure for finding strict subsets from a given list
- Fast division algorithm for binary numbers
- Fast element lookup for a functional languageHaskell
- Fast Fibonacci recursion
- Fast hashing of 2-dimensional array
- Fast Information Gain computation
- Fast integer matrix multiplication with bit-twiddling hacks
- Fast inverse square of double in C/C
- Fast Inverse Square Root on x64
- Fast n2 clustering algorithm
- Fast n2 clustering algorithm
- Fast n choose k mod p for large n?
- Fast solution to Subset sum algorithm by Pisinger
- Fast substring search algorithm to be used by a sort of IDE with tens of thousands of very big files
- Faster 16bit multiplication algorithm for 8-bit MCU
- Faster Algorithm for string comparing in c
- Faster algorithm to find unique element between two arrays?
- faster implementation of sum for Codility test
- Faster math algorithm sacrificing accuracy
- Faster s3 bucket duplication
- faster string sorting with long common prefix?
- Faster than binary search for ordered list
- Faster to malloc multiple small times or few large times?
- Faster version of find for sorted vectors MATLAB
- Faster way for extracting and combining bits from UINT16 to UINT8
- Fastest algorithm for circle shift N sized array for M position
- Fastest algorithm for finding a word on a word search grid
- Fastest algorithm to check if a number is pandigital?
- Fastest code C/C to select the median in a set of 27 floating point values
- Fastest gap sequence for shell sort?

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