hat
Ekri yon fonksyon pou retounen yon etalaj ki gen tout eleman ki komen nan de ranje bay ki gen antye antye pozitif pozitif. Ou pa ta dwe itilize nenpòt metòd inbuilt. Ou gen dwa sèvi ak nenpòt ki kantite ranje.
eng
Write a function to return an array containing all elements common to two given arrays containing distinct positive integers. You should not use any inbuilt methods. You are allowed to use any number of arrays.