Updated For Multiple Array Traversal