Boston Consulting Group interview experience Real time questions & tips from candidates to crack your interview

Software Development

Boston Consulting Group
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I started preparation from my first year of the college itself. Then i started practicing the DSA at the regular basic from the coding Ninjas platform CodeStudio
Application story
This was an on-campus opportunity company that visited to my college for the placement and then took an OA exam after they scheduled the interview.
Why selected/rejected for the role?
I was rejected because i was not able to solve all the coding questions on time .
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming,System Design
Tip
Tip

Tip 1 : Practice at least 250 Questions
Tip 2 : Do at least 2 projects

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

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date18 Jun 2023
Coding problem2

1. Squares of a Sorted Array

Easy
15m average time
85% success
0/40
Asked in companies
Natwest GroupAdobeAmazon

You are given an array/list ‘ARR’ of ‘N’ integers. You have to generate an array/list containing squares of each number in ‘ARR’, sorted in increasing order.

For example :

Input:
‘ARR’ = [-6,-3, 2, 1, 5] 

If we take a square of each element then the array/list will become [36, 9, 4, 1, 25].
Then the sorted array/list will be [1, 4, 9, 25, 36].

Output :
[1, 4, 9, 25, 36].
Try solving now

2. Diagonal Traversal

Moderate
20m average time
80% success
0/80
Asked in companies
MicrosoftSamsungBoston Consulting Group

You have been given a binary tree of integers. You have to return all the diagonal paths of the binary tree. A diagonal path is one in which all the nodes pass through -1 slope line.

A binary tree is a tree in which each parent node has at most two children.

Note:

Order of return of diagonal path’s array/vector: The rightmost diagonal path must come first, and so on.
Every parent node comes first then the child node. In other words, return the diagonal element from top to bottom.

Example

Consider the given binary tree.

subsequence

There are 4 diagonal paths:
1 3 6
2 5 9
4 8
7
You need to return ‘1 3 6 2 5 9 4 8 7’.

Let's consider this example

subsequence

Diagonal paths are:
1 3 6
2 5
4

You need to return ‘1 3 6 2 5 4’.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date18 Jun 2023
Coding problem2

1. Most Frequent Word

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

You are given two strings 'A' and 'B' of words. Your task is to find out the most frequent and lexicographically smallest word in string 'A', which is not present in string 'B'. If no such word is present in 'A', then return -1.

Note:

1. A word is a sequence of one or more lowercase characters.

2. Words are separated by a single whitespace character.
Example:
For the given string 'A' = “coding ninjas coding ninjas” and 'B' = “data structures and algorithms”, so both the word 'coding' and 'ninjas' are not present in string 'B' and occur two times each, but the word “coding” is lexicographically smaller than the word “ninjas”. So the answer is “coding”.
Try solving now

2. Zero Pair Sum

Moderate
20m average time
70% success
0/80
Asked in companies
Urban Company (UrbanClap)DunzoNickelfox Technologies

You are given an array ‘arr’ of ‘N’ integers. Your task is to find the count of pairs with a sum equal to zero.

Specifically, find the count of all pairs ( i , j ) such that i < j and arr[i] + arr[j] = 0

 

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date18 Jun 2023
Coding problem1

1. Basic HR Questions

How was your college journey?
What are your future expectations?
Why should we hire you?

Problem approach

Tip 1 : Be confident
Tip 2 : Have good communication skills
Tip 3 : Ask some questions about the company to show interest.

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
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes