Data Structures questions and answers
Arrays, maps, trees, heaps and how to pick between them. Page 15 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 841-900
- Element-wise addition of 2 lists?
- elif in list comprehension conditionals
- Eliminating cyclic flows from a graph
- Empty set literal?
- Emulating Amazon SQS during development
- Ensuring a partially connected digraph is strongly connected
- Enumerating all paths in a directed acyclic graph
- Enumerating all paths in a tree
- Environment variables for list in spring boot configuration
- Eppstein's algorithm and Yen's algorithm for k shortest paths
- equals vs Arrays.equals in Java
- Equivalence classes and union/find in a functional language
- Errata in the original paper on suffix arrays?
- Error AccessControlListNotSupported when trying to create a bucket ACL in AWS
- Error dictionary update sequence element 0 has length 1; 2 is required on Django 1.4
- Error Expected 2D array, got 1D array instead Using OneHotEncoder
- Error in Python script Expected 2D array, got 1D array instead?
- ErrorCannot fit requested classes in a single dex file.Try supplying a main-dex list. methods 72477 65536
- Examples/Illustration of Wait-free And Lock-free Algorithms
- Exception CallbackOnCollectedDelegate when creating tensorflow graph
- execute a function against array items in sequence
- Executing frozen tensorflow graph that uses tensorflow.contrib.resampler using c_api.h
- Expanding tuples into arguments
- Expiry Policy on Off Heap entries not working as expected in Ignite
- Explain how recursion works in an algorithm to determine depth of binary tree?
- Explain Merkle Trees for use in Eventual Consistency
- Explain the use of a bit vector for determining if all characters are unique
- Explain using xor to find two non-duplicate integers in an array
- Explanation of Algorithm for finding articulation points or cut vertices of a graph
- Explanation of Merge Sort for Dummies
- Explicitly select items from a list or tuple
- Export Tensorflow graphs from Python for use in C
- Expression trees for dummies?
- Extract a subset of key-value pairs from dictionary?
- Extract first item of each sublist in Python
- Extracting 2 numbers n times and placing back the addition in On instead of Onlogn
- Extracting specific columns in numpy array
- F List.map equivalent in C?
- Failed building wheel for dm-tree
- Family Tree Algorithm
- Fast algorithm for checking if binary arrays can be rotated to not have an elementwise sum over 1
- Fast algorithm for counting the number of acyclic paths on a directed graph
- Fast algorithm for searching for substrings in a string
- Fast algorithm implementation to sort very small list
- Fast algorithm to calculate delta of two list
- Fast Algorithm to Quickly Find the Range a Number Belongs to in a Set of Ranges?
- Fast approximate algorithm for cardinality of sets intersection
- Fast Data structure for finding strict subsets from a given list
- Fast element lookup for a functional languageHaskell
- Fast hashing of 2-dimensional array
- Fast intersection of HashSetint and Listint
- Fast ordered list matching algorithm in Java
- Faster algorithm to find unique element between two arrays?
- faster string sorting with long common prefix?
- Faster than binary search for ordered list
- Fastest algorithm for circle shift N sized array for M position
- Fastest method of getting k smallest numbers in unsorted list?
- Fastest sort of fixed length 6 int array
- Fastest way of finding the middle value of a triple?
- Fastest way to check if a value exists in a list

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