Implement sliding function similar to default implementation of scala collections
Anonymous
I was able to find a solution but i had used a couple of mutable variables which interviewer said should never ever be used in scala. Then, i checked scala default implementation of sliding method, mutable variables were used indeed.
Check out your Company Bowl for anonymous work chats.