Validate Stack Sequences Two Pointers Stacks Leetcode 946

Validate Stack Sequences Two Pointers Stacks Leetcode 946