employer cover photo
employer logo
employer logo

Flatiron Health

Parte di Roche

Questa è la tua azienda?

Domanda di colloquio di Flatiron Health

Third party asks some great practical questions involving skeleton code and implementing some feature. For example, implement a function that when given a 2D array of 1's and 0's returns the width, height, and starting points of a rectangle (being represented by 1's).

Risposta di colloquio

Anonimo

17 lug 2019

Loop through the 2D array and find this information. I advise that you create helper functions to keep this solution simple.

1