-
-
Notifications
You must be signed in to change notification settings - Fork 195
[sejineer] Week 02 solutions #1209
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DFS 사용하시면서 공간 복잡도는 스택의 높이 만큼 차지해서 O(h), h 는 스택의 높이
라고 생각하는데 의견 여쭙고 싶습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DFS 사용하시면서 공간 복잡도는 스택의 높이 만큼 차지해서
O(h), h 는 스택의 높이
라고 생각하는데 의견 여쭙고 싶습니다!
전 num_list를 기준으로 O(N)으로 생각했는데 그렇게도 생각할 수 있을 것 같습니다 ㅎㅎ 좋은 피드백 감사합니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2주차 문제 풀이 고생하셨습니다!
문제 풀이들이 너무 가독성 좋게 되어있네요.
3주차 문제 풀이도 파이팅입니다!
감사합니다..! 3주차도 화이팅입니다 |
답안 제출 문제
작성자 체크 리스트
In Review
로 설정해주세요.검토자 체크 리스트
Important
본인 답안 제출 뿐만 아니라 다른 분 PR 하나 이상을 반드시 검토를 해주셔야 합니다!