Skip to main content
added 113 characters in body
Source Link

15 - 9 = 6

+---------        |       |        |                 +---------+
|                 1       |        |                 |         |
|                 |       |        |   -----------   |         3
+--------+   -----+-----  +--------+                 +---------+
         |        |                |   -----------   |         |
         |        2                |                 |         |
---------+        |                |                 +---------+

15 - 9 = 6

becomesFrom

+  +---------                +---3----+                 +---------+
1  |                         |        |                 |         
|  |                         |        |   -----------   |         
+  +--------+   -----+-----  +--------+                 +---------+
|           |                         |   -----------   |         |
2           |                         |                 |         |
+  ---------+                         |                 +---------+

. +--------- | | | +---------+
. | 1 | | | |
. | | | | ----------- | 3
. +--------+ -----+----- +--------+ +---------+
. | | | ----------- | |
. | 2 | | |
. ---------+ | | +---------+

becomes

. + +--------- +---3----+ +---------+
. 1 | | | |
. | | | | ----------- |
. + +--------+ -----+----- +--------+ +---------+
. | | | ----------- | |
. 2 | | | |
. + ---------+ | +---------+

15 - 9 = 6

+---------        |       |        |                 +---------+
|                 1       |        |                 |         |
|                 |       |        |   -----------   |         3
+--------+   -----+-----  +--------+                 +---------+
         |        |                |   -----------   |         |
         |        2                |                 |         |
---------+        |                |                 +---------+

becomes

+  +---------                +---3----+                 +---------+
1  |                         |        |                 |         
|  |                         |        |   -----------   |         
+  +--------+   -----+-----  +--------+                 +---------+
|           |                         |   -----------   |         |
2           |                         |                 |         |
+  ---------+                         |                 +---------+

15 - 9 = 6

From

. +--------- | | | +---------+
. | 1 | | | |
. | | | | ----------- | 3
. +--------+ -----+----- +--------+ +---------+
. | | | ----------- | |
. | 2 | | |
. ---------+ | | +---------+

becomes

. + +--------- +---3----+ +---------+
. 1 | | | |
. | | | | ----------- |
. + +--------+ -----+----- +--------+ +---------+
. | | | ----------- | |
. 2 | | | |
. + ---------+ | +---------+

Source Link

Another answer:

15 - 9 = 6

+---------        |       |        |                 +---------+
|                 1       |        |                 |         |
|                 |       |        |   -----------   |         3
+--------+   -----+-----  +--------+                 +---------+
         |        |                |   -----------   |         |
         |        2                |                 |         |
---------+        |                |                 +---------+

becomes

+  +---------                +---3----+                 +---------+
1  |                         |        |                 |         
|  |                         |        |   -----------   |         
+  +--------+   -----+-----  +--------+                 +---------+
|           |                         |   -----------   |         |
2           |                         |                 |         |
+  ---------+                         |                 +---------+