Pergunta de entrevista da empresa 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).

Resposta da entrevista

Sigiloso

17 de jul. de 2019

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

1