Data Structures and Algorithms Challenge

Hosted by NickPickering.com

Deadline: Thurs, Sept 22nd at 11:59 PM EST

Grand Prize: Bragging Rights, featured on my Twitter and Facebook profiles, +5 Luck at your next job interview

Get learned up for your next interview.

Prompt: Write a function that accepts a multi-dimensional array of Boolean values.

Return a multi-dimensional array where each row and column in the input array that contain a true value have had all values changed to true.

Example Input:

F T F F 

F F F T

F F F F 

F F F F

Example Output:

T T T T

T T T T

F T F T

F T F T