Complexity & Performance questions and answers
Big O, time and space trade-offs, and making code faster. 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
- Does MySQL index foreign key columns automatically?
- Does .NET provide an easy way convert bytes to KB, MB, GB, etc.?
- Does passing data through multiple UDP ports increase performance
- Does Python optimize tail recursion?
- Does Python support multithreading? Can it speed up execution time?
- Does quicksort with randomized median-of-three do appreciably better than randomized quicksort?
- Does Reactive programming consumes more resources than non-reactive?
- Does tensorflow or python have memory cleanup issues when using multiple models in loop?
- Does the dataset size influence a machine learning algorithm?
- Does the number of consumer groups impact Kafka performance
- Does use of final keyword in Java improve the performance?
- Does using new on a struct allocate it on the heap or stack?
- does word2vec tutorial example imply potential sub-optimal implementation?
- Don't need some existed classes in pre-trained models
- Door in an infinite wall algorithm
- Double or float - optimization routines
- Double.TryParse or Convert.ToDouble - which is faster and safer?
- Doubling a number - shift left vs. multiplication
- Dropout rate guidance for hidden layers in a convolution neural network
- Dynamic Array with O1 removal of any element
- Dynamic Nested Loop
- Dynamic Programming Algorithm for Segmented Least Squares
- dynamic programming and the use of matrices
- Dynamic programming aspect in Kadane's algorithm
- Dynamic programming Code Wars twice linear algorithm times out
- Dynamic Programming Coin Change Problems
- Dynamic Programming Sum-of-products
- Dynamic quantization in Pytorch starts random training after quantization
- Dynamically updating shortest paths
- DynamoDB concurrent write
- DynamoDB query on boolean key
- DynamoDb table design Single table or multiple tables
- DynamoDB Update/Put throttled despite high provisioned capacity
- DynamoDB/Redis activity stream help needed
- e-commerce Algorithm for calculating discounts
- Early stopping with multiple conditions
- Eclipse Optimize Imports to Include Static Imports
- Eclipse Set maximum line length for auto formatting?
- Effect of using page-able memory for asynchronous memory copy?
- Effective queries in machine learning
- Efficent way to split a large text file in python
- Efficiency of crossover in genetic algorithms
- Efficiency of Java Double Brace Initialization?
- Efficient algorithm for detecting cycles in a directed graph
- Efficient algorithm for finding a common divisor closest to some value?
- Efficient algorithm for finding all maximal subsets
- Efficient algorithm for finding the largest overlapping range given a list of ranges
- efficient algorithm to find nearest point in a graph that does not have a known equation
- Efficient algorithm to find the largest rectangle from a set of points
- Efficient algorithm to get the combinations of all items in object
- Efficient Algorithms for Computing a matrix times its transpose
- Efficient Array Storage for Binary Tree
- Efficient AVX2 implementation of a 17x17-bit squaring operation with result truncation
- Efficient Cartesian Product algorithm
- Efficient combinations of N colored elements with restriction in the number of colors
- Efficient data structure for sparse data lookup
- Efficient data structure for word lookup with wildcards
- Efficient floating-point division with constant integer divisors
- Efficient implementation of log2__m256d in AVX2
- Efficient list intersection algorithm

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