Quelques algorithmes fondamentaux