Algorithms questions and answers
Sorting, searching, recursion, graphs and dynamic programming. Page 16 of 20.
Data Structures & Algorithms practice on Codemia
Step through 300+ coding interview problems with animated visualisers that show the data structure changing as the code runs. The Blind 75 are free.
Answers 901-960
- design a stack such that getMinimum should be O1
- Design an efficient algorithm to sort 5 distinct keys in fewer than 8 comparisons
- Design patterns for converting recursive algorithms to iterative ones
- Designing function f(f(n)) == -n
- Designing this algorithm a better way?
- Detect differences between two strings
- Detect when a graph has been broken into two or more connected components
- Detecting consecutive integers in a list
- Detecting duplicates in an array using divide and conquer
- Detecting HTML table orientation based only on table data
- Detecting if a string has unique characters comparing my solution to Cracking the Coding Interview?
- Detecting self crossing in closed Bezier curves
- Detecting Singularities in a Graph
- Determine if 2 lists have the same elements, regardless of order?
- Determine if a binary tree is subtree of another binary tree using pre-order and in-order strings
- determine if a point sits inside an arbitrary shape?
- Determine if more than half of the array repeats in a distinct array
- Determine if the solution can be optimally given using greedy algorithm
- Determine non-convex hull of collection of line segments
- Determine points within a given radius algorithm
- Determine the combinations of making change for a given amount
- Determine the most common occurrence in an array
- Determine whether integer is between two other integers
- Determine whether or not there exist two elements in Set S whose sum is exactly x - correct solution?
- Determine Whether Two Date Ranges Overlap
- Determining Floating Point Square Root
- Determining if an unordered vectorT has all unique elements
- Determining if two rays intersect
- Determining the big-O runtimes of these different loops?
- Determining the complexities given codes
- Determining whether or not a directed or undirected graph is a tree
- Determining which integer is closest to the kth root of n without using floating point arithmetic?
- deterministic and reversible permutation function to store a message
- DFS Algorithm Traversal
- Diagram connector algorithm
- Diamond-Square implementation produces too high values
- Diamond square algorithm
- Dictionary using Red-Black tree - deletion error
- Diff algorithms
- Diff for Directed Acyclic Graphs
- Difference and advantages between dijkstra A star
- Difference between a search engine's relevance rankings and a recommender system
- Difference between a stochastic and a heuristic algorithm
- Difference between atomic broadcast and consensus
- Difference between average case and amortized analysis
- Difference between AVL trees and splay trees
- Difference between back tracking and dynamic programming
- Difference between Big-O and Little-O Notation
- Difference between Big-Theta and Big O notation in simple language
- Difference between binary search and binary search tree?
- Difference between Divide and Conquer Algo and Dynamic Programming
- Difference between hamiltonian path and euler path
- Difference between Jaro-Winkler and Levenshtein distance?
- Difference between logistic regression and softmax regression
- Difference between On and Ologn - which is better and what exactly is Ologn?
- Difference between Prim's and Dijkstra's algorithms?
- Difference between priority queue and a heap
- Difference between stdmerge and stdinplace_merge?
- difference between subquadratic and quadratic algorithm
- Differences between backtracking and brute-force search

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