Skip to content

Instantly share code, notes, and snippets.

@sungkmi
Created April 12, 2024 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sungkmi/75c1c23f765ddc00391fda9ee5a504af to your computer and use it in GitHub Desktop.
Save sungkmi/75c1c23f765ddc00391fda9ee5a504af to your computer and use it in GitHub Desktop.
AlgorithmicProblemSolving

연습문제 3.4

정방향

-1 0 1 2 3 4 5 6 7
1
1 1
1 1 1
1 1 1 1
1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1 1 1

가운데

-1 0 1 2 3 4 5 6 7
2 1 1 1 1
1 1 1 1 1
1 1 1 1
1 1 1 1 1
1 1 1 1 2

역방향

-1 0 1 2 3 4 5 6 7
1 1 1 1 1 1 1
1 1 1 1 1 1
1 1 1 1 1
1 1 1 1
1 1 1
1 1
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment