Dijkstra Algorithm

Algorithm

  • 다익스트라 or 데이크스트라 algorithm
  • In suggested graph, we can use it for calculating the shortest distance from the same start node to other nodes
  • BFS vs Dijkstra
    • BFS : mainly used for calculating the shortest distance in the graph which has no weight
    • Dijkstra : mainly used for calculating the shortest distance in the graph which has specific weight on every edges

Sieve of Eratosthenes

Algorithm

  • 에라토스테네스의 체
  • Given 1, 2, 3, …, N, it can be used for calculating the number of prime numbers

Remainder

Algorithm

  • 나머지
  • If A % B = C & D % B = C → A ≡ D (mod B)

Pagination


© 2017. All rights reserved.

Powered by Hydejack v조현진