PS/SWEA (3) 썸네일형 리스트형 [SWEA #1859] 백만 장자 프로젝트 - JAVA(자바) 문제 링크: https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5LrsUaDxcDFAXc&categoryId=AV5LrsUaDxcDFAXc&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=&pageSize=10&pageIndex=1 SW Expert AcademySW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!swexpertacademy.com풀이:ex) 3일 동안 매매가가 1 2 3arr 배열에는 {0, 1, 1} 이 저장된다. 이때 arr[2]는 2일날 구매하고 3일날 판매했을 때.. [SWEA #2806] N-Queen - JAVA(자바) 문제: https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&problemLevel=4&contestProbId=AV7GKs06AU0DFAXB&categoryId=AV7GKs06AU0DFAXB&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=4&pageSize=10&pageIndex=1 SW Expert AcademySW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!swexpertacademy.com 풀이: 백트래킹 문제이다. 다음에 놓을 퀸 위치에서 세로, /, \ 방향에 다른 퀸이 있는지 확인.. [SWEA] 보급로 - JAVA(자바) 문제: https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&problemLevel=4&contestProbId=AV15QRX6APsCFAYD&categoryId=AV15QRX6APsCFAYD&categoryType=CODE&problemTitle=&orderBy=RECOMMEND_COUNT&selectCodeLang=ALL&select-1=4&pageSize=10&pageIndex=1 SW Expert AcademySW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!swexpertacademy.com 풀이:BFS를 구현할 때 Queue가 아닌 우선순위큐를 사용한다. 우선순위는 각 칸 까지 가는데 .. 이전 1 다음