Question d’entretien chez Fortinet

Several alogorithm problems, medium difficulty.