...

/

Challenge: Is It a BST Array?

Challenge: Is It a BST Array?

Let’s check if an array is also a pre-order traversal of a BST.

Problem

Given an array of integers, find if it represents a pre-order ...