Quick Overview

This question evaluates a candidate's understanding of grid connectivity, identification of connected components, and the ability to aggregate component sizes for frequency queries.

Count islands by requested sizes

Company: Bloomberg

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Quick Answer: This question evaluates a candidate's understanding of grid connectivity, identification of connected components, and the ability to aggregate component sizes for frequency queries.

Loading…