Skip to content

Conversation

@heeheejj
Copy link
Contributor

@heeheejj heeheejj commented Jan 2, 2024

PRG 49189 가장 먼 노드

  • 프로그래머스 코딩테스트 고득점 kit > 그래프
  • 1287 (+7)

🚩 설계

  • 다익스트라 이용해서 1번 노드로부터 다른 모든 노드까지의 최단거리 구하고,
    INF를 제외한 최대값 찾아서 그 개수를 구한다.

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.

1 participant