Skip to content

2회차 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 12, 2023
Merged

2회차 #4

merged 10 commits into from
Feb 12, 2023

Conversation

MuseopKim
Copy link
Member

문제

  • 정렬 관련 백준 8문제

배운점

  • 각 sort에 대해 정리하는 시간을 가졌습니다. merge sort, quick sort 다시 보면서 재귀도 조금 더 익숙해진 것 같습니다. 명확하게 이해하지 못한 부분은 외우고 넘어갔습니다.
  • 이번에는 문제가 대체로 어렵지 않아서 라이브러리가 제공하는 sort(), sorted(), ... 사용하기 보다 손으로 직접 다 치면서 복습한게 도움이 많이 되었던 것 같습니다.

아쉬웠던 점

  • 첫 회차때는 python 문법 공부도 조금 했었는데, 이번에는 그러지 못했던 것 같아요. 익숙한 방법보다 python이 제공하는 편리한 기능들이 있는지 먼저 한번 찾아보는 것도 좋다는 생각이 들었습니다. (ex. swap)

다음 회차 계획

  • 8문제 정도 풀었는데 쫓기지 않고 차근차근 짚어볼 수 있어서 좋았습니다. 개인적으로는 최대 이틀에 1.5문제 정도 + a 로 관련 공부가 적당한 분량인 것 같습니다.
  • 지난 회차 때 놓쳤던 자료구조 공부를 할 수 있었는데(linked list, stack ,queue, deque, ...) 다음 회차에도 문제를 더 풀이하기 보다는 자료구조 공부에 시간을 사용할 것 같습니다. (트리쪽 정리를 한번 하게 될 것 같아요.) 자료구조 한사이클 돌리면 저도 neetcode 풀이를 시작해 볼 예정이에요 :)

@MuseopKim MuseopKim requested a review from 102092 February 9, 2023 23:11
@MuseopKim MuseopKim self-assigned this Feb 9, 2023
Copy link
Contributor

@102092 102092 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!

input = sys.stdin.readline

n = int(input())
counts = [0] * 10_001
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이런식으로 선언할수도 있군요!

## Python
### Sort
- Python 내부에서는 Tim sort를 사용한다고 한다.
- https://d2.naver.com/helloworld/0315536
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@102092 102092 merged commit da0460f into main Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants