All Companies

BlackRock Interview Questions

104 real interview questions at BlackRock.

Showing 1–30 of 104 questions

1

What is the square root of 1498?

AnalystAnalyst
2

Given a list of objects, use the Stream API to group the objects based on the 'place' attribute. Then, convert this logic to equivalent SQL code.

AnalystAnalyst
3

Explain the assumptions of linear regression.

AnalystAnalyst
4

Write the algorithm for bubble sort.

AnalystAnalyst
5

How would you implement a Set data structure?

AnalystAnalyst
6

Swap two values without using a temporary variable.

AnalystAnalyst
7

Suppose we have three fair dice and we toss them in order. What is the probability that the outcome is strictly increasing? For example, (1, 3, 5) and (3, 5, 6) are allowed, but (4, 3, 5) is not.

AnalystAnalyst
8

You are given two buckets: one holds 3 litres and the other holds 5 litres. How would you measure exactly 4 litres using only these two buckets?

AnalystAnalyst
9

How do you write an infinite loop in a programming language of your choice?

AnalystAnalyst
10

Given a directed acyclic graph (DAG), find the length of the longest path in the graph.

Analyst InternSummer Analyst
11

What is serialization in Java?

Analyst InternSummer Analyst
12

What is the 'finally' block in Java, and when is it used?

Analyst InternSummer Analyst
13

Given a string, find the length of the longest substring that contains only unique characters.

Analyst InternSummer Analyst
14

Describe the differences between a left outer join and a right outer join in database systems.

Analyst InternSummer Analyst
15

Implement a stack using two queues.

Analyst InternSummer Analyst
16

Explain how you would design a Minesweeper game in Java.

Analyst InternSummer Analyst
17

You are performing a regression of Y on X and observe that the variability of the residuals is unequal across the range of X. What can you infer from this?

Analyst InternSummer Analyst
18

If you have three rolls of a die, and after the first and second rolls you can choose either to accept your current roll or roll again, what is the optimal strategy to maximize your final roll, and what is the expected value of your outcome?

Analyst InternSummer Analyst
19

What is the angle between the hour hand and the minute hand at 12:15 on a standard clock?

Analyst InternSummer Analyst
20

Reverse a string in Java.

Analyst InternSummer Analyst
21

Describe Principal Component Analysis (PCA).

Analyst InternSummer Analyst
22

Write an algorithm that sorts a hashmap.

Software EngineerSoftware Developer
23

Given a string, determine if it is a palindrome, ignoring any characters that are not alphabetic.

Software EngineerSoftware Engineer
24

1) Reverse a number: Given an integer input, output its digits in reverse order. For example, input: 9966, output: 6699. 2) Word count in a string: Given a string, return the count of each unique word. For example, input: 'The lovely lady is looking lovely as all lady look lovely' output: The: 1, lovely: 3, lady: 2, is: 1, looking: 1, as: 1, all: 1, look: 1. 3) Swap two numbers without using a temporary variable: Given two numbers, swap their values without using a third variable. For example, input: a = 10, b = 20. Output: a = 20, b = 10.

Software EngineerSoftware Engineer
25

Solve the intersection of two linked lists from scratch, including implementing the linked list data structure. Start with a brute-force approach and optimize it. Also, explain the difference between arrays and linked lists.

Software EngineerSoftware Engineer
26

Given a singly linked list, find and return the value of the middle node.

Software EngineerSoftware Developer
27

1) Find the nth node from the end of a linked list. 2) Find the second largest number in an array.

Software EngineerSoftware Developer
28

Given a binary search tree (BST) and a target value, write an algorithm to determine if the value exists in the BST.

Software EngineerSoftware Developer
29

Write an algorithm that returns the Nth number in the Fibonacci sequence.

Software EngineerSoftware Engineer
30

Write a function that returns the median value from a given list of numbers.

Software EngineerSoftware Engineer

Want the full solutions?

Get detailed walkthroughs for all 104+ BlackRock questions with Quant Blueprint.

Get Started