Data Structures questions and answers
Arrays, maps, trees, heaps and how to pick between them. Page 17 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 961-1020
- Find median value from a growing set
- find median with minimum time in an array
- Find min / max value in Swift Array
- Find minimal Ai2 Bi2 when A and B are sorted
- Find minimum cost to convert array to arithmetic progression
- Find nearest value in numpy array
- Find next higher element in an array for each element
- Find non-common elements in lists
- Find number of bits to be flipped to get maximum 1's in array
- Find number of permutations of a given sequence of integers which yield the same binary search tree
- Find object in list that has attribute equal to some value that meets any condition
- Find only two numbers in array that evenly divide each other
- Find out which combinations of numbers in a set add up to a given total
- find pair of numbers in array that add to given sum
- Find pairs in an array such that ab k , where k is a given integer
- Find rectangles that contain point – Efficient Algorithm
- Find running median from a stream of integers
- Find Second largest number in array at most nlog₂n−2 comparisons
- Find set of numbers in one collection that adds up to a number in another
- Find shortest subarray containing all elements
- Find the 2nd largest element in an array with minimum number of comparisons
- Find the best combination from a given set of multiple sets
- Find the biggest interval that has all its members in list in On
- Find the Element Occurring b times in an an array of size nkb
- Find the element repeated more than n / 2 times
- Find the first element in a sorted array that is greater than the target
- Find the first element strictly less than a key in a vector sorted in descending order
- Find the first un-repeated character in a string
- Find the k non-repeating elements in a list with little additional space
- Find the largest possible difference in an array with the smaller integer occurring earlier
- Find the majority element in array
- find the max difference between j and i indices such that j i and aj ai in On
- Find the maximum number of edges in the graph
- Find the median of the sum of the arrays
- Find the middle of unknown size list
- Find the min/max element of an array in JavaScript
- Find the missing and duplicate elements in an array in linear time and constant space
- Find the most common element in a list
- Find the most common entry in an array
- Find the next greater element in an array
- Find the number of elements greater than x in a given range
- Find the number of nodes of n-element heap of given height
- Find the number of remove-then-append operations needed to sort a given array
- Find the number of repeated subarray in an array
- Find the one non-repeating element in array?
- find the only unpaired element in the array
- Find the paths between two given nodes?
- Find the row representing the smallest integer in row wise sorted matrix
- Find the second smallest number in a list using recursion
- Find the shortest path in a graph which visits certain nodes
- Find the Smallest Integer Not in a List
- Find the smallest number that is greater than a given number in a sorted list
- Find the subarray with the max XOR from an array using a trie
- Find the top k sums of two sorted arrays
- Find the two repeating elements in a given array
- Find the x smallest integers in a list of length n
- Find top N elements in an Array
- Find triplets in better than linear time such that An-1 An An1
- Find two elements in an array that sum to k
- Find unique rows in numpy.array

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