From 461155f7efd9b4ee45d88abb5006bd2a93bb4ba8 Mon Sep 17 00:00:00 2001 From: Kris Koishigawa Date: Sat, 2 Mar 2019 13:28:10 +0900 Subject: [PATCH] fix(challenges): Replaced image with svg in Cut a Rectangle --- .../rosetta-code/cut-a-rectangle.md | 51 +++++++++++++++++-- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.md index 99b842bc58..978362613e 100644 --- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.md +++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/cut-a-rectangle.md @@ -8,10 +8,53 @@ challengeType: 5
A given rectangle is made from m × n squares. If m and n are not both odd, then it is possible to cut a path through the rectangle along the square edges such that the rectangle splits into two connected pieces with the same shape (after rotating one of the pieces by 180°). All such paths for 2 × 2 and 4 × 3 rectangles are shown below.
- - Picture of cut rectangles - -
+ +
## Instructions