Complexity & Performance questions and answers
Big O, time and space trade-offs, and making code faster. Page 2 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 61-120
- algorithm for solving resource allocation problems
- Algorithm for solving Sudoku
- algorithm issue - find the least common subset
- Algorithm Letters and envelopes pairing
- Algorithm Optimization - Shortest Route Between Multiple Points
- Algorithm Question on File Search Indexing
- Algorithm to auto-arrange entity relationship diagram
- Algorithm to calculate the most energy efficient ad-hoc network
- Algorithm to cover maximal number of points with one circle of given radius
- Algorithm to determine coin combinations
- algorithm to determine minimum payments amongst a group
- Algorithm to determine the best team and formation?
- Algorithm to determine the highest and lowest possible finishing position of a team in a league
- Algorithm to efficiently determine the nn element in a matrix
- Algorithm to find k smallest numbers in array of n items
- algorithm to find max independent set in a tree
- Algorithm to find minimum spanning tree of chosen vertices
- Algorithm to find non-dominated pairs
- Algorithm to find optimal groups
- algorithm to find the largest area
- Algorithm to find the minimum value point of a function
- Algorithm to find top 10 search terms
- Algorithm to find two points furthest away from each other
- Algorithm to fit as many events into a schedule as possible
- Algorithm to place a mailbox to minimize the total distance that the residents travel to get their mail
- Algorithm to place the rectangular inside the polygon
- Algorithm to rotate an array in linear time
- Algorithm to select a set of numbers to reach a minimum total
- Algorithm to select Player with max points but with a given cost
- Algorithm with On log n time and O1 space complexity vs On time and On space complexity
- Algorithm/approximation for combined independent set/hamming distance
- Algorithmic complexity of naive code for processing all consecutive subsequences of a list n2 or n3?
- Algorithmic question Best angle to view trees from fixed camera
- Algorithms for compression of set tries
- Algorithms for Optimization with Fast Disk Storage SSDs?
- Algorithms for subgraph isomorphism detection
- Algorithms FPGAs dominate CPUs on
- algorithms how do divide-and-conquer and time complexity Onlogn relate?
- Algorithms Hybrid MergeSort and InsertionSort Execution Time
- Algorithms with superexponential runtime?
- All points with minimum Manhattan distance from all other given points Optimized
- Alpha-beta prunning with transposition table, iterative deepening
- Alpine Dockerfile advantages of --no-cache vs. rm /var/cache/apk/
- Always pass weak reference of self into block in ARC?
- Amazon CloudFront Latency
- Amazon DynamoDB Query for Items whose key contains a substring
- Amazon Managed Streaming for Kafka- MSK features and performance
- Amazon RDS - Online only when needed?
- Amazon RDS MySQL instance performs very slow
- Amazon RDS running out of freeable memory. Should I be worried?
- Amortized complexity in layman's terms?
- Amortized time of dynamic array
- an algorithm for fitting a rectangle inside a polygon
- An algorithm to increase / decrease load in an application based on the number of exceptions
- An algorithm to space out overlapping rectangles?
- An efficient sorting algorithm for almost sorted list containing time data?
- An Optimum 2D Data Structure
- An ordered dictionary supporting decrease-key?
- Anagram algorithm with minimum complexity
- Analysis of sorting Algorithm with probably wrong comparator?

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