Frage im Vorstellungsgespräch bei Yandex

1.) Code a function that finds intersection of two arrays 2.) A function for RLE