Blackrock interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Blackrock
upvote
share-icon
3 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2
Topics: Data Structures and Algorithms, OOPS, Java Core Concepts, System Design, Problem Solving(Basic problem solving skills), SQL
Tip
Tip

Tip 1 : Practice DSA and solve a question daily.(like from LeetCode or GFG problem of the day) for 2 months. Don't go for very hard problems and keep time in mind to solve those problems.
Tip 2 : Read about design patterns and practice at least 10-12 systems before interview.
Tip 3 : OOPS concept is a must. Build projects around it

Application process
Where: Campus
Eligibility: 8 CGPA
Resume Tip
Resume tip

Tip 1 : Keep it simple, and highlight your achievements
Tip 2 : Mention your projects and e very clear about them, mention the problems you faced and how you solved it.
Tip 3 : Keep it in bullet points.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date4 Sep 2018
Coding problem1

Normal Coding Questions.
10 MCQ
2 Coding

1. Buy and Sell Stock

Hard
0/120
Asked in companies
Samsung R&D InstituteMicrosoftSalesforce

You are Harshad Mehta’s friend. He told you the price of a particular stock for the next ‘n’ days.


You are given an array ‘prices’ which such that ‘prices[i]’ denotes the price of the stock on the ith day.


You don't want to do more than 2 transactions. Find the maximum profit that you can earn from these transactions.


Note

1. Buying a stock and then selling it is called one transaction.

2. You are not allowed to do multiple transactions at the same time. This means you have to sell the stock before buying it again. 
Example:
Input: ‘n’ = 7, ‘prices’ = [3, 3, 5, 0, 3, 1, 4].

Output: 6

Explanation: 
The maximum profit can be earned by:
Transaction 1: Buying the stock on day 4 (price 0) and then selling it on day 5 (price 3). 
Transaction 2: Buying the stock on day 6 (price 1) and then selling it on day 6 (price 4).
Total profit earned will be (3 - 0) + ( 4 - 1) = 6. 
Problem approach

First approach was brute force that took n^2 time complexity.
Then optimized using a stack

Try solving now
02
Round
Easy
Face to Face
Duration60 Minutes
Interview date4 Sep 2019
Coding problem1

Round was a mix of concepts from OOPS, OS and Problem Solving

1. Search In BST

Easy
15m average time
85% success
0/40
Asked in companies
LinkedInAckoErnst & Young (EY)

There is a Binary Search Tree (BST) consisting of ‘N’ nodes. Each node of this BST has some integer data.


You are given the root node of this BST, and an integer ‘X’. Return true if there is a node in BST having data equal to ‘X’, otherwise return false.


A binary search tree (BST) is a binary tree data structure that has the following properties:

1. The left subtree of a node contains only nodes with data less than the node’s data.

2. The right subtree of a node contains only nodes with data greater than the node’s data.

3. The left and right subtrees must also be binary search trees.
Note:
It is guaranteed that all nodes have distinct data.
Problem approach

Easy approach, solved with log(n) complexity

Try solving now
03
Round
Easy
HR Round
Duration20 Minutes
Interview date4 Sep 2019
Coding problem0

It was HR round and mix of basic questions

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
SDE - 1
4 rounds | 5 problems
Interviewed by Blackrock
2171 views
0 comments
0 upvotes
SDE - 1
3 rounds | 3 problems
Interviewed by Blackrock
1555 views
0 comments
0 upvotes
SDE - 1
4 rounds | 9 problems
Interviewed by Blackrock
1268 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Blackrock
1220 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6365 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2197 views
0 comments
0 upvotes