Complexity & Performance questions and answers
Big O, time and space trade-offs, and making code faster. Page 4 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 181-240
- AWS Load Balancer 502
- AWS RDS Provisioned IOPS really worth it?
- AWS S3 filter by tags. search by tags
- Azure Service Bus load balancing uneven
- B-tree faster than AVL or RedBlack-Tree?
- Backpropagation with Momentum
- Bad Result And Evaluation From Giza
- Balanced partition
- Balancing a binary search tree
- Balancing a ternary search tree
- base of logarithms in time-complexity algorithms
- Batch Gradient Descent for Logistic Regression
- Batch gradient descent with scikit learn sklearn
- Batch Normalization in Convolutional Neural Network
- Benchmarking small code samples in C, can this implementation be improved?
- Best Algorithm to Invite People to Party
- Best approach for archiving transactional data in MySQL 5.5
- Best compression algorithm for XML?
- Best data structure for nearest neighbour in 1 dimension
- Best fit for the intersection of multiple lines
- Best fit scheduling algorithm
- Best hashing algorithm in terms of hash collisions and performance for strings
- Best machine-optimized polynomial minimax approximation to arctangent on -1,1?
- best possible implementation of the travelling salesman / vehicle routing use case
- Best Practice for Forcing Garbage Collection in C
- Best Practice LongRunning Task creation
- best way to clear contents of .NET's StringBuilder
- Best way to find a number in an array that's out of order?
- Best way to Format a Double value to 2 Decimal places
- Best way to get distribute a small lookup file using Distributed Cache
- Best way to negate an instanceof
- best way to query on over 15m rows?
- Best way to reduce sequences in an array of strings
- Best way to retrieve K largest elements from large unsorted arrays?
- Best way to strip punctuation from a string
- Best XML parser for Java
- Better optimization technique using if/else or dictionary
- Better results in set partition than by differencing
- Better way to check if a Path is a File or a Directory?
- Better way to check if all lists in a list are the same length?
- Better way to search for a node in binary tree
- Big-O analysis of permutation algorithm
- Big-O complexity of a piece of code
- Big-O for Eight Year Olds?
- Big-O for various Fibonacci Implementations
- Big-O of log versus square root
- Big-O summary for Java Collections Framework implementations?
- Big-oh vs big-theta
- Big O - Ologn code example
- Big O complexity of the basic arithmetic operations
- Big O for worst-case running time and Ω is for the best-case, but why is Ω used in worst case sometimes?
- Big O, how do you calculate/approximate it?
- Big O, how do you calculate/approximate it?
- Big O Notation in PAC Learning
- Big O notation Log Base 2 or Log Base 10
- Big O of JavaScript arrays
- Big O of min and max in Python
- Big O, what is the complexity of summing a series of n numbers?
- BIGINT mysql performance compared to INT
- Binary matrix multiplication bit twiddling hack

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