-
Notifications
You must be signed in to change notification settings - Fork 0
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
파이썬 알고리즘 인터뷰 #13
Comments
sanhee
added a commit
that referenced
this issue
Jul 28, 2021
#13 교재에 투포인터를 이용해 푸는 방법이 있어서, 따라했는데 테스트케이스가 변경됐나보다.. 여기에 시간좀 썼는데, 정렬없이 해야한다.
sanhee
added a commit
that referenced
this issue
Jul 28, 2021
#13 교재에 투포인터를 이용해 푸는 방법이 있어서, 따라했는데 테스트케이스가 변경됐나보다.. 여기에 시간좀 썼는데, 정렬없이 해야한다.
sanhee
added a commit
that referenced
this issue
Jul 28, 2021
#13 threeSum = base + twoSum 형식 중복때문에 햇갈렸는데, 몇번 쳐보니 이해할 수 있었다.
sanhee
added a commit
that referenced
this issue
Jul 28, 2021
#13 2개 페어로 원소를 그룹핑의 최솟값의 합이 가장 큰 경우의 수를 구하는 문젠대 생각보다 쉬운 문제였다. 1. 오름차순 정렬 2. 짝수번째 자동 min 0 2 4 6 ...
sanhee
added a commit
that referenced
this issue
Jul 28, 2021
#13 전체곱/자신 을 못하는 조건이 있기 때문에 어떻게 풀까 라는 생각을 했던 문제. 교재를 참고하니, 투포인터와 비슷하게 자신을 제외한 왼쪽곱과 오른쪽곱을 구하고 곱하는게 참신했다.
sanhee
added a commit
that referenced
this issue
Jul 28, 2021
#13 한 번의 거래로 최대 이익을 내야함. 최저가격에 사서 최고 가격에 팔면 됨.
sanhee
added a commit
that referenced
this issue
Jul 29, 2021
#13 <오답분석> - for문 안에 넣었다가, 인접 노드 순회가 중간에 끝나서 올바른 결과가 안나왔었음. if (grid[row][col] != '1') { return; }
sanhee
added a commit
that referenced
this issue
Jul 30, 2021
sanhee
added a commit
that referenced
this issue
Jul 31, 2021
sanhee
added a commit
that referenced
this issue
Jul 31, 2021
#13 재귀 익숙해지자.. 그리고 참조타입을 재귀에서 다룰 땐 조심..
sanhee
added a commit
that referenced
this issue
Aug 1, 2021
sanhee
added a commit
that referenced
this issue
Aug 2, 2021
sanhee
added a commit
that referenced
this issue
Aug 3, 2021
sanhee
added a commit
that referenced
this issue
Aug 3, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: