-
Notifications
You must be signed in to change notification settings - Fork 4
[2주차] 이지영 #17
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
[2주차] 이지영 #17
Conversation
nb[N-j-1][N/2] = board[N/2][j]; | ||
} | ||
} | ||
public static void turnBox(int sx, int sy) { |
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.
전 회전에서 어려움이 많았는데 깔끔하게 푸셨네요!!
코드리뷰때 해설 기대하겠습니다...!
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.
회전 구현 너무 어려웠는데 저도 기대하겠습니다..🫥
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.
222222,,,,
for(int j=0; j<4; j++) { | ||
for(int k = 0; k<4; k++){ | ||
if(j != k){ | ||
dp[i][j] = Math.max(dp[i][j], dp[i-1][k]+land[i][j]); |
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.
직관적이라서 보기 좋아요!
nb[N-j-1][N/2] = board[N/2][j]; | ||
} | ||
} | ||
public static void turnBox(int sx, int sy) { |
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.
회전 구현 너무 어려웠는데 저도 기대하겠습니다..🫥
📗 월요일
[CT] 예술성
🤔 시간복잡도 고려사항
시뮬레이션 문제, 특이사항 X
💡 풀이 아이디어
: 정사각형이 4개가 생기는데, 각 정사각형의 시작점을 (0,0)으로 옮긴 뒤 회전 처리하고 다시 원래 위치로 복귀
📗 화요일
[BOJ] 1647_도시 분할 계획
🤔 시간복잡도 고려사항
최대 O(M log M) 까지 가능 : 정렬, 다익스트라, 크루스칼 등등 생각해볼 수 있음
💡 풀이 아이디어
[SQL] 특정 물고기를 잡은 총 수 구하기
💡 풀이 아이디어
📗 수요일
[BOJ] 2631_줄세우기
🤔 시간복잡도 고려사항
N<=200, 200 * 200
💡 풀이 아이디어
📗 목요일
[PG] 42584 주식가격
🤔 시간복잡도 고려사항
prices 길이 == N <= 100,000
💡 풀이 아이디어
[PG] 42626 더 맵게
🤔 시간복잡도 고려사항
scoville 길이 <= 1,000,000 이므로 O(NlogN) or O(N) 생각
💡 풀이 아이디어
[SQL] 물고기 종류별 대어 찾기
💡 풀이 아이디어
📗 금요일
[PG] 43163_단어변환
🤔 시간복잡도 고려사항
=> 정점의 개수 (N) == words 길이, 즉 O(N^2)이어도 괜찮음
=> 완전탐색 고려(BFS, DFS 등)
💡 풀이 아이디어
[PG] 12913_땅따먹기
🤔 시간복잡도 고려사항
💡 풀이 아이디어