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

SDE - Intern

Blackrock
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data structures and algo, operating systems , DBMS, system design, computer networks, oops
Tip
Tip

Tip 1 : practice atleast 100-150 question on basic topics . Fundamentals should be strong
Tip 2 : Should have a good grasp on computer subjects taught in your curriculum
Tip 3 : Be calm and dont get stressed on not answering the question, just say no if you dont have the knowledge.

Application process
Where: Campus
Eligibility: Above 8.5 cgpa
Resume Tip
Resume tip

Tip 1 : Java is a preferred language. If you have practised in java, it will be easy for you win their trust.
Tip 2 : Web development projects might be useful.

Interview rounds

01
Round
Hard
Online Coding Interview
Duration90 minutes
Interview date30 Aug 2021
Coding problem0

Slot was provided by the company.
Online environment with camera and mic on.

It was an MCQ round with 60 questions on Operating system , aptitude, DBMS , data structure, advance trees ,oops

02
Round
Medium
Video Call
Duration90 Minutes
Interview date1 Sep 2021
Coding problem2

2 interviewers

1. Rearrange Linked List

Moderate
22m average time
80% success
0/80
Asked in companies
AmazonIntuitOptum

You have been given a singly Linked List in the form of 'L1' -> 'L2' -> 'L3' -> ... 'Ln'. Your task is to rearrange the nodes of this list to make it in the form of 'L1' -> 'Ln' -> 'L2' -> 'Ln-1' and so on. You are not allowed to alter the data of the nodes of the given linked list.

For example:
If the given linked list is 1 -> 2 -> 3 -> 4 -> 5 -> NULL.

Then rearrange it into 1 -> 5 -> 2 -> 4 -> 3 -> NULL. 
Try solving now

2. Count Complete Binary Tree Nodes

Easy
10m average time
90% success
0/40
Asked in companies
FacebookDunzoLinkedIn

Given a complete binary tree, you are supposed to return the number of nodes in the given tree.

In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible.

For example:
For the binary trees in the image below.

alt text

The left tree in the image is not a complete binary tree that’s why it is invalid and the right tree in the image is a valid complete binary tree which contains total 6 nodes.
Try solving now
03
Round
Medium
Face to Face
Duration90 Minutes
Interview date1 Sep 2021
Coding problem2

2 interviewers

1. 3Sum

Moderate
15m average time
85% success
0/80
Asked in companies
IntuitSamsungGrofers

You are given an array/list ARR consisting of N integers. Your task is to find all the distinct triplets present in the array which adds up to a given number K.

An array is said to have a triplet {ARR[i], ARR[j], ARR[k]} with sum = 'K' if there exists three indices i, j and k such that i!=j, j!=k and i!=j and ARR[i] + ARR[j] + ARR[k] = 'K'.

Note:
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Problem approach

Approach 1 using 3 for loops.
Optimising to 2 for loops and finallly to one.

Try solving now

2. Remove Loop

Easy
0/40
Asked in company
Blackrock

Ninja is in the process of constructing a racecourse, which can be represented as a singly linked list. This list contains ‘N’ checkpoints, each represented as a node, and concludes at the final node.


However, Ninja accidentally connected the final checkpoint of the racecourse to the ‘Kth’ checkpoint (indexed from 0), creating an infinite loop for the racecars.


Your task here is to remove all the checkpoints that are in the loop and print the racecourse after the removal of the loop.


Refer example for better understanding.

Example :
 N = 4
 K = 1
 NODE = 1->2->3->4

You can see there is a loop from the ‘1st’ node to the ‘3rd’ node (0 based), so we will remove all nodes from (1 - 3), so the answer is [ 1 ].
Problem approach

Using hare - tortoise method

Try solving now

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - Intern
3 rounds | 4 problems
Interviewed by Blackrock
1056 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 4 problems
Interviewed by Blackrock
1134 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 5 problems
Interviewed by Blackrock
2539 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 3 problems
Interviewed by Blackrock
937 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
3688 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
2650 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
2324 views
0 comments
0 upvotes