1p3a_oj Experience

Count Objects in Image Using Recursive Pixel Grouping

SWE coding 0

Interview Experience

Given a grid of pixels representing an image where some pixels are part of objects in the image, use the provided functions to count the number of objects in the given image. python class Pixel:

Full Details

🔒

Unlock all Pinterest questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a candidate experience report from a pinterest interview for a swe role during the coding round.

It covers the following topics: Recursion, Matrix .

Difficulty rating: 0