Walmart interview question

Implements Queue using stack Count Inversions in an array