Skip to content

Commit

Permalink
알고리즘
Browse files Browse the repository at this point in the history
  • Loading branch information
sunyeongchoi committed Jan 7, 2021
1 parent e2837c9 commit f72b6be
Show file tree
Hide file tree
Showing 12 changed files with 1,530 additions and 18 deletions.
Empty file added .idea/.gitignore
Empty file.
6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/sydsyd_challenge.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

79 changes: 79 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions argorithm/calender.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import datetime


def solution(a, b):
weekday = ['MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT', 'SUN']
yoil_index = datetime.datetime(2016, a, b).weekday()
return weekday[yoil_index]


if __name__ == '__main__':
real_answer = solution(5, 24)
print('정답 : ', real_answer)
8 changes: 8 additions & 0 deletions argorithm/quadtree.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def solution(arr):
answer = []
return answer


if __name__ == '__main__':
real_answer = solution([[1, 1, 0, 0], [1, 0, 0, 0], [1, 0, 0, 1], [1, 1, 1, 1]])
print('정답 : ', real_answer)
Loading

0 comments on commit f72b6be

Please sign in to comment.