Implement 3 stacks in 1 list

hard
Implement 3 stacks in 1 list - Coding Problem | K5kC