AdobeSoftware Engineer · Phone ScreenCodemia practiceValidate interval list valid BST
Given a list of intervals, determine if they can represent a valid Binary Search Tree (BST) by ensuring that for each interval, the start and end values maintain the BST property. The input will be an array of intervals, where each interval is represented as a pair of integers [start, end]. The output should be a boolean value indicating whether the intervals can form a valid BST.
Medium
Coding & Algorithms