### Instruction:
Is Dijkstras algorithm a greedy algorithm or dynamic programming algorithm

### Response:
A greedy algorithm.