employer cover photo
employer logo
employer logo

Flatiron Health

Part of Roche

Is this your company?

Flatiron Health interview question

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).

Interview Answer

Anonymous

17 Jul 2019

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

1