Frage im Vorstellungsgespräch bei Pocket Gems

Write a function to find a substring Find the K frequency number in an array