Problem database last updated: June 20, 2025

BBlackRock logo

BlackRock Coding Interview Questions

14 problems · 4 Easy, 9 Medium, 1 Hard · Ranked #117 of 458

Difficulty breakdown

4 Easy

29% · avg 23%

9 Medium

64% · avg 59%

1 Hard

7% · avg 18%

Top topics

array
64.3%
string
42.9%1.5x
dynamic-programming
35.7%1.8x
hash-table
28.6%
sorting
28.6%2x
two-pointers
21.4%1.6x

Interview profile

Based on 14 reported problems, BlackRock interviews are easier than average - only 7% Hard compared to 18% across all companies. The majority (64%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.

Compared to the industry average, BlackRock puts unusual emphasis on shortest-path (14.3% of problems, 28.6x the industry average), union-find (14.3% of problems, 4.8x the industry average), graph (14.3% of problems, 4.8x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (64.3%), string (42.9%), dynamic-programming (35.7%), hash-table (28.6%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 14 problems

Happy Number

Solve

Write an algorithm to determine if a number n is happy.

EasyVery Likely
hash-tablemathtwo-pointers

Valid Parentheses

Solve

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

EasyVery Likely
stringstack

Evaluate Division

Solve

You are given an array of variable pairs equations and an array of real numbers values, where equations[i] = [Ai, Bi] and values[i] represent the equation Ai /...

MediumVery Likely
arraystringdepth-first-search

Find the Maximum Sum of Node Values

Solve

There exists an undirected tree with n nodes numbered 0 to n - 1. You are given a 0-indexed 2D integer array edges of length n - 1, where edges[i] = [ui, vi] in...

HardLikely
arraydynamic-programminggreedy

Pairs of Songs With Total Durations Divisible by 60

Solve

You are given a list of songs where the ith song has a duration of time[i] seconds.

MediumLikely
arrayhash-tablecounting

Best Time to Buy and Sell Stock

Solve

You are given an array prices where prices[i] is the price of a given stock on the ith day.

EasyLikely
arraydynamic-programming

Group Anagrams

Solve

Given an array of strings strs, group the anagrams together. You can return the answer in any order.

MediumLikely
arrayhash-tablestring

Path with Maximum Probability

Solve

You are given an undirected weighted graph of n nodes (0-indexed), represented by an edge list where edges[i] = [a, b] is an undirected edge connecting the node...

MediumSometimes
arraygraphheap-priority-queue

Maximize Greatness of an Array

Solve

You are given a 0-indexed integer array nums. You are allowed to permute nums into a new array perm of your choosing.

MediumSometimes
arraytwo-pointersgreedy

Longest Palindromic Substring

Solve

Given a string s, return the longest palindromic substring in s.

MediumSometimes
two-pointersstringdynamic-programming

Valid Anagram

Solve

Given two strings s and t, return true if t is an anagram of s, and false otherwise.

EasySometimes
hash-tablestringsorting

Coin Change

Solve

You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money.

MediumSometimes
arraydynamic-programmingbreadth-first-search

Generate Parentheses

Solve

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

MediumSometimes
stringdynamic-programmingbacktracking

Number of Islands

Solve

Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.

MediumSometimes
arraydepth-first-searchbreadth-first-search

How often are these problems asked?

Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent BlackRock interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your BlackRock coding interview

BlackRock interviews focus heavily on array, string, dynamic-programming problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.

Beyond solving problems, practice explaining your approach. BlackRock interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.

Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.

Frequently Asked Questions

What coding problems does BlackRock ask in interviews?add

BlackRock has been reported to ask 14 distinct coding problems. The most common topics are array, string, dynamic-programming. 4 are Easy difficulty, 9 are Medium, and 1 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are BlackRock coding interviews?add

Based on 14 reported problems, BlackRock interviews are easier than average - only 7% Hard compared to 18% across all companies. 64% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.

How should I prepare for a BlackRock coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, string, dynamic-programming. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.

Other companies to explore

Ready to ace your BlackRock interview?

Simulate a real BlackRock coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.

Simulate a BlackRock interview with AIarrow_forward