HTMLify
Day 63
Views: 2 | Author: djdj
1 2 3 4 5 6 7 8 9 10 11 | class Solution { /** * @param Integer[] $nums * @param Integer $val * @return Integer */ function removeElement(&$nums, $val) { $nums = array_diff($nums, [$val]); } } |