← BlackRock Interview Insights

BlackRock·Software Engineer·Online Assessment (OA)·Junior

JuniorPending
Jun 2026Remote

Summary

Took the BlackRock OA for the Summer 2027 internship and it was a bit of a mess. Two coding problems, one easy and one medium, but the real pain was the explanation portion where the code just didn't show up on screen and I ended up talking at nothing.

Questions Asked (2)

Q1

Solve a LeetCode easy-level coding problem and explain your solution.

Algorithms & Data Structures
Author's notes

I've done this problem so many times it should've been automatic.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Restate the problem in your own words, then walk through a simple example to clarify edge cases. Discuss a brute-force approach first, then optimize using appropriate data structures, and finally code the solution while explaining each step. Test with the example and edge cases, and analyze time and space complexity.

Pro tip: At BlackRock, interviewers value clean, maintainable code and clear communication over cleverness. Write readable code with meaningful variable names and comment on key logic, as if your code will be reviewed by a team.

1. Understand and Clarify

Repeat the problem in your own words and ask clarifying questions about input constraints, edge cases, and expected output. Confirm your understanding with the interviewer before proceeding.

2. Explore Approaches

Start with a brute-force solution and state its time and space complexity. Then propose an optimized approach using appropriate data structures (e.g., hash map, two pointers) and explain why it's better.

3. Code with Explanation

Write clean, modular code while explaining your logic step-by-step. Use meaningful variable names and handle edge cases explicitly.

4. Test and Validate

Walk through your code with the given example and additional edge cases (empty input, single element, duplicates). Verify correctness and fix any issues.

5. Analyze Complexity

State the time and space complexity of your solution and discuss potential trade-offs. Mention if further optimization is possible.

Key Points to Mention

  • Clarify input constraints and edge cases before coding
  • Start with a brute-force approach and then optimize
  • Choose appropriate data structures (e.g., hash map for O(1) lookups)
  • Write clean, readable code with meaningful variable names
  • Test with examples and edge cases
  • Analyze time and space complexity

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q2

Solve a LeetCode medium-level coding problem and explain your solution.

Algorithms & Data Structures
Author's notes

Went better.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by restating the problem in your own words and clarifying assumptions (e.g., input constraints, edge cases). Then outline your approach, including brute force and optimized solution, and discuss time/space complexity before coding. Finally, walk through your code with a test case and explain how you'd handle edge cases.

Pro tip: Verbalize your thought process continuously, even when stuck, and proactively discuss trade-offs between different approaches. This demonstrates problem-solving skills and communication, which are highly valued at BlackRock.

1. Understand and Clarify

Restate the problem in your own words and ask clarifying questions about input size, constraints, and edge cases. Confirm expected output format.

2. Brainstorm Approaches

Discuss a brute-force solution first, then optimize. Explain the reasoning behind choosing a particular data structure or algorithm (e.g., hash map, two pointers, dynamic programming).

3. Analyze Complexity

Clearly state the time and space complexity of your chosen approach and compare it to alternatives. Justify why it's optimal or acceptable.

4. Code and Test

Write clean, modular code with meaningful variable names. After coding, walk through a simple test case and edge cases to verify correctness.

5. Reflect and Optimize

If time permits, discuss potential improvements or alternative solutions. Mention any trade-offs and how you would handle scalability.

Key Points to Mention

  • Clarify problem constraints and edge cases before coding
  • Start with a brute-force solution and then optimize
  • Explain time and space complexity of your solution
  • Use appropriate data structures and algorithms
  • Write clean, readable code with comments
  • Test with examples and edge cases, and discuss potential improvements

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.