Juniper Networks Interview Question

Given an array, remove the occurrence of a particular number