LinkedIn Interview Question

Nothing particularly difficult. If you practice with careercup, leetcode, and codility enough, you'll be fine.