Complexity & Performance questions and answers
Big O, time and space trade-offs, and making code faster. Page 14 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 781-840
- Find the extreme for priority function / alphabet order
- Find the largest dense sub matrix in a large sparse matrix
- Find the largest possible difference in an array with the smaller integer occurring earlier
- Find the least number of coins required that can make any change from 1 to 99 cents
- Find the longest word given a collection
- find the max difference between j and i indices such that j i and aj ai in On
- find the minimum sum of matrix n x n that select only one in each row and column
- Find the most points enclosed in a fixed size circle
- Find the nearest value with a non-linear progression
- Find the number of elements greater than x in a given range
- Find the number of remove-then-append operations needed to sort a given array
- Find the optimal clipped circle
- Find the shortest fence that encloses an area on a 2D grid
- Find the shortest path in a graph which visits certain nodes
- Find the smallest set of overlapping jobs
- Find triplets in better than linear time such that An-1 An An1
- Find unused code
- Find whether a minimum spanning tree contains an edge in linear time?
- Finding 2 equal sum sub-sequences, with maximum sum?
- Finding a New Minimum Spanning Tree After a New Edge Was Added to The Graph
- Finding a ray that intersects a polygon as many times as possible
- Finding a stable placement of an irregular non-convex shape
- Finding all Amazon AWS Instances That Do Not Have a Certain Tag
- Finding an optimal solution that minimizes a constraint?
- Finding duplicates in On time and O1 space
- Finding good heuristic for A search
- Finding items in an universal hash table?
- Finding largest f satisfying a property given f is non-decreasing in its arguments
- finding long repeated substrings in a massive string
- Finding longest common subsequence in ONlogN time
- Finding middle element of linked list with 1 pass, is this a creative useless answer?
- Finding Minimum Completion Time of Scheduled Tasks with Topological Sort
- Finding minimum cut-sets between bounded subgraphs
- Finding minimum number of points which covers entire set of intervals?
- Finding minimum number of presses to shut down lamps
- Finding nearest point in an efficient way
- Finding number of concurrent events given start and end times
- Finding requests per second for distributed system - a textbook query
- Finding smallest polygon covering a set of points in a grid
- finding smallest scale factor to get each number within one tenth of a whole number from a set of doubles
- Finding the best trade-off point on a curve
- Finding the first non-repeated character of a string in On using a boolean array?
- Finding the Longest Palindrome Subsequence with less memory
- Finding the longest repeated substring
- Finding the minimum length RLE
- Finding three elements in an array whose sum is closest to a given number
- Finding unique numbers from sorted array in less than On
- Fine-tuning parameters in Logistic Regression
- Fine tuning vs Retraining
- First-Occurrence Parallel String Matching Algorithm
- First tf.session.run performs dramatically different from later runs. Why?
- fitting rectangles in the smallest possible area
- Fitting rectangles together in optimal fashion
- Fixing Lock wait timeout exceeded; try restarting transaction for a 'stuck Mysql table?
- Float16 slower than float32 in keras
- float16 vs float32 for convolutional neural networks
- Float vs Double Performance
- Floyd–Rivest vs. Introselect algorithm performance
- Flutter apps are too big in size
- Flutter ListView.builder Stutters and Jumps to Top on Scroll

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