Fortinet Interview Question

All were leetcode medium and hard