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

SDE - 2

Blackrock
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, System Design
Tip
Tip

Tip 1 : Practice coding question on data structure
Tip 2 : Learn OOPS concept
Tip 3 : Go through System Design Concept

Application process
Where: Other
Eligibility: No
Resume Tip
Resume tip

Tip 1 : Have some projects on resume as this is for experience role
Tip 2 : Highlight Key skills of your project.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date10 Sep 2021
Coding problem3

1. Count Frequency

Easy
15m average time
85% success
0/40
Asked in companies
AmazonSprinklrHewlett Packard Enterprise

You are given a string 'S' of length 'N', you need to find the frequency of each of the characters from ‘a’ to ‘z’ in the given string.

Example :

Given 'S' : abcdg
Then output will be : 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
Problem approach

I have solved this kind of problem earlier as well. So able to solve it.

Try solving now

2. First Missing Positive

Moderate
18m average time
84% success
0/80
Asked in companies
DunzoHikeSamsung

You are given an array 'ARR' of integers of length N. Your task is to find the first missing positive integer in linear time and constant space. In other words, find the lowest positive integer that does not exist in the array. The array can have negative numbers as well.

For example, the input [3, 4, -1, 1] should give output 2 because it is the smallest positive number that is missing in the input array.

Try solving now

3. All Unique Permutations

Easy
15m average time
85% success
0/40
Asked in companies
AppleFacebookAmerican Express

You are given an array Arr consisting of N integers. Your task is to find all the unique permutations of the given array. For e.g if the array is {1, 1, 2}, the unique permutations of this array are {1, 1, 2}, {1, 2, 1}, {2, 1, 1}. Note that the total number of permutations of {1,1,2} is equal to 6 but out of those {1,1,2} and {1,2,1} occur twice.

Note:
1. There might be duplicates present in the array.
2. The order of the permutations in the output does not matter.
3. Do not use any kind of in-built library functions to find the answer.
Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date18 Sep 2021
Coding problem1

This round starts with introduction. Then later interviewer move to coding questions and java concept.

He asked me about some java concept like hashset internal working, difference between comparator and comparable, what happen if we reduce load factor in hashmap, how can we create our own immutable class, stream api concept, multithreading concept.
Then he move on to Spring concept like difference between @primary and @Qualifier .

1. Find the K-th Smallest Element in Array

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

You are given an array/list ‘ARR’ consisting of ‘N’ non - negative integers and an integer ‘K’. Your task is to return the K-th smallest element of the array.

For example :-

Given an array/list ‘ARR' = [ 3, 2, 4, 5, 6 ] and 'K' = 3. The 3rd smallest element is "4" because the order of numbers is [ 2, 3, 4, 5, 6 ].
Problem approach

I told sorting approach to him. Interviewer asked about time complexity and space complexity. Later, he told me to improve time complexity. I told him we can use counting sort for the same. He asked about limitation of counting sort. Then he aske me if we can solve it without any sorting algo. After some little hit from him, I am able to give four pointer approach and can be solved in single pass. He asked me to code which I did and He seems satisfied with it.

Try solving now
03
Round
Easy
Video Call
Duration90 Minutes
Interview date21 Sep 2021
Coding problem1

Interview start with basic introduction. Then I explain my project and then he asked some questions releated to project. Then he asked about tech stack which I used. He asked why I used AWS service like Lambda, S3 etc. What are other alternatives .Later he asked about some java concept and system design concept like what is load balancer, what is VPC in AWS, database sharding etc. Then he asked me to list down the flow of service which will be used in a normal flow of ecommerce website like amazon.in.

1. System Design Question

Design the flow of service which will be called in an e-commerce user journey.

Problem approach

Tip 1 : List down all the service first.
Tip 2 : Connect them one by one as which service will be called and when.

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 - 1
4 rounds | 5 problems
Interviewed by Blackrock
2105 views
0 comments
0 upvotes
SDE - Intern
3 rounds | 4 problems
Interviewed by Blackrock
1134 views
0 comments
0 upvotes
Analyst
3 rounds | 6 problems
Interviewed by Blackrock
994 views
0 comments
0 upvotes
Analyst - Intern
3 rounds | 3 problems
Interviewed by Blackrock
880 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9585 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by Arcesium
1785 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
1876 views
0 comments
0 upvotes