Perl Weekly Challenge 242: Flip Matrix
These are some answers to the Week 242, Task 2, of the Perl Weekly Challenge organized by Mohammad S. Anwar.
Spoiler Alert: This weekly challenge deadline is due in a few days from now (on November 12, 2023, at 23:59). This blog post offers some solutions to this challenge. Please don’t read on if you intend to complete the challenge on your own.
Task 2: Flip Matrix
You are given n x n binary matrix.
Write a script to flip the given matrix as below.