Skip to content

How Many Spiders

Get access to track progress Get access to bookmark
Asset Pricingx / 34
Behavioral Questionsx / 7
Brain Teasersx / 79
Derivatives Theoryx / 107
Digital Assets - Cryptox / 82
Energy Tradingx / 55
Linear Algebrax / 24
Machine Learningx / 62
Math Questionsx / 50
Probability and Statisticsx / 369
Programmingx / 54
Totalx / 923
Sorry, you don't have access to this interview question. Sign up to practice with our wide range of interview questions or use the filters to find free examples!
Sign up to see the solution!
Python scratchpad
# Run Python right here in your browser
def two_sum(nums, target):
    seen = {}
    for i, n in enumerate(nums):
        if target - n in seen:
            return [seen[target - n], i]
        seen[n] = i
    return []

print(two_sum([2, 7, 11, 15], 9))  # [0, 1]
Run Python in your browser

Write and execute code — numpy, pandas & scikit-learn included — right on the question page.

Log in to start coding
Title Category Subcategory Difficulty Status
Analog Clock Angle Math QuestionsGeneralEasy
Unlock with a membership
Biking With Wind Math QuestionsGeneralEasy
Unlock with a membership
Birthday Candles Math QuestionsGeneralEasy
Unlock with a membership
Boats on a River Math QuestionsGeneralHard
Unlock with a membership
Chessboard Crossing Math QuestionsGeneralEasy
Unlock with a membership
Choosing Blocks Math QuestionsGeneralEasy
Unlock with a membership
Cold Storage Math QuestionsGeneralEasy
Unlock with a membership
Cookie Sorting Math QuestionsGeneralEasy
Unlock with a membership
Counting Steps Math QuestionsGeneralEasy
Unlock with a membership
Escalator Steps Math QuestionsGeneralMedium
Example
Filling a Bathtub Math QuestionsGeneralEasy
Unlock with a membership
Fly vs Ant Math QuestionsGeneralMedium
Unlock with a membership
Games Played Math QuestionsGeneralEasy
Unlock with a membership
Going to the Beach #1 Math QuestionsGeneralMedium
Unlock with a membership
How Many Dogs Math QuestionsGeneralMedium
Unlock with a membership
How Many Participants Math QuestionsGeneralEasy
Unlock with a membership
How Many Tennis Matches Math QuestionsGeneralEasy
Unlock with a membership
Inflate Rate Math QuestionsGeneralHard
Example
Interview Permutations Math QuestionsGeneralEasy
Unlock with a membership
Jumping Frog Math QuestionsGeneralMedium
Unlock with a membership
Magic 37 Math QuestionsGeneralHard
Unlock with a membership
Maximum Intersections Math QuestionsGeneralMedium
Unlock with a membership
Number of Pigs Math QuestionsGeneralEasy
Example
Odd Numbers Math QuestionsGeneralMedium
Unlock with a membership
Painting Walls Math QuestionsGeneralEasy
Unlock with a membership
Patch of Lily Pads Math QuestionsGeneralEasy
Unlock with a membership
Radius of a Circle Math QuestionsGeneralHard
Unlock with a membership
Rectangles On Chessboard Math QuestionsGeneralEasy
Unlock with a membership
River Length #1 Math QuestionsGeneralMedium
Unlock with a membership
River Length #2 Math QuestionsGeneralMedium
Unlock with a membership
Sequences Math QuestionsGeneralEasy
Unlock with a membership
Set of Distinct Integers Math QuestionsGeneralEasy
Unlock with a membership
Sharing a Glass Math QuestionsGeneralEasy
Unlock with a membership
Sheep Runs Home Math QuestionsGeneralHard
Unlock with a membership
Smaller Cubes Math QuestionsGeneralMedium
Unlock with a membership
Spread Set Math QuestionsGeneralHard
Unlock with a membership
Squares On Chessboard Math QuestionsGeneralMedium
Unlock with a membership
Summing 11 to 20 Math QuestionsGeneralEasy
Unlock with a membership
Tic Tac Toe Math QuestionsGeneralEasy
Unlock with a membership
Triangle on Circle Math QuestionsGeneralMedium
Unlock with a membership
Unfolded Box Math QuestionsGeneralHard
Unlock with a membership
Upstream or Downstream Math QuestionsGeneralMedium
Unlock with a membership

Please log in to see the discussion.