Skip to content

Commit c89088f

Browse files
authored
pls grid
1 parent e6faec1 commit c89088f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

problems/2582/katie.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ I took a couple examples and wrote them down in a grid like so:
77
|---|---|---|---|
88
| x | 1 | 2 | 3 |
99
| 6 | 5 | 4 | x |
10+
| x | 7 | 8 | 9 |
1011
| . | . | . | . |
1112

1213
Which made me realize it was a parity problem. If you take `n-1` as your divisor, the quotient will tell you what row it ends up on and the remainder will tell you how many indeces in from the edge you have to go (the direction changes based on the parity of the quotient).

0 commit comments

Comments
 (0)