See here my code solution on the codewars website or in my repository
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool